powershell – 您是否在Move-ClusterGroup之前或之后暂停ClusterNode?

前端之家收集整理的这篇文章主要介绍了powershell – 您是否在Move-ClusterGroup之前或之后暂停ClusterNode?前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。
你先做哪个以避免服务中断?或者没关系?

是吗:

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

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.

猜你在找的Windows相关文章