使用此程序,將叢集節點從 VERITAS Volume Manager (VxVM) 裝置群組 (磁碟群組) 的潛在主要節點清單移除。
此程序提供長形式的 Sun Cluster 指令。大多數指令還有簡短的形式。除了指令名稱有長形式和短形式之分外,指令本身是相同的。如需指令及其短形式的清單,請參閱附錄 ASun 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 |
此範例顯示從 dg1 VxVM 裝置群組移除名為 phys-schost-1 的節點的程序。
[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 |