Sun Cluster 3.0 のシステム管理

例 - ディスクデバイスグループからのノードの削除 (VxVM)

次に、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
  ...