Sun Cluster 3.0 12/01 ソフトウェアのインストール

Sun Cluster ソフトウェアを追加のクラスタノードにインストールする (scinstall)

最初のインストールノードに Sun Cluster ソフトウェアをインストールして、クラスタを確立した後は、クラスタにインストールする追加のノードごとに次の作業を行います。また、既存のクラスタに新しいノードを追加するためにも利用できます。


注 -

scinstall(1M) カスタム JumpStart または SunPlex Manager でソフトウェアをインストールした場合は、Sun Cluster ソフトウェアは既にインストールされています。「ネームサービススイッチを構成する」に進みます。


  1. 最初のインストールノードに Sun Cluster ソフトウェアが正常にインストールされており、クラスタが確立されていることを確認します。

    クラスタを確立するためのインストール手順については、「最初のクラスタノードに Sun Cluster ソフトウェアをインストールする (scinstall)」を参照してください。

  2. 完全にインストールされている既存のクラスタに新しいノードを追加する場合は、次の作業を実行していることを確認します。

    1. クラスタが新しいノードを受け入れるための準備

      Sun Cluster 3.0 12/01 のシステム管理』の手順「クラスタノードを認証ノードリストに追加する」にある指示に従います。

    2. 新しいノードへの Solaris ソフトウェアのインストール

      「Solaris ソフトウェアをインストールする」の指示に従います。 この作業は、Solaris オペレーティング環境がすでに新しいノードにインストールされていても必ず行う必要があります。

  3. 『Sun Cluster 3.0 ご使用にあたって』の以下の構成計画ワークシートに必要事項を記入したものを用意します。

    • 「クラスタとノード名のワークシート」

    • 「クラスタインターコネクトのワークシート」

    計画のガイドラインについては、「Sun Cluster 環境の計画」を参照してください。

  4. インストールするクラスタノードでスーパーユーザーになります。

  5. CD-ROM からインストールする場合は、インストールと構成を行うノードの CD-ROM ドライブに Sun Cluster 3.0 12/01 CD-ROM を挿入します。

    ボリューム管理デーモン vold(1M) が実行されており、CD-ROM デバイスを管理するように構成されている場合は、CD-ROM は自動的に /cdrom/suncluster_3_0_u2 ディレクトリにマウントされます。

  6. インターコネクトトランスポート用に RSMAPI または SCI-PCI アダプタを使用するかどうかを決定します。

    • 使用しない場合は、手順 7 に進みます。

    • 使用する場合は、Sun Cluster 3.0 12/01 CD-ROM の Packages ディレクトリから追加のパッケージをインストールします。これらのパッケージは、scinstall(1M) によっては自動的にインストールされません。


      # cd /cdrom/suncluster_3_0_u2/SunCluster_3.0/Packages
      # pkgadd -d . packages
      

      次の表に、RSMAPI または SCI-PCI アダプタをサポートするために必要な Sun Cluster 3.0 パッケージと、インストールする順番を示します。

      表 2-3 RSMAPI と SCI-PCI アダプタをサポートするための Sun Cluster 3.0 パッケージ

      機能 

      インストールする追加の Sun Cluster 3.0 パッケージ  

      RSMAPI 

      SUNWscrif

      SCI-PCI アダプタ 

      SUNWsci SUNWscid SUNWscidx

  7. /cdrom/suncluster_3_0_u2/SunCluster_3.0/Tools ディレクトリに移動します。


    # cd /cdrom/suncluster_3_0_u2/SunCluster_3.0/Tools
    

  8. scinstall ユーティリティーを起動します。


    # ./scinstall
    

    この手順は、最初のインストールノード上でソフトウェアのインストールがまだ進行している間でも開始できます。2 つめのノードは、必要に応じて最初のノードのインストールが完了するのを待ちます。


    注意 - 注意 -

    他のノードをインストールしている間は、(別のノードをスポンサーノードとして使用している場合でも) 最初のインストールノードの再起動や停止を行わないでください。クラスタノードに定足数投票 (quorum vote) が割り当てられてクラスタインストールモードが無効になるまでは、クラスタを設定した最初のインストールノードにしか定足数投票はありません。このため、最初のインストールノードの再起動や停止を行うと、定足数が失われてシステムパニックが発生します。


  9. 「Main Menu」で、2 (Add this machine as a node) と入力します。

    「Establishing a New Cluster」画面の情報を確認し、yes と入力して次の画面に進みます。


     *** Main Menu ***
     
        Please select from one of the following (*) options:
     
          * 1) Establish a new cluster using this machine as the first node
          * 2) Add this machine as a node in an established cluster
            3) Configure a cluster to be JumpStarted from this install server
            4) Add support for new data services to this cluster node
            5) Print release information for this cluster node
     
          * ?) Help with menu options
          * q) Quit
     
        Option:2
     
      *** Adding a Node to an Established Cluster ***
    ...
        Do you want to continue (yes/no) [yes]? yes
    

  10. Sun Cluster ソフトウェアパッケージのインストールを継続するかどうかたずねられるので、yes と入力します。


    >>> Software Installation <<<
      
        Installation of the Sun Cluster framework software packages will only
        take a few minutes to complete.
      
        Is it okay to continue (yes/no) [yes]? yes
      
    ** Installing SunCluster 3.0 **
            SUNWscr.....done
    ...
    Hit ENTER to continue:

    すべてのパッケージをインストールしたら、Return キーを押して次の画面に進みます。

  11. スポンサーノードとなる既存のクラスタノードの名前を指定します。


    >>> Sponsoring Node <<<
    ...
        What is the name of the sponsoring node?node1
    

  12. クラスタ名を指定します。


    >>> Cluster Name <<<
    ...
        What is the name of the cluster you want to join?clustername
    

  13. インストール検査を行います。


    >>> Check <<<
     
        This step runs sccheck(1M) to verify that certain basic hardware and
        software pre-configuration requirements have been met. If sccheck(1M)
        detects potential problems with configuring this machine as a cluster
        node, a list of warnings is printed.
     
    Hit ENTER to continue:

    sccheck コマンドが何らかの問題を検出した場合は、その問題についての情報が表示され、どのような対処方法を行うかたずねられます。


    The sccheck utility has detected the following potential problems:
    ...  
    Hit ENTER to continue:
    ...
     What would you like to do?
      
            1) Proceed with the installation anyway
            2) Retry sccheck
            q) Return to the main menu
      
        Option:

    この sccheck エラーメッセージに対し、次のいずれかを入力します。

    • sccheck のメッセージを無視しても安全だということがわかっている場合 (たとえば、危険のないエラーメッセージが発生することが『 Sun Cluster 3.0 12/01 ご使用にあたって』 の記述でわかっている場合など)、1 を入力してインストールを継続します。

    • scinstall ユーティリティーを終了しなくても問題を修正できる場合、問題を修正した後、2 を入力してもう一度 sccheck を実行します。

    • q を入力してインストールを中止します。sccheck が検出した問題を修正した後、手順 8 に戻って scinstall を再起動します。

  14. 自動検出を使用してクラスタトランスポートを構成するかどうかを指定します。

    Ethernet アダプタを使用しない構成の場合は、no と答えて 手順 16 に進みます。


    >>> Autodiscovery of Cluster Transport <<<
      
        If you are using ethernet adapters as your cluster transport
        adapters, autodiscovery is the best method for configuring the
        cluster transport.
      
        Do you want to use autodiscovery (yes/no) [yes]?
    ...
        The following connections were discovered:
      
            node1:adapter switch node2:adapter 
            node1:adapter switch node2:adapter 
      
        Is it okay to add these connections to the configuration (yes/no) [yes]?

  15. 手順 14 で自動検出を使用したかどうかを確認します。

    • 使用した場合は、手順 23 に進みます。

    • 使用していない場合は、手順 16 に進みます。

  16. 2 ノードクラスタであるかどうかを指定します。


    >>> Point-to-Point Cables <<<
    ...
        Is this a two-node cluster (yes/no) [yes]?

  17. 2 ノードクラスタであると指定したかどうかを確認します。

    • 指定した場合は、クラスタがトランスポート接続点を使用するかどうかを指定します。


          Does this two-node cluster use transport junctions (yes/no) [yes]?

    • 指定していない場合は、Return キーを押して継続します。クラスタに 3 つ以上のノードが含まれる場合は、トランスポート接続点を使用する必要があります。


          Since this is not a two-node cluster, you will be asked to configure
          two transport junctions.
        
      Hit ENTER to continue:

  18. クラスタがトランスポート接続点を使用すると指定したかどうかを確認します。

    • 指定した場合は、トランスポート接続点を指定します。


      >>> Cluster Transport Junctions <<<
      ...
          What is the name of the first junction in the cluster [switch1]?
          What is the name of the second junction in the cluster [switch2]?

    • 指定していない場合は、手順 19 に進みます。

  19. 最初のクラスタインターコネクトトランスポートアダプタを指定します。

    help と入力すると、ノードで利用可能なすべてのトランスポートアダプタの一覧が表示されます。


    >>> Cluster Transport Adapters and Cables <<<
    ...
        What is the name of the first cluster transport adapter (help)?adapter
    

  20. 最初のトランスポートアダプタの接続先を指定します。

    • トランスポートアダプタがトランスポート接続点を使用する場合は、トランスポート接続点の名前とそのポートを指定します。


          Name of the junction to which "adapter" is connected [switch1]?
      ...
          Use the default port name for the "adapter" connection (yes/no) [yes]?

    • トランスポートアダプタがトランスポート接続点を使用しない場合は、接続されている他のトランスポートアダプタの名前を指定します。


          Name of adapter on "node1" to which "adapter" is connected?adapter
      
  21. 2 番目のクラスタインターコネクトトランスポートアダプタを指定します。

    help と入力すると、ノードで利用可能なすべてのトランスポートアダプタの一覧が表示されます。


        What is the name of the second cluster transport adapter (help)?adapter
    

  22. 2 番目のトランスポートアダプタの接続先を指定します。

    • トランスポートアダプタがトランスポート接続点を使用する場合は、トランスポート接続点の名前とそのポートを指定します。


          Name of the junction to which "adapter" is connected [switch2]?
          Use the default port name for the "adapter" connection (yes/no) [yes]?
       
      Hit ENTER to continue:

    • トランスポートアダプタがトランスポート接続点を使用しない場合は、接続されている他のトランスポートアダプタの名前を指定します。


          Name of adapter on "node1" to which "adapter" is connected?adapter
      

  23. 広域デバイスのファイルシステム名を指定します。


    >>> Global Devices File System <<<
    ...
        The default is to use /globaldevices.
     
        Is it okay to use this default (yes/no) [yes]?

  24. インストールの必要がある Sun Cluster ソフトウェアパッチがあるかどうかを確認します。


    >>> Automatic Reboot <<<
    ...
        Do you want scinstall to reboot for you (yes/no) [yes]?

    • インストールする場合は、「Automatic Reboot」画面で「no」と入力して自動再起動を行わないようにします。

    • インストールしない場合は、「yes」と入力して自動再起動を行います。

  25. 起動された scinstall コマンドを使用するかどうかを決定します。

    scinstall コマンドにより確認が求められます。


    >>> Confirmation <<<
     
        Your responses indicate the following options to scinstall:
     
          scinstall -i  ¥
    ...
        Are these the options you want to use (yes/no) [yes]?
        Do you want to continue with the install (yes/no) [yes]?

    • コマンドを使用してインストールを続行する場合は、scinstall の処理が継続されます。「例 - 最初のノードに Sun Cluster ソフトウェアをインストールする」 に、scinstall 処理中に表示される出力例を示します。クラスタ内でスポンサーノードがまだ確立されていない場合、scinstall はスポンサーノードが利用できるようになるのを待ちます。

      Sun Cluster インストールの出力は /var/cluster/logs/install/scinstall.log.pid ファイルに記録されます (pidscinstall インスタンスのプロセス ID 番号)。


      注 -

      独自の /etc/inet/ntp.conf ファイルをインストールしていないかぎり、scinstall コマンドによりデフォルトの ntp.conf ファイルがインストールされます。このデフォルトファイルは、出荷時には 8 個のノードを参照する状態になっているため、起動時に xntpd(1M) デーモンで一部の参照についてエラーメッセージが表示される場合があります。これらのメッセージは無視しても問題ありません。通常のクラスタ条件下で、これらのメッセージを表示しないようにする方法については、「Network Time Protocol (NTP) を更新する」を参照してください。


    • コマンドを拒否した場合は、 Sun Cluster ソフトウェアのインストールを解除するかどうかたずねられます。


          Do you want to de-install the Sun Cluster software (yes/no) [no]?

      scinstall が Main Menu に戻った後は、もう一度メニューオプション 2 を実行して異なる応答を指定できます。この場合、以前のセッションの応答がデフォルトとして表示されます。

  26. Sun Cluster ソフトウェア用のパッチをインストールします。

    パッチの入手方法とインストール方法については、『Sun Cluster 3.0 12/01 ご使用にあたって』を参照してください。

  27. ノードを再起動してクラスタを確立します。

    手順 26 でパッチをインストールした後にノードを再起動している場合は、もう一度ノードを再起動する必要はありません。


    注意 - 注意 -

    他のノードをインストールしている間は、(別のノードをスポンサーノードとして使用している場合でも) 最初のインストールノードの再起動や停止を行わないでください。クラスタノードに定足数投票 (quorum vote) が割り当てられてクラスタインストールモードが無効になるまでは、クラスタを設定した最初のインストールノードにしか定足数投票はありません。このため、最初のインストールノードの再起動や停止を行うと、定足数が失われてシステムパニックが発生します。クラスタノードは、「インストール後設定を行う」の手順で scsetup(1M) コマンドを最初に実行するまでは、インストールモードのままです。


  28. すべてのノードが完全に構成されるまで、各追加ノードに対してこの手順を繰り返します。

    追加ノードへのインストールを開始する際に、2 番目のノードのインストールが完了するのを待ってこのノードを再起動する必要はありません。

  29. ネームサービスの参照順序を設定します。

    「ネームサービススイッチを構成する」に進みます。

