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

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

Solaris オペレーティング環境をインストールした後で、クラスタのいずれかのノード上で次の作業を行うと、Sun Cluster ソフトウェアがインストールされて、新しいクラスタが確立されます。


注 -

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


  1. Solaris オペレーティング環境が Sun Cluster ソフトウェアをサポートするようにインストールされていることを確認します。

    Solaris ソフトウェアのインストールは、 「Solaris ソフトウェアをインストールする」で説明されているとおりに行う必要があります。Solaris ソフトウェアがすでにノード上にインストールされている場合でも、 Sun Cluster ソフトウェアの必要条件、またはクラスタにインストールする予定である他のソフトウェアの必要条件に適合していない場合は、Solaris をインストールし直す必要があります。

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

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

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

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

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

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

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

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

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

    • 使用する場合は、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-2 RSMAPI と SCI-PCI アダプタをサポートするための Sun Cluster 3.0 パッケージ

      機能 

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

      RSMAPI 

      SUNWscrif

      SCI-PCI アダプタ 

      SUNWsci SUNWscid SUNWscidx

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


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

  7. scinstall(1M) ユーティリティーを起動します。


    # ./scinstall
    

    プロンプトに従い、構成計画ワークシートの情報を参照して Sun Cluster ソフトウェアをインストールします。

    対話形式の scinstall ユーティリティーを使用するときは、次のガイドラインに従ってください。

    • 対話形式の scinstall では先打ち入力が可能です。したがって、次のメニュー画面がすぐに表示されなくても、何度も Return キーを押さないでください。

    • 特に指定がない場合は、Control-D キーを押すと、関連のある一連の質問の最初か、またはメインメニューに戻ります。 Sun Cluster ソフトウェアをインストールした後に、Control-D キーを押してセッションを中断しようとすると、これらのパッケージのインストールを解除するかどうかたずねられます。

    • セッションでの入力内容は、そのメニューオプションを次回実行したときのデフォルトとして格納されます。プロンプトの最後に、角括弧 ([ ]) に囲まれてデフォルトの回答が表示されます。


    ヒント -

    ノードがクラスタモードで正常に起動するまでは、scinstall を再度実行し、必要に応じて構成情報を変更できます。ただし、不正なノード構成データが、クラスタに設定されてしまった場合は、最初にその不正な情報を削除しておく必要があります。不正な情報を削除するには、アクティブなクラスタノードの 1 つにログオンし、scsetup(1M) コマンドを使用して、不正なアダプタ、接続点、またはケーブル情報を削除します。


  8. 「Main Menu」で、1 (Establish a new cluster) と入力します。

    「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:1
     
     *** Establishing a New Cluster ***
    ...
     Do you want to continue (yes/no) [yes]? yes
    

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


    >>> Software Package Installation <<<
      
        Installation of the Sun Cluster framework software packages will 
        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 キーを押して次の画面に進みます。

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


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

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


    >>> 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 が検出した問題を修正した後、手順 7 に戻って scinstall を再起動します。

  12. このクラスタの一部となる他のノードの名前を指定します。


    >>> Cluster Nodes <<<
    ...
        Node name:node2
        Node name (Ctrl-D to finish):<Control-D>
     
        This is the complete list of nodes:
    ...
        Is it correct (yes/no) [yes]?

  13. データ暗号化規格 (DES) 認証を使用するかどうかを指定します。

    デフォルトでは、Sun Cluster ソフトウェアを使用してノードをクラスタに接続できるのは、ノードが物理的にプライベートインターコネクトに接続されていて、かつ上記の手順 d の方法でノード名が指定されている場合だけです。しかし、プライベートインターコネクトはまだ完全に構成されていないため、実際にはノードはパブリックネットワークを介してスポンサーノードと通信します。DES 認証を使用すると、スポンサーノードは、クラスタ構成を更新するために接続を試みるノードを確実に認証できます。このため、インストール時のセキュリティレベルが高くなります。

    セキュリティを高めるために DES 認証を使用する場合は、ノードをクラスタに追加する前に、必要な暗号化鍵をすべて構成する必要があります。詳細については、keyserv(1M) および publickey(4) のマニュアルページを参照してください。


    >>> Authenticating Requests to Add Nodes <<<
    ...
        Do you need to use DES authentication (yes/no) [no]?

  14. プライベートネットワークアドレスとネットマスクを指定します。


    >>> Network Address for the Cluster Transport <<<
    ...
        Is it okay to accept the default network address (yes/no) [yes]?
        Is it okay to accept the default netmask (yes/no) [yes]?


    注 -

    クラスタが正しく構成されたあとでは、プライベートネットワークアドレスは変更できません。


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

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


      >>> Point-to-Point Cables <<<
       ...
          Does this two-node cluster use transport junctions (yes/no) [yes]?


      ヒント -

      ノードが互いに直結されているかどうかにかかわらず、クラスタがトランスポート接続点を使用するように指定できます。クラスタがトランスポート接続点を使用するように指定すると、クラスタに新しいノードを簡単に追加できるようになります。


    • このクラスタに 3 つ以上のノードがある場合、トランスポート接続点を使用する必要があります。Return キーを押して、次の画面に進みます。


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

  16. このクラスタがトランスポート接続点を使用するかどうかを決定します。

    • 使用する場合は、トランスポート接続点の名前を指定します。この場合、デフォルトの名前 switchN を使用することも、独自の名前を作成することもできます。


      >>> 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]?

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

  17. 1 番目のクラスタインターコネクトトランスポートアダプタを指定します。

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


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

  18. クラスタがトランスポート接続点を使用する場合は、1 番目のトランスポート接続点の名前とそのポートを指定します。

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


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


    注 -

    SCI アダプタを使用する構成の場合は、アダプタ接続 (ポート名) をたずねられたときに、デフォルトを受け入れてはなりません。その代わりに、Dolphin スイッチ自身上で見つかった、ノードが物理的に (ケーブルで) 接続されているポート名 (0123 のいずれか) を指定します。デフォルトのポート名を拒否して、Dolphin スイッチのポート名 0 を指定する質問と応答の例を次に示します。



        Use the default port name for the "adapter" connection (yes/no) [yes]? no
        What is the name of the port you want to use? 0
    
  19. 2 番目のクラスタインターコネクトトランスポートアダプタを選択します。

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


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

    scinstall コマンドを使用し、アダプタを 2 つまで構成できます。Sun Cluster ソフトウェアのインストール後は、scsetup ユーティリティーを使用してアダプタを追加構成できます。

  20. クラスタがトランスポート接続点を使用する場合は、2 番目のトランスポート接続点の名前とそのポートを指定します。

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


        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:


    注 -

    SCI アダプタを使用する構成の場合は、アダプタポート名をたずねられたときに、デフォルトを受け入れてはなりません。その代わりに、Dolphin スイッチ自身上で見つかった、ノードが物理的に (ケーブルで) 接続されているポート名 (0123 のいずれか) を指定します。デフォルトのポート名を拒否して、Dolphin スイッチのポート名 0 を指定する質問と応答の例を次に示します。



        Use the default port name for the "adapter" connection (yes/no) [yes]? no
        What is the name of the port you want to use? 0
    
  21. 広域デバイスのファイルシステム名を指定します。


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

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


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

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

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

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

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


    >>> Confirmation <<<
     
        Your responses indicate the following options to scinstall:
     
          scinstall -ik  ¥
    ...
        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 の処理中に表示される出力例を示します。

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


      注 -

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


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


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

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

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

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

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

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

    Sun Cluster ソフトウェアのインストール後にノードを初めて再起動すると、クラスタが構成されるとともに、クラスタの最初のインストールノードとしてこのノードが確立されます。

  26. 追加のノードをクラスタにインストールします。

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

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

次に、ノード phys-schost-1 (クラスタに最初にインストールするノード) で scinstall コマンドを実行し、インストール作業が完了するまでに表示される進行状況メッセージの例を示します。このクラスタは 4 つのノードを持ち、Ethernet アダプタとトランスポート接続点を使用します。


>>> Confirmation <<<
  
    Your responses indicate the following options to scinstall:
  
      scinstall -ik ¥
           -C sc-cluster ¥
           -F ¥
           -T node=phys-schost-1,node=phys-schost-2,node=phys-schost-3,node=phys
-schost-4,authtype=sys ¥
           -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
  
Initializing cluster name to "sc-cluster" ... done
Initializing authentication options ... done
Initializing configuration for adapter "hme1" ... done
Initializing configuration for adapter "hme3" ... done
Initializing configuration for junction "switch1" ... done
Initializing configuration for junction "switch2" ... done
Initializing configuration for cable ... done
Initializing configuration for cable ... done
  
  
Setting the node ID for "phys-schost-1" ... done (id=1)
  
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.061401232831
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.10559
  
  
Rebooting ...