Sun Cluster 3.0 U1 설치 안내서

Sun Cluster 소프트웨어(scinstall) 설치 방법

Solaris 운영 환경을 설치한 후에 클러스터의 각 노드에서 이 작업을 수행하여 Sun Cluster 소프트웨어를 설치하고 새 클러스터 노드를 만드십시오. 이 절차를 사용하여 기존 클러스터에 새 노드를 추가할 수도 있습니다.


주 -

scinstall(1M) 사용자 정의 JumpStart 또는 SunPlex Manager 방법을 사용했으면 Sun Cluster 소프트웨어가 이미 설치되어 있습니다. "이름 서비스 스위치 구성 방법"로 이동하십시오.


  1. 다음과 같이 Sun Cluster 3.0 U1 릴리스 정보에 있는 완성된 구성 계획 워크시트를 준비하십시오.

    • "클러스터 및 노드 이름 워크시트"

    • "클러스터 상호 연결 워크시트"

    계획 방법은 "Sun Cluster 환경 계획"을 참조하십시오.

  2. 클러스터 노드에 대하여 superuser가 되어야 합니다.

  3. CD-ROM으로 설치하는 경우에는 설치하여 구성할 노드의 CD-ROM 드라이브에 Sun Cluster 3.0 7/01 CD-ROM을 넣으십시오.

    볼륨 관리 데몬 vold(1M)가 실행되고 있고 CD-ROM 장치를 관리할 수 있도록 구성되어 있으면 자동으로 CD-ROM을 /cdrom/suncluster_3_0u1 디렉토리에 마운트합니다.

  4. /cdrom/suncluster_3_0u1/SunCluster_3.0/Tools 디렉토리로 이동하십시오.


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

  5. 기존 클러스터에 새 노드를 설치하시겠습니까?

    • 그러면 단계 8로 이동하십시오.

    • 아니면 단계 6으로 이동하십시오.

  6. 첫 번째 노드를 설치하고 새로운 클러스터를 설정하십시오.

    구성 계획 워크시트의 정보를 사용하고 화면의 지시에 따라 Sun Cluster 소프트웨어를 설치하십시오.

    1. scinstall(1M) 유틸리티를 시작하십시오.


      # ./scinstall
      

      대화식 scinstall 유틸리티를 사용하려면 다음 지시를 따르십시오.

      • 대화식 scinstall을 사용하면 먼저 입력할 수 있습니다. 따라서 다음 메뉴 화면이 바로 나타나지 않으면 Return을 두 번 이상 누르지 마십시오.

      • 다른 메시지가 없을 경우에는 Control-D를 눌러 관련 질문 목록의 시작 부분이나 기본 메뉴로 돌아갈 수 있습니다.

      • 세션에서 응답한 결과는 저장되었다가 다음에 이 메뉴 옵션을 실행하면 기본값으로 사용됩니다. 기본 응답은 질문 끝에 각괄호([ ]) 사이에 표시됩니다.


      정보 -

      클러스터 모드에서 노드가 성공적으로 시동될 때까지, scinstall을 재실행하고 필요에 따라 구성 정보를 변경할 수있습니다. 그러나 노드에 대한 불량 구성 데이터가 클러스터의 설정된 부분 위에 놓이면, 먼저 불량 정보를 제거해야 하는 경우도 있습니다. 이를 수행하려면, 활동 중인 클러스터 노드 중 하나에 로그인한 후 scconf(1M) 유틸리티를 사용하여 불량 어댑터, 접합 또는 케이블 정보를 제거하십시오.


    2. Main Menu에서 1(새 클러스터 만들기)을 입력하십시오.


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

    3. 클러스터 이름을 지정하십시오.


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

    4. 이 클러스터에 포함될 다른 노드의 이름을 지정하십시오.


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

    5. DES(Data Encryption Standard) 인증을 사용할 것인지 지정하십시오.

      기본적으로 Sun Cluster 소프트웨어를 사용하면 노드가 개인용 상호 연결에 물리적으로 연결되고 노드 이름이 단계 d에 지정된 경우에만 노드에서 클러스터에 연결할 수 있습니다. 그러나 개인용 상호 연결이 아직 완전히 구성되지 않았기 때문에 실제로는 노드가 공용 네트워크를 통해 스폰서 노드와 통신을 합니다. DES 인증은 스폰서 노드가 클러스터 구성을 위해 스폰서 노드에 대한 액세스하는 노드를 더욱 안정적으로 인증하도록 하여 더욱 높은 수준의 보안을 제공합니다.

      추가적인 보안을 위해 DES 인증을 사용하도록 선택하는 경우에는 먼저 필요한 모든 암호화 키를 구성해야 노드가 클러스터에 연결할 수 있습니다. 자세한 내용은 keyserv(1M) 및 publickey(4) 설명서 페이지를 참조하십시오.


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

    6. 개인용 네트워크 주소와 네트마스크를 지정하십시오.


      주 -

      클러스터가 구성된 후에는 개인용 네트워크 주소를 변경할 수 없습니다.



       >>> 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]? 
    7. 이 클러스터가 2-노드 클러스터이면 클러스터에 전송 연결 장치를 사용할 것인지 지정하십시오.


      정보 -

      노드가 서로 직접 연결되는지 여부에 관계 없이 클러스터에서 전송 연결 장치를 사용하도록 지정할 수 있습니다. 클러스터에서 전송 연결 장치를 사용하도록 지정하면 나중에 쉽게 클러스터에 새 노드를 추가할 수 있습니다.



       >>> Point-to-Point Cables <<<
       ...
          Does this two-node cluster use transport junctions (yes/no) [yes]? 
    8. 이 클러스터가 전송 연결 장치를 사용하면 전송 연결 장치의 이름을 지정하십시오.

      클러스터에 노드가 세 개 이상 있으면 전송 연결 장치를 사용해야 합니다. 기본 이름 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]? 

    9. 클러스터 상호 연결 전송 어댑터를 지정하고, 연결할 전송 연결 장치가 있으면 이름을 지정하십시오.

      scinstall 명령을 사용하여 어댑터를 두 개까지 구성할 수 있습니다. scsetup 유틸리티를 사용하여 Sun Cluster 소프트웨어를 설치한 후에 추가 어댑터를 구성할 수 있습니다.


       >>> Cluster Transport Adapters and Cables <<<
       ...
          What is the name of the first cluster transport adapter?  adapter
       ...
          Name of the junction to which "adapter" is connected [switch1]? 
       ...
          What is the name of the second cluster transport adapter?  adapter
       ...
          Okay to use the default for the "qfe0" connection (yes/no) [yes]? 
        
          What is the name of the second cluster transport adapter?  adapter
       
          Name of the junction to which "adapter" is connected [switch2]? 
           Use the default port for the "adapter" connection [yes]? 

    10. 글로벌 장치 파일 시스템 이름을 지정하십시오.


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

    11. 설치할 Sun Cluster 소프트웨어 패치가 있습니까?

      • 그러면 자동으로 다시 부트되지 않도록 Automatic Reboot 화면에서 no를 입력하십시오.

      • 아니면 자동으로 다시 부트되도록 yes를 입력하십시오.


       >>> Automatic Reboot <<<
      ...
          Do you want scinstall to reboot for you (yes/no) [yes]? 
    12. 화면에 표시되는 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 유틸리티는 기본 메뉴를 표시합니다. 이 곳에서 메뉴 옵션 1을 다시 실행하여 다른 응답을 제공할 수 있습니다. 이전 대답이 기본값으로 표시됩니다.

    Sun Cluster 설치 결과가 /var/cluster/logs/install/scinstall.log.pid 파일에 기록됩니다. 여기서 pidscinstall 인스턴스의 프로세스 ID 번호입니다.


    주 -

    자신의 고유한 /etc/inet/ntp.conf 파일을 설치하지 않았으면, scinstall 명령은 기본 ntp.conf 파일을 자동으로 설치해 줍니다. 기본 파일은 최대 노드 수에 대한 참조사항과 함께 제공되므로, xntpd(1M) 디먼은 이 참조사항에 관한 오류 메시지를 시동 할 때 나타낼 수 있습니다. 이 메시지들은 무시해도 안전합니다. 그렇지 않고, 정상적인 클러스터 조건 하에서 이 메시지들이 표시되지 않도록 하는 방법에 대해서는 "NTP(Network Time Protocol) 갱신 방법"을 참조하십시오.


  7. 설치할 Sun Cluster 소프트웨어 패치가 있습니까?

    • 그러면 노드에 Sun Cluster 소프트웨어 패치를 설치하고 노드를 다시 부트하십시오. 패치 위치와 설치 방법을 보려면 Sun Cluster 3.0 U1 릴리스 정보를 참조하십시오.

    • 설치할 패치가 없고 설치 중에 scinstall 명령이 노드를 다시 부트했으면 단계 8로 이동하십시오. scinstall 명령이 노드를 다시 부트하지 않았으면 단계 8을 진행하기 전에 직접 노드를 다시 부트하여 클러스터를 만드십시오.

    Sun Cluster 소프트웨어를 설치한 후에 처음으로 노드를 다시 부트하면 클러스터가 만들어지고 이 노드가 클러스터의 첫 번째 설치 노드가 됩니다.

  8. 클러스터의 두 번째 노드를 설치하십시오.

    화면의 지시에 따라 Sun Cluster 소프트웨어를 설치하십시오. 구성 계획 워크시트의 정보를 참조하십시오.


    주 -

    다른 노드를 스폰서 노드로 사용할 경우에도 다른 노드를 설치하는 동안에는 첫 번째 설치 노드를 다시 부트하거나 종료하지 마십시오. 정족수가 클러스터 노드에 할당되고 클러스터 설치 모드가 비활성화될 때까지는 클러스터를 만든 첫 번째 설치 노드만이 정족수를 갖습니다. 따라서 첫 번째 설치 노드를 다시 부트하거나 종료하면 정족수 부족 때문에 시스템이 중단됩니다.


    1. scinstall 유틸리티를 시작하십시오.

      첫번째 노드가 계속 설치되어 있는 동안 이 단계를 시작할 수 있습니다. 필요하면 첫 번째 노드 설치가 완료될 때까지 두 번째 노드가 대기합니다.


      # ./scinstall
      

    2. Main Menu에서 2(이 시스템을 노드로 추가)를 입력하십시오.


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

    3. sponsoring node라고 하는 기존 클러스터 노드의 이름을 지정하십시오.


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

    4. 클러스터 이름을 지정하십시오.


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

    5. 이 클러스터가 2-노드 클러스터인지 그리고 클러스터에 전송 연결을 사용할 것인지 지정하십시오.

      클러스터에 세 개 이상의 노드가 있으면 전송 연결 장치를 사용해야 합니다.


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

    6. 클러스터 상호 연결 전송 어댑터와 전송 연결 장치가 있으면 지정하십시오.


       >>> Cluster Transport Adapters and Cables <<<
      ...
          What is the name of the first cluster transport adapter?  adapter
      ...
          Name of adapter on "node1" to which "adapter" is connected?  adapter
       
          What is the name of the second cluster transport adapter?  adapter
          Name of adapter on "node1" to which "adapter" is connected?  adapter
      

    7. 글로벌 장치 파일 시스템 이름을 지정하십시오.


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

    8. 설치할 Sun Cluster 소프트웨어 패치가 있습니까?

      • 그러면 자동으로 다시 부트되지 않도록 Automatic Reboot 화면에서 no를 입력하십시오.

      • 아니면 자동으로 다시 부트되도록 yes를 입력하십시오.


       >>> Automatic Reboot <<<
      ...
          Do you want scinstall to reboot for you (yes/no) [yes]? 
    9. 화면에 표시되는 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 명령이 실행되지 않고 대기합니다.

      • 명령을 승인하지 않을 것을 선택하면, scinstall 유틸리티는 기본 메뉴를 표시합니다. 이 곳에서 메뉴 옵션 2을 다시 실행하여 다른 응답을 제공할 수 있습니다. 이전 대답이 기본값으로 표시됩니다.

    Sun Cluster 설치 결과가 /var/cluster/logs/install/scinstall.log.pid 파일에 기록됩니다. 여기서 pidscinstall 인스턴스의 프로세스 ID 번호입니다.


    주 -

    자신의 고유한 /etc/inet/ntp.conf 파일을 설치하지 않았으면, scinstall 명령은 기본 ntp.conf 파일을 자동으로 설치해 줍니다. 기본 파일은 8개 노드에 대한 참조사항과 함께 제공되므로, xntpd(1M) 디먼은 이 참조사항에 관한 오류 메시지를 시동 할 때 나타낼수 있습니다. 이 메시지들은 무시해도 안전합니다. 그렇지 않고, 정상적인 클러스터 조건 하에서 이 메시지들이 표시되지 않도록 하는 방법에 대해서는 "NTP(Network Time Protocol) 갱신 방법"을 참조하십시오.


  9. 설치할 Sun Cluster 소프트웨어 패치가 있습니까?

    • 그러면 노드에 Sun Cluster 소프트웨어 패치를 설치하고 노드를 다시 부트하십시오. 패치 위치와 설치 방법을 보려면 Sun Cluster 3.0 U1 릴리스 정보를 참조하십시오.


      주 -

      다른 노드를 스폰서 노드로 사용할 경우에도 다른 노드를 설치하는 동안에는 첫 번째 설치 노드를 다시 부트하거나 종료하지 마십시오. 정족수가 클러스터 노드에 할당되고 클러스터 설치 모드가 비활성화될 때까지는 클러스터를 만든 첫 번째 설치 노드만이 정족수를 갖습니다. 따라서 첫 번째 설치 노드를 다시 부트하거나 종료하면 정족수 부족 때문에 시스템이 중단됩니다. 클러스터 노드는 "설치 후 설정 수행 방법" 절차 동안 scsetup(1M) 명령을 처음 실행할 때까지 설치 모드에 남아 있습니다.


    • 설치할 패치가 없고 설치 중에 scinstall 명령이 노드를 다시 부트했으면 단계 10으로 이동하십시오. scinstall 명령이 노드를 다시 부트하지 않았으면 단계 10을 진행하기 전에 직접 노드를 다시 부트하여 클러스터를 만드십시오.

  10. 모든 노드가 완전히 구성될 때까지 각 추가 노드에서 단계 8단계 9를 반복하십시오.

    두 번째 노드에서 설치가 완료될 때까지 기다리지 않아도 됩니다. 추가 노드에 설치를 시작하기 전에 노드로 다시 부트하십시오.

  11. 이름 서비스 찾아보기 순서를 구성하십시오.

    "이름 서비스 스위치 구성 방법"으로 이동하십시오.

예: Sun Cluster 소프트웨어 설치

다음 예는 클러스터에 설치할 첫 번째 노드인 phys-schost-1 노드에서 scinstall 설치 작업이 완료될 때 표시되는 진행 상황 메시지입니다.


** Installing SunCluster 3.0 **
        SUNWscr.....done.
        SUNWscdev...done.
        SUNWscu.....done.
        SUNWscman...done.
        SUNWscsal...done.
        SUNWscsam...done.
        SUNWscrsmop.done.
        SUNWsci.....done.
        SUNWscid....done.
        SUNWscidx...done.
        SUNWscvm....done.
        SUNWmdm.....done.
 
Initializing cluster name to "sccluster" ... done
Initializing authentication options ... done
Initializing configuration for adapter "hme2" ... done
Initializing configuration for adapter "hme4" ... 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
Checking device to use for global devices 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.060199105132
Power management is incompatible with the HA goals of the cluster.
Please do not attempt to re-configure power management.
 
Ensure 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.276
 
Rebooting ...