I am looking for a set of pre patching commands to issue on Cluster Nodes.
I roughly have:
+ Import-Module FailOverClusters
+ Test-IsRequired (Get-ClusterNode -Name $ENV.ComputerName).State.ToString() Up
+ Suspend-ClusterNode $ENV:ComputerName
+ Stop-ClusterNode $ENV:ComputerName
i need to add some sort of check before doing the 'Stop-Cluster', otherwise i risk killing the cluster if the 'Quorum Configuration' is saying (GUI) "Node Majority – Warning: Failure of a node will cause the cluster to fail".
any idea of how i get this type of check included? somethign which resulted in a boolean would be good, such as Safe-To-Stop
I Hear, I Forget
I See, I Remember
I Do, I Understand
Ronald McDonald
I roughly have:
+ Import-Module FailOverClusters
+ Test-IsRequired (Get-ClusterNode -Name $ENV.ComputerName).State.ToString() Up
+ Suspend-ClusterNode $ENV:ComputerName
+ Stop-ClusterNode $ENV:ComputerName
i need to add some sort of check before doing the 'Stop-Cluster', otherwise i risk killing the cluster if the 'Quorum Configuration' is saying (GUI) "Node Majority – Warning: Failure of a node will cause the cluster to fail".
any idea of how i get this type of check included? somethign which resulted in a boolean would be good, such as Safe-To-Stop
I Hear, I Forget
I See, I Remember
I Do, I Understand
Ronald McDonald