sql-server – 如何验证Windows集群以前是否已成功验证?
发布时间:2020-12-12 05:54:11 所属栏目:MsSql教程 来源:网络整理
导读:作为自动SQL Server安装过程的一部分,我想以编程方式检查 Windows故障转移群集是否已经过验证. 有一些方法可以以编程方式验证集群,例如Powershell cmdlet Test-Cluster,但是我没有找到一种方法来检查验证状态而不重新运行验证过程,这可能很慢,对于某些人来说
作为自动SQL Server安装过程的一部分,我想以编程方式检查
Windows故障转移群集是否已经过验证.
有一些方法可以以编程方式验证集群,例如Powershell cmdlet Test-Cluster,但是我没有找到一种方法来检查验证状态而不重新运行验证过程,这可能很慢,对于某些人来说测试需要使磁盘脱机. 有没有办法检查验证状态,例如可以通过WMI,注册表或Powershell cmdlet访问的属性? 解决方法如果是我,我想查看群集验证报告.根据 technet,To view the results of the tests after you close the wizard,choose one of the following: * Open the folder systemrootClusterReports (on a clustered server). * In the console tree,right-click the cluster,and then click View Validation Report. This displays the most recent validation report for that cluster. (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |