Sun Cluster 2.2 のシステム管理

クラスタに論理ホストを追加するには

論理ホストを追加する作業の一部として、次の情報を指定する必要があります。

作業を開始する前に、これらの事項について確認、決定を行なってください。新しい論理ホストが使用するディスクグループは、あらかじめ設定しておく必要があります。詳細は、『Sun Cluster 2.2 ソフトウェアのインストール』のボリュームマネージャについて説明している付録を参照してください。

クラスタに論理ホストを追加するには、次の作業を行います。

  1. scinstall(1M) コマンドを実行し、「Main Menu」から「Change」を選択します。

    # scinstall
    Assuming a default cluster name of planets
     Note: Cluster planets is currently running.
           Install/Uninstall actions are disabled during
           cluster operation.
    
             <<Press return to continue>>
    
             Checking on installed package state
     ........................
    
     ============ Main Menu =================
    
     1) Change  - Modify cluster or data service configuration.
     2) Verify  - Verify installed package sets.
     3) List    - List installed package sets.
    
     4) Quit    - Quit this program.
     5) Help    - The help screen for this menu.
    
     Please choose one of the menu items: [5]:  1
    
  2. 「Change」メニューから「Logical Hosts」を選択します。

    =========== Changes Menu ================
    
     Choices from this menu:
    
     1) Logical Hosts       - Change the logical hosts configuration.
     2) NAFO                - Re-initialize the NAFO configuration.
    
     3) Close  - Close this menu to return to the Main Menu.
     4) Quit   - Exit this program.
     5) Help   - Show the Help screen.
    
     Please choose a displayed option: [5] 1
    

    「Logical Hosts Configuration」メニューが表示されます。

  3. 「Logical Hosts Configuration」メニューから、「Add」を選択します。

    ====== Logical Hosts Configuration ======
    
     1) Add     - Add a logical host to the cluster.
     2) Remove  - Remove a logical host from the cluster.
     3) List    - List the logical hosts in the cluster.
    
     4) Close   - Return to the previous menu.
     5) Quit    - Exit.
    
    
     Please choose an option:  1
    

    新しい論理ホストについて、多数の質問が表示されます。

    What is the primary public network controller for "phys-hahost1"?
     What is the primary public network controller for "phys-hahost2"?
     Does the cluster serve any secondary public subnets (yes/no) [no]?
     Re-initialize NAFO on "phys-hahost1" with one ctlr per group
     (yes/no)?
     What is the name of the new logical host?  hahost1
    What is the name of the default master for "hahost1"? phys-hahost1
    Enable automatic failback for "hahost1" (yes/no) [no]?
     Disk group name for logical host "hahost1" [hahost1]?
     Is it okay to add logical host "hahost1" now (yes/no) [yes]?
     /etc/opt/SUNWcluster/conf/ha.cdb
     Checking node status...
  4. 質問ごとに、必要な情報を応答します。

    この作業の scinstall(1M) の部分が終わると、「Logical Hosts Configuration」メニューに戻ります。

  5. 新しい HA 管理ファイルシステムを作成し、/etc/opt/SUNWcluster/conf/hanfs/vfstab.logicalhost ファイルを更新します。

    新しい論理ホストを追加する場合、管理情報を格納するために論理ホスト内のディスクグループにファイルシステムを設定する必要があります。HA 管理ファイルシステムの設定手順は、使用しているボリュームマネージャによって異なります。これらの手順については、『Sun Cluster 2.2 ソフトウェアのインストール』の付録で説明しています。


    注 -

    論理ホストにはホスト名の別名を使用しないでください。論理ホスト名の別名を使用する Sun Cluster ファイルシステムをマウントする NFSTM クライアントで、statd のロック回復問題が発生する可能性があります。