加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

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

发布时间:2020-12-13 23:33:41 所属栏目:Windows 来源:网络整理
导读:你先做哪个以避免服务中断?或者没关系? 是吗: Suspend-ClusterNode -DrainGet-ClusterNode $env:COMPUTERNAME | Get-ClusterGroup | Move-ClusterGroup 要么: Get-ClusterNode $env:COMPUTERNAME | Get-ClusterGroup | Move-ClusterGroupSuspend-Cluster
你先做哪个以避免服务中断?或者没关系?

是吗:

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.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读