Sun Cluster 3.0 5/02 补编

如何从磁盘设备组 (VERITAS Volume Manager) 删除一个节点 (5/02)

使用以下过程可从 VERITAS Volume Manager (VxVM) 磁盘设备组(磁盘组)的潜在主节点列表中删除一个群集节点:

  1. 确定要删除该节点的 VxVM 磁盘设备组。

    设备组类型 VxVM 表示是


    # scconf -p | grep Device
    
    VxVM 磁盘设备组。

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

  3. 执行 scsetup 实用程序。


    # scsetup
    

    显示 Main Menu。

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

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

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

    • VxVM 设备组

    • 节点名

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


    # scconf -p | grep Device
    

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

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


[Determine the VxVM disk device group for the node:]
# scconf -p | grep Device
  Device group name:                 dg1
    Device group type:               VxVM
    Device group failback enabled:   no
    Device group node list:          phys-schost-1, phys-schost-2
    Device group diskset name:    	dg1
[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-1
 
    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-2
    Device group diskset name:    	dg1