Solaris OS용 Sun Cluster 소프트웨어 설치 안내서

Procedure추가 클러스터 노드에 Sun Cluster 소프트웨어를 구성하는 방법(scinstall)

기존 클러스터에 새 노드를 추가하려면 이 절차를 수행하십시오. JumpStart를 사용하여 새 노드를 추가하려면 Solaris 및 Sun Cluster 소프트웨어를 설치하는 방법(JumpStart)의 절차를 대신 수행합니다.


주 –

이 절차에서는 대화식 scinstall 명령을 사용합니다. 설치 스크립트를 개발할 때와 같이 비대화식 scinstall 명령을 사용하려면 scinstall(1M) 매뉴얼 페이지를 참조하십시오.

scinstall 명령을 실행하기 전, 노드에 Sun Cluster 소프트웨어 패키지가 수동으로 설치되었는지 또는 Java ES installer 프로그램의 자동 모드를 사용하여 설치되었는지 확인합니다. 설치 스크립트에서 Java ES installer 프로그램을 실행하는 데 대한 자세한 내용은 Sun Java Enterprise System 5 Installation Guide for UNIX의 5 장, Installing in Silent Mode를 참조하십시오.


시작하기 전에

다음 작업을 수행합니다.

이번 절차에서는 아래 지침대로 대화식 scinstall 유틸리티를 사용합니다.

  1. 계속할 클러스터 노드에서 수퍼유저로 전환합니다.

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


    phys-schost-new# /usr/cluster/bin/scinstall
    

    scinstall 주 메뉴가 표시됩니다.

  3. "새 클러스터 생성 또는 클러스터 노드 추가"에 대한 옵션에 해당하는 번호를 입력하고 Enter 키를 누릅니다.


      *** Main Menu ***
    
        Please select from one of the following (*) options:
    
          * 1) Create a new cluster or add a cluster node
            2) Configure a cluster to be JumpStarted from this install server
            3) Manage a dual-partition upgrade
            4) Upgrade this cluster node
          * 5) Print release information for this cluster node
    
          * ?) Help with menu options
          * q) Quit
    
        Option:  1
    

    새 클러스터 및 클러스터 노드 메뉴가 표시됩니다.

  4. "기존 클러스터의 노드로 이 시스템 추가"에 대한 옵션에 해당하는 번호를 입력하고 Enter 키를 누릅니다.

  5. 메뉴 프롬프트에 따라 구성 계획 워크시트에 답변을 입력합니다.

    scinstall 유틸리티가 노드를 구성하고 노드를 클러스터로 부트합니다.

  6. DVD-ROM 드라이브에서 Sun Java Availability Suite DVD-ROM을 언로드합니다.

    1. DVD-ROM이 사용되고 있지 않음을 확인하려면 DVD-ROM에 존재하지 않는 디렉토리로 이동합니다.

    2. DVD-ROM을 꺼냅니다.


      phys-schost# eject cdrom
      
  7. 추가 노드가 모두 구성될 때까지 클러스터에 추가할 다른 노드에 대해 이 절차를 반복합니다.

  8. Solaris 10 OS의 경우, 각 노드에서 SMF(Service Management Facility)의 다중 사용자 서비스가 온라인인지 확인하십시오.

    어떤 노드에서 서비스가 아직 온라인 상태가 아니라면 다음 단계로 진행하기에 앞서 온라인 상태가 될 때까지 기다립니다.


    phys-schost# svcs multi-user-server
    STATE          STIME    FMRI
    online         17:52:55 svc:/milestone/multi-user-server:default
  9. 활성화된 클러스터 구성원에서 다른 노드가 클러스터에 결합하지 않도록 합니다.


    phys-schost# claccess deny-all
    

    또는 clsetup 유틸리티를 사용할 수 있습니다. 절차는Solaris OS용 Sun Cluster 시스템 관리 안내서권한이 부여된 노드 목록에 노드를 추가하는 방법을 참조하십시오.

  10. 아무 노드에서나 수퍼유저로 전환합니다.

  11. 모든 노드가 클러스터에 연결되었는지 확인하십시오.


    phys-schost# clnode status
    

    다음과 비슷한 결과가 출력됩니다.


    === Cluster Nodes ===
    
    --- Node Status ---
    
    Node Name                                       Status
    ---------                                       ------
    phys-schost-1                                   Online
    phys-schost-2                                   Online
    phys-schost-3                                   Online

    자세한 내용은 clnode(1CL) 매뉴얼 페이지를 참조하십시오.

  12. 필요한 모든 패치가 설치되어 있는지 확인합니다.


    phys-schost# showrev -p
    
  13. (옵션) 모니터된 모든 디스크 경로가 실패할 경우, 자동 노드 재부트를 활성화합니다.

    1. 자동 재부트 기능을 활성화합니다.


      phys-schost# clnode set -p reboot_on_path_failure=enabled
      
      -p

      설정하려는 등록 정보 지정

      reboot_on_path_failure=enable

      클러스터의 다른 노드에서 최소 한 개의 디스크에 액세스할 수 있는 상황에서, 모든 모니터되는 디스크 경로가 실패할 경우 해당 노드를 재부트하도록 지정합니다.

    2. 디스크 경로 실패 시 자동 재부트가 활성화되는지 확인합니다.


      phys-schost# clnode show
      === Cluster Nodes ===                          
      
      Node Name:                                      node
      …
        reboot_on_path_failure:                          enabled
      …
  14. 고가용성 로컬 파일 시스템에서 Sun Cluster HA for NFS를 사용하려면 LOFS를 비활성화해야 합니다.

    LOFS를 비활성화하려면 다음 항목을 클러스터의 각 노드에서 /etc/system 파일에 추가합니다.


    exclude:lofs

    /etc/system 파일에 대한 변경 사항은 다음 번에 시스템이 부트된 후 적용됩니다.


    주 –

    고가용성 로컬 파일 시스템에서 Sun Cluster HA for NFS를 사용하고 또한 automountd가 실행 중이라면 LOFS를 활성화할 수 없습니다. LOFS는 Sun Cluster HA for NFS에서 스위치오버 문제를 유발할 수 있습니다. 고가용성 로컬 파일 시스템에서 Sun Cluster HA for NFS를 추가하도록 선택한 경우 다음의 구성 중 하나를 변경해야 합니다.

    그러나, 클러스터에서 비전역 영역을 구성하는 경우, 모든 클러스터 노드에서 LOFS를 활성화해야 합니다. 고가용성 로컬 파일 시스템에서 Sun Cluster HA for NFS와 LOFS가 동시에 존재해야 하는 경우, LOFS를 비활성화하는 대신 다른 해결 방법을 사용하십시오.

    • LOFS를 비활성화합니다.

    • automountd 데몬을 비활성화합니다.

    • Sun Cluster HA for NFS에서 내보낸 가용성 높은 로컬 파일 시스템에 속한 모든 파일을 automounter 맵에서 제외시킵니다. 이렇게 선택하면 LOFS와 automountd 데몬을 모두 사용 가능한 상태로 유지할 수 있습니다.


    루프백 파일 시스템에 대한 자세한 내용은 시스템 관리 설명서: 장치 및 파일 시스템루프백 파일 시스템(Solaris 9 또는 Solaris 10)을 참조하십시오.


