您还可以使用 Sun Cluster Manager GUI 来完成此过程。有关更多信息,请参见 Sun Cluster Manager 联机帮助。
删除法定设备后,该法定设备将不再参与建立定额的投票。请注意,所有由两个节点组成的群集均要求至少配置一个法定设备。如果这是群集的最后一个法定设备,clquorum(1CL) 将无法从配置中删除该设备。
如果要删除的设备是群集中的最后一个法定设备,请参见如何从群集中删除最后一个法定设备过程。
此过程提供了 Sun Cluster 命令的长格式。此外,大多数命令还有简短格式。这些命令除了名称长短的不同以外,其功能都是相同的。有关命令及其简短格式的列表,请参见附录 A,Sun Cluster 面向对象的命令。
在群集的任意节点上,成为超级用户或使用一个可提供 solaris.cluster.modify RBAC 授权的角色。
确定要删除的法定设备。
# clquorum list -v |
运行 clsetup(1CL) 实用程序。
# clsetup |
显示“Main Menu”。
键入与“法定”选项对应的编号。
键入删除法定设备选项的相应编号。
回答删除过程中显示的问题。
退出 clsetup。
检验是否已删除法定设备。
# clquorum list -v |
本示例显示了如何从配置有两个或更多法定设备的群集中删除一个法定设备。
Become superuser or assume a role that provides solaris.cluster.modify RBAC authorization on any cluster node. [Determine the quorum device to be removed:] # clquorum list -v [Start the clsetup utility:] # clsetup [Select Quorum>Remove a quorum device] [Answer the questions when prompted.] [Quit the clsetup Quorum Menu and Main Menu.] [Verify that the quorum device is removed:] # clquorum list -v Quorums Type ------- ---- scphyshost-1 node scphyshost-2 node scphyshost-3 node |
如果您在删除法定服务器法定设备时,群集与法定服务器主机之间的通信中断,则必须清除法定服务器主机上过时的配置信息。有关执行此清除操作的说明,请参见《Sun Cluster Quorum Server User’s Guide》。