在Microsoft故障转移群集配置反关联性

这里有一个在Microsoft故障转移群集中配置反关联性来影响故障转移行为并禁止群集组(如虚拟机)被送达同一主机的脚本。
句法如下:
Configure-AntiAffinity.ps1 [-Cluster] [-Groups] [-Class] [[-Overwrite]] []

Configure-AntiAffinity.ps1 [-Cluster] [-Groups] [[-Clear]] []
请在我的一篇文章《在故障转移群集中配置反关联性》中了解更多关于这个脚本和它的使用。

例子:
在vluster CLU1上使用类名EX为指定的虚拟机配置反关联性:
.\Configure-AntiAffinity.ps1 -Cluster clu1 -Groups ex1,ex2 -Class EX -Verbose
在vluster CLU1上使用类名PRODEX为指定的虚拟机配置反关联性,重写任一已存在的反相关性类名:
.\Configure-AntiAffinity.ps1 -Cluster clu1 -Groups ex1,ex2,ex3 -Class PRODEX -Overwrite -Verbose
在vluster CLU1上为指定的虚拟机清除反相关性设置:
.\Configure-AntiAffinity.ps1 -Cluster clu1 -Groups dc1,dc2,ex1,ex2,ex3 -Clear -Verbose

历史记录:
1.0首次发布

已在以下平台上进行验证
Windows Server 2012 能
Windows Server 2008 R2 能
Windows Server 2008 能
Windows Server 2003 不能
Windows 8 不能
Windows 7 不能
Windows Vista 不能
Windows XP 不能
Windows 2000 不能
作者已在这些平台上对此脚本进行测试。它可能也适用于其他平台。如果您试用后发现脚本适用于其他平台,请在脚本讨论中添加注释以告诉其他用户。

下载地址:

Latest posts by Exchange中文站 (see all)
发布于: 浏览:2126 次

还没有评论

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据