以下示例显示的是从磁盘设备组配置中删除主机名 phys-schost-2 的过程。 这样做就排除了 phys-schost-2 作为指定磁盘设备组的主节点的可能性。 检验该节点确实已删除,方法是通过运行 scstat -D 命令并检查所删除的节点不再显示在屏幕文本中。
[Determine the disk device group(s) 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.]
[Remove the hostname from all disk device groups:]
# metaset -s dg-schost-1 -d -f -h phys-schost-2
[Verify removal of the node:]
# scstat -D
-- Device Group Servers --
Device Group Primary Secondary
------------ ------- ---------
Device group servers: dg-schost-1 phys-schost-1 -
|