Sun Cluster 3.0 U1 系统管理指南

3.3.15 如何从磁盘设备组(VERITAS 卷管理器)中删除节点

遵照此过程从运行 VERITAS 卷管理器 (VxVM) 的现有群集磁盘设备组(磁盘组)中删除群集节点。

  1. 确定要删除的节点是其成员的磁盘设备组。


    # scstat -D
    

  2. 成为当前群集成员节点的超级用户。

  3. 执行 scsetup 实用程序。


    # scsetup
    

    这时将显示主菜单。

  4. 要重新配置磁盘设备组,请键入 4(设备组和卷)。

  5. 要从 VxVM 磁盘设备组中删除该节点,请键入 5(从 VxVM 设备组删除节点)。

    根据提示从磁盘设备组中删除群集节点。系统将提示您输入有关以下内容的信息:

    VxVM 设备组

    节点名

  6. 检验是否已从 VxVM 磁盘设备组中删除该节点:


    # scconf -p | grep Device
    

3.3.15.1 示例 - 从磁盘设备组 (VxVM) 中删除节点

此示例说明了从 dg1 VxVM 磁盘设备组中删除名为 phys-schost-4 的节点的过程。


[Determine the disk device group for the node:]
# scstat -D
  -- Device Group Servers --
                       Device Group  Primary        Secondary
                       ------------  -------        ---------
  Device group servers: dg-schost-1  phys-schost-1  phys-schost-2
[Become superuser and execute the scsetup utility:]
# scsetup
 Select Device groups and volumes>Remove a node from a VxVM device group.
Answer the questions when prompted. 
You will need the following information.
  You Will Need:            Example:
  VxVM device group name    dg1
  node names                phys-schost-1
[Verify that the scconf command executed properly:]
 
scconf -r -D name=dg1,nodelist=phys-schost-4
 
    Command completed successfully.
Quit the scsetup Device Groups Menu and Main Menu.
[Verify that the node was removed:]
# scconf -p | grep Device
  Device group name:                 dg1
    Device group type:               VxVM
    Device group failback enabled:   no
    Device group node list:          phys-schost-3
    Device group diskset name:    	dg1