使用以下过程可从 VERITAS 卷管理器 (VxVM) 设备组(磁盘组)的潜在主节点列表中删除某个群集节点。
此过程提供了 Sun Cluster 命令的长格式。此外,大多数命令还有简短格式。这些命令除了名称长短的不同以外,其功能都是相同的。有关命令及其简短格式的列表,请参见附录 A,Sun Cluster 面向对象的命令。
检验节点是否仍是组的成员并该组是 VxVM 设备组。
设备组类型 VxVM 代表 VxVM 设备组。
phys-schost-1% cldevicegroup show devicegroup |
在当前群集成员节点上,成为超级用户或使用一个可提供 solaris.cluster.read 和 solaris.cluster.modify RBAC 授权的角色。
启动 clsetup 实用程序。
# clsetup |
显示“Main Menu”。
要重新配置设备组,请键入与设备组和卷的选项相对应的编号。
要从 VxVM 设备组中删除节点,请键入与从 VxVM 设备组删除节点的选项相对应的编号。
根据提示从设备组中删除群集节点。系统将提示您输入有关以下内容的信息:
VxVM 设备组
节点名称
检验节点是否已从 VxVM 设备组中删除。
# cldevicegroup show devicegroup |
本示例显示了如何将名为 phys-schost-1 的节点从 dg1 VxVM 设备组中删除。
[Determine the VxVM device group for the node:] # cldevicegroup show dg1 === Device Groups === Device Group Name: dg1 Type: VXVM failback: no Node List: phys-schost-1, phys-schost-2 preferenced: no numsecondaries: 1 diskgroup names: dg1 [Become superuser and start the clsetup utility:] # clsetup Select Device groups and volumes>Remove a node from a VxVM device group. Answer the questions when prompted. You will need the following information. Name: Example: VxVM device group name dg1 node names phys-schost-1 [Verify that the cldevicegroup command executed properly:] cldevicegroup remove-node -n phys-schost-1 dg1 Command completed successfully. Dismiss the clsetup Device Groups Menu and Main Menu. [Verify that the node was removed:] # cldevicegroup show dg1 === Device Groups === Device Group Name: dg1 Type: VXVM failback: no Node List: phys-schost-2 preferenced: no numsecondaries: 1 device names: dg1 |