Sun Cluster のシステム管理 (Solaris OS 版)

ProcedureSPARC: デバイスグループからノードを削除する (Veritas Volume Manager)

Veritas Volume Manager (VxVM) デバイスグループ (ディスクグループ) の潜在的な主ノードリストからクラスタノードを削除する場合は、この手順を使用します。

phys-schost# プロンプトは、グローバルクラスタのプロンプトを表します。この手順は、グローバルクラスタ上で実行します。

この手順では、長形式の Sun Cluster コマンドを使用して説明します。多くのコマンドには短縮形もあります。コマンド名の形式の長短を除き、コマンドは同一です。コマンドのリストとその短縮形については、付録 B Sun Cluster オブジェクト指向コマンドを参照してください。

  1. ノードがまだグループのメンバーであり、かつ、そのグループが VxVM デバイスグループであることを確認します。

    デバイスグループタイプ VxVM は VxVM デバイスグループを示します。


    phys-schost-1% cldevicegroup show devicegroup
    
  2. 現在のクラスタメンバーノードで、スーパーユーザーになるか、RBAC の承認 solaris.cluster.read および solaris.cluster.modify を提供する役割になります。

  3. clsetup ユーティリティーを起動します。


    # clsetup
    

    メインメニューが表示されます。

  4. デバイスグループを再構成する場合は、デバイスグループおよびボリュームのオプションに対応する数を入力します。

  5. VxVM デバイスグループからノードを削除する場合は、VxVM デバイスグループからノードを削除するためのオプションに対応する数を入力します。

    プロンプトに従って、デバイスグループからクラスタノードを削除します。次の情報を入力するよう求められます。

    • VxVM のデバイスグループ

    • ノード名

  6. ノードが VxVM デバイスグループ (複数可) から削除されていることを確認します。


    # cldevicegroup show devicegroup
    

例 5–28 SPARC: デバイスグループからノードを削除する (VxVM)

この例では、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