Sun Cluster 3.0 系统管理指南

4.1.3 如何从群集中移除最后一个定额设备

如果打算移除的设备不是群集中的最后一个定额设备,请使用前面的 过程,即 "4.1.2 如何移除定额设备"


注意:

所有由两个节点组成的群集均至少需要一个配置的定额设备。如果要移除的设备是由两个 节点组成的群集中的最后一个定额设备,则必须将群集置入安装模式,然 后 scconf(1M) 才允许您从配置中移除此设备。只有在从群集中移除一个节点时,才应当这样做。


  1. 成为群集中一个节点上的超级用户,并使要移除的节点进入维护模式。

    请参见"4.1.6 如何使群集节点进入维护状态"

  2. 使群集进入安装模式。


    # scconf -c -q installmode
    
  3. 使用 scconf 命令移除定额设备。


    # scconf -r -q globaldev=device
    
  4. 检验是否已移除定额设备。


    # scstat -q
    

4.1.3.1 示例-移除最后一个定额设备

此示例展示如何移除群集配置中所剩的最后一个定额设备。


[Become superuser on any node.]
[Place the cluster in install mode:]
# scconf -c -q installmode
[Remove the quorum device:]
# scconf -r -q globaldev=d3
[Verify the quorum device has been removed:]
# scstat -q
 
-- Quorum Summary --
 
  Quorum votes possible:      2
  Quorum votes needed:        2
  Quorum votes present:       2
 
-- Quorum Votes by Node --
 
                    Node Name           Present Possible Status
                    ---------           ------- -------- ------
  Node votes:       phys-schost-1       1        1       Online
  Node votes:       phys-schost-2       1        1       Online
 
-- Quorum Votes by Device --
 
                    Device Name         Present Possible Status  Owner
                    -----------         ------- -------- ------  -----