次の手順で、VERITAS Volume Manager (VxVM) を実行中の既存のディスクデバイスグループ (ディスクセット) からクラスタノードを削除します。
削除するノードがメンバーになっているディスクデバイスグループを確認します。
# scstat -D |
現在のクラスタメンバーノードでスーパーユーザーになります。
scsetup ユーティリティを実行します。
# scsetup |
「Main Menu」が表示されます。
3 (Device groups and volumes) を入力し、ディスクデバイスグループを再構成します。
5 (Remove a node from a VxVM device group) を入力し、VxVM ディスクデバイスグループからノードを削除します。
プロンプトに従って、ディスクデバイスグループからクラスタノードを削除します。次の情報を入力するよう求められます。
VxVM デバイスグループ
ノード名
VxVM ディスクデバイスグループからノードが削除されたことを確認します。
# scstat -D ... Device group name: devicegroupname Device group type: VxVM Device group failback enabled: no Device group node list: nodename Diskgroup name: diskgroupname ... |
次に、phys-schost-4 という名前のノードを VxVM ディスクデバイスグループ dg1 から削除する例を示します。
[ノードのディスクデバイスグループを確認する] # scstat -D -- Device Group Servers -- Device Group Primary Secondary ------------ ------- --------- Device group servers: dg-schost-1 phys-schost-1 phys-schost-2 [スーパーユーザーになって scsetup ユーティリティを実行する] # scsetup [オプション 3 を選択する] *** Main Menu *** Please select from one of the following options: ... 3) Device groups and volumes ... Option: 3 [オプション 5 を選択する] *** Device Groups Menu *** Please select from one of the following options: ... 5) Remove a node from a VxVM device group ... Option: 5 [プロンプトが表示されたら質問に答える] >>> Remove a Node from a VxVM Device Group <<< ... Is it okay to continue (yes/no) [yes]? yes ... Name of the VxVM device group from which you want to remove a node? dg1 Name of the node to remove from this group? phys-schost-4 Is it okay to proceed with the update (yes/no) [yes]? yes scconf -r -D name=dg1,nodelist=phys-schost-4 Command completed successfully. Hit ENTER to continue: |
[scsetup の「Device Groups Menu」と「Main Menu」を終了する] ... Option: q [ノードが削除されたことを確認する] # scstat -D ... Device group name: dg1 Device group type: VxVM Device group failback enabled: no Device group node list: phys-schost-3 Diskgroup name: dg1 ... |