예 3–3 추가 노드에 Sun Cluster 소프트웨어 구성

다음 예에서는 phys-schost-3 노드가 schost 클러스터에 추가되는 것을 보여줍니다. 스폰서 노드는 phys-schost-1입니다.


*** Adding a Node to an Existing Cluster ***
Fri Feb  4 10:17:53 PST 2005


scinstall -ik -C schost -N phys-schost-1 -A trtype=dlpi,name=qfe2 -A trtype=dlpi,name=qfe3 
-m endpoint=:qfe2,endpoint=switch1 -m endpoint=:qfe3,endpoint=switch2


Checking device to use for global devices file system ... done

Adding node "phys-schost-3" to the cluster configuration ... done
Adding adapter "qfe2" to the cluster configuration ... done
Adding adapter "qfe3" 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

Copying the postconfig file from "phys-schost-1" if it exists ... done
Copying the Common Agent Container keys from "phys-schost-1" ... done


Setting the node ID for "phys-schost-3" ... done (id=1)

Setting the major number for the "did" driver ... 
Obtaining the major number for the "did" driver from "phys-schost-1" ... done
"did" driver major number set to 300

Checking for global devices global file system ... done
Updating vfstab ... done

Verifying that NTP is configured ... done
Initializing NTP configuration ... done

Updating nsswitch.conf ... 
done

Adding clusternode entries to /etc/inet/hosts ... done


Configuring IP Multipathing groups in "/etc/hostname.<adapter>" files

Updating "/etc/hostname.hme0".

Verifying that power management is NOT configured ... done

Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ... done
The "local-mac-address?" parameter setting has been changed to "true".

Ensure network routing is disabled ... done

Updating file ("ntp.conf.cluster") on node phys-schost-1 ... done
Updating file ("hosts") on node phys-schost-1 ... done

Rebooting ... 

일반 오류

실패한 구성 - 클러스터와 한 개 이상의 노드를 결합할 수 없는 경우 또는 잘못된 구성 정보가 지정된 경우 맨 먼저 이 절차를 다시 실행합니다. 그래도 문제가 해결되지 않으면, 잘못 구성된 각 노드에서 Sun Cluster 소프트웨어를 구성 해제하여 설치 문제를 해결하는 방법을 수행하여 잘못 구성된 노드를 클러스터 구성에서 제거합니다. Sun Cluster 소프트웨어 패키지를 제거할 필요는 없습니다. 그런 다음, 본 절차를 재실행합니다.

다음 순서

쿼럼 장치를 사용하는 기존 클러스터에 노드를 추가한 경우, 클러스터에 노드를 추가한 후 쿼럼 장치를 업데이트하는 방법으로 이동하십시오.

그렇지 않으면 쿼럼 구성 및 설치 모드 확인 방법으로 이동합니다.