請使用這個程序從執行 VERITAS 容體管理者(VxVM)之現有磁碟裝置群組(磁碟群組)移除叢集節點。
判斷其要移除之節點是其成員的磁碟裝置群組。
# scstat -D |
成為現行叢集成員節點的超級使用者(superuser)。
執行 scsetup 公用程式。
# scsetup |
出現「主功能表」。
輸入 3(裝置群組與容體)來重新配置磁碟裝置群組。
輸入 5(從 VxVM 裝置群組移除節點)來從 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 ... |
這個範例顯示從 dg1 VxVM 磁碟裝置群組移除名為 phys-schost-4 的節點。
[Determine the disk device group 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 and execute the scsetup utility:]
# scsetup
[Select option 3:]
*** Main Menu ***
Please select from one of the following options:
...
3) Device groups and volumes
...
Option: 3
[Select option 5:]
*** Device Groups Menu ***
Please select from one of the following options:
...
5) Remove a node from a VxVM device group
...
Option: 5
[Answer the questions to remove the node:]
>>> 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:
|
[Quit the scsetup Device Groups Menu and Main Menu:]
...
Option: q
[Verify that the node was removed:]
# 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
...
|