例 - Sun Cluster ソフトウェアを 2 番目のノードにインストールする

次に、ノード phys-schost-2 (クラスタに 2 番目にインストールするノード) で scinstall コマンドを実行し、インストール作業が完了するまでに表示される進行状況メッセージの例を示します。


>>> Confirmation <<<
  
    Your responses indicate the following options to scinstall:
  
      scinstall -ik ¥
           -C sc-cluster ¥
           -N phys-schost-1 ¥
           -A trtype=dlpi,name=hme1 -A trtype=dlpi,name=hme3 ¥
           -B type=switch,name=switch1 -B type=switch,name=switch2 ¥
           -m endpoint=:hme1,endpoint=switch1 ¥
           -m endpoint=:hme3,endpoint=switch2
  
    Are these the options you want to use (yes/no) [yes]?
  
    Do you want to continue with the install (yes/no) [yes]?
  
Checking device to use for global devices file system ... done
  
Adding node "phys-schost-2" to the cluster configuration ... done
Adding adapter "hme1" to the cluster configuration ... done
Adding adapter "hme3" to the cluster configuration ... done
Adding cable to the cluster configuration ... done
Adding cable to the cluster configuration ... done
  
Copying the config from "phys-schost-1" ... done
Setting the node ID for "phys-schost-2" ... done (id=2)
  
Checking for global devices global file system ... done
Updating vfstab ... done
  
Verifying that NTP is configured ... done
Installing a default NTP configuration ... done
Please complete the NTP configuration after scinstall has finished.
  
Verifying that "cluster" is set for "hosts" in nsswitch.conf ... done
Adding the "cluster" switch to "hosts" in nsswitch.conf ... done
  
Verifying that "cluster" is set for "netmasks" in nsswitch.conf ... done
Adding the "cluster" switch to "netmasks" in nsswitch.conf ... done
  
Verifying that power management is NOT configured ... done
Unconfiguring power management ... done
/etc/power.conf has been renamed to /etc/power.conf.61501001054
Power management is incompatible with the HA goals of the cluster.
Please do not attempt to re-configure power management.
  
Ensure network routing is disabled ... done
Network routing has been disabled on this node by creating /etc/notrouter.
Having a cluster node act as a router is not supported by Sun Cluster.
Please do not re-enable network routing.
  
Log file - /var/cluster/logs/install/scinstall.log.9853
  
  
Rebooting ...