Sun Cluster 3.0 U1 系统管理指南

4.1.2 如何删除定额设备

您还可以使用 SunPlex Manager GUI 来完成此过程。有关详细信息,请参阅 SunPlex Manager 的联机帮助。

删除定额磁盘后,该定额磁盘将不再参与选票来建立定额。请注意,所有由两个节点组成的群集均要求至少配置一个定额设备。如果要删除的是群集中的最后一个定额设备,则 scconf(1M) 将无法从配置中删除该设备。


注意:

如果要删除的是群集中的最后一个定额设备,请参阅过程"4.1.3 如何从群集中删除最后一个定额设备"


  1. 成为群集中任一节点的超级用户。

  2. 确定要删除的定额设备。


    # scconf -pv | grep Quorum
    

  3. 执行 scsetup(1M) 实用程序。


    # scsetup
    

    这时将显示主菜单。

  4. 要使用定额设备,请键入 1(定额)。

  5. 要删除定额设备,请键入 2(删除定额磁盘)。

    回答删除过程中显示的问题。

  6. 退出 scsetup

  7. 检验是否已删除定额设备。


    # scstat -q
    

4.1.2.1 示例 - 删除定额设备

此示例说明了如何从配置了两个或更多定额设备的群集中删除定额设备。


Become superuser on any node and place the node to be removed in maintenance state.
[Determine the quorum device to be removed:]
# scconf -pv | grep Quorum
[Execute the scsetup utility:]
# scsetup
Select Quorum>Remove a quorum disk.
Answer the questions when prompted.
[Verify that the scconf command completed successfully:]
 
scconf -r -q globaldev=d4
 
    Command completed successfully.
Quit the scsetup Quorum Menu and Main Menu.
[Verify the quorum device is removed:]
# scstat -q
 
-- Quorum Summary --
 
  Quorum votes possible:      3
  Quorum votes needed:        2
  Quorum votes present:       3
 
-- 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
                 -----------         ------- -------- ------
  Device votes:  /dev/did/rdsk/d3s2  1        1       Online