你先做哪个以避免服务中断?或者没关系?
是吗:
Suspend-ClusterNode -Drain Get-ClusterNode $env:COMPUTERNAME | Get-ClusterGroup | Move-ClusterGroup
要么:
Get-ClusterNode $env:COMPUTERNAME | Get-ClusterGroup | Move-ClusterGroup Suspend-ClusterNode -Drain
Move-ClusterGroup的microsoft doc说:
“Moving a resource group is a way of simulating failover. It is also
an appropriate step to take in preparation for routine maintenance on
a node.”
这让我觉得你在暂停之前就动了.那么首先发布哪个cmdlet?
根据微软的推荐顺序是移动然后暂停
https://technet.microsoft.com/en-us/library/ee461051.aspx
https://technet.microsoft.com/en-us/library/ee461051.aspx
Pausing (suspending) a node is usually done when applying software updates to the node,where the recommended sequence is to move all services and applications off of the node,pause the node,then apply software updates to the node. If you need to perform extensive diagnosis or maintenance on a cluster node,it might be more workable to stop (not pause) the Cluster service on that node.