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

단일 노드 클러스터에 Sun Cluster 소프트웨어를 설치하는 방법

scinstall 명령을 사용하여 단일 노드에 Sun Cluster 소프트웨어를 설치하고 클러스터를 설정하려면 이 작업을 수행하십시오. 자세한 내용은 scinstall(1M) 설명서 페이지를 참조하십시오.


주 –

SunPlex Manager 또는 대화식 scinstall 유틸리티 형식을 사용하여 단일 노드 클러스터에 Sun Cluster 소프트웨어를 설치할 수 없습니다.


scinstall -iFo 명령을 실행하면 설치 과정에서 기본적으로 다음 작업이 수행됩니다.

다중 노드 클러스터 설치에 필요한 일부 단계는 단일 노드 클러스터 설치에 필요하지 않습니다. 단일 노드 클러스터를 설치할 경우 다음 단계를 수행할 필요가 없습니다.


정보 –

클러스터에 두 번째 노드를 추가하려면 초기 클러스터 설치 중에 전송 상호 연결을 구성할 수 있습니다. 그러면 전송 상호 연결을 나중에 사용할 수 있습니다. 자세한 내용은 scinstall(1M) 설명서 페이지를 참조하십시오.

나중에 다른 추가 클러스터 노드에 Sun Cluster 소프트웨어를 구성하는 방법(scinstall) 에 제공된 해당 절차에 따라 단일 노드 클러스터를 다중 노드 클러스터로 확장할 수 있습니다.


  1. Sun Cluster 소프트웨어를 지원하도록 Solaris 운영 환경이 설치되었는지 확인하십시오.

    노드에 Solaris 소프트웨어가 이미 설치된 경우에도 설치된 Solaris 소프트웨어가 Sun Cluster 소프트웨어와 클러스터에 설치할 다른 소프트웨어의 요구 사항을 충족시켜야 합니다. Sun Cluster 소프트웨어 요구 사항을 충족하도록 Solaris 소프트웨어를 설치하는 방법에 대한 자세한 내용은 Solaris 소프트웨어를 설치하는 방법 를 참조하십시오.

  2. 설치할 클러스터 노드에서 수퍼유저가 되십시오.

  3. 설치 및 구성할 노드의 CD-ROM 드라이브에 Sun Java Enterprise System 2004Q2 2 of 2 CD-ROM을 넣으십시오.

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

  4. /cdrom/cdrom0 디렉토리에서 Solaris_arch/Product/sun_cluster/Solaris_ver/Tools 디렉토리로 변경합니다. 여기서 archsparc 또는 x86이며, ver8 (Solaris 8) 또는 9 (Solaris 9)입니다.

    다음 예에서는 SPARC Solaris 8 버전의 Sun Cluster 소프트웨어에 대한 경로를 사용합니다.


    # cd /cdrom/cdrom0/Solaris_sparc/Product/sun_cluster/Solaris_8/Tools
    

  5. scinstall 명령을 사용하여 Sun Cluster 소프트웨어와 필수 패치를 설치하십시오.


    ./scinstall -iFo [-M patchdir=dirname]
    -i

    scinstall 명령의 설치 형식을 지정합니다. scinstall 명령을 실행하면 Sun Cluster 소프트웨어가 설치되고 노드가 새 클러스터로 초기화됩니다.

    -F

    노드를 새 클러스터의 첫 번째 노드로 설정합니다. 단일 노드 클러스터를 설치할 때 모든 -F 옵션을 사용할 수 있습니다.

    -o

    단일 노드 클러스터에 노드를 하나만 설치하도록 지정합니다. -o 옵션은 -i-F 명령 형식을 모두 사용할 때만 유효합니다. -o 옵션을 사용하면 클러스터 설치 모드가 사용 불가 상태로 설정됩니다.

    -M patchdir=dirname[[,patchlistfile=filename]]

    scinstall 명령을 사용하여 지정한 패치를 설치할 수 있도록 패치 정보에 대한 경로를 지정합니다. 패치 목록 파일을 지정하지 않은 경우 scinstall 명령을 실행하면 dirname 디렉토리에 있는 모든 패치가 설치됩니다. 여기에는 tar, jar 및 zip을 사용하여 만든 패치가 포함됩니다.

    -M 옵션은 scinstall -iFo 명령에는 필요하지 않습니다. -M 옵션은 단일 노드 클러스터 설치 과정에서 가장 효과적인 패치 설치 방법이기 때문에 이 절차에서 설명합니다. 그러나, 자신이 선호하는 패치 설치 방법을 사용할 수 있습니다.

  6. 노드를 재부트하십시오.

    Sun Cluster 소프트웨어 설치 후 재부트 과정에서 노드가 클러스터로 설정됩니다.

  7. (옵션) 클러스터 이름을 변경합니다.

    단일 노드 클러스터는 클러스터 노드와 동일한 이름으로 만들어집니다. 원하는 경우 클러스터 이름을 변경할 수 있습니다. scsetup 유틸리티를 사용하거나 다음 scconf 명령을 사용합니다.


    # /usr/cluster/bin/scconf -c -C cluster=newclustername
    

  8. scstat 명령을 사용하여 설치를 확인하십시오.


    # /usr/cluster/bin/scstat -n
    

    자세한 내용은 scstat(1M) 설명서 페이지를 참조하십시오.

  9. 클러스터 설치 모드가 비활성화 상태인지 확인하십시오.


    # /usr/cluster/bin/scconf -pv | grep "install mode"
    
  10. SPARC: VERITAS File System을 설치하시겠습니까?

예—단일 노드 클러스터에 Sun Cluster 소프트웨어 설치

다음은 scinstallscstat 명령을 사용하여 단일 노드 클러스터를 설치 및 확인하는 방법에 대한 예입니다. 이 예에는 모든 패치를 설치하는 내용도 포함되어 있습니다. 자세한 내용은 scinstall(1M)scstat(1M) 설명서 페이지를 참조하십시오.


# scinstall -iFo -M patchdir=/var/cluster/patches 

Checking device to use for global devices file system ... done
** Installing SunCluster 3.1 framework **
...
Installing patches ... done

Initializing cluster name to "phys-schost-1" ... done
Initializing authentication options ... 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 "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

Ensure that the EEPROM parameter "local-mac-address?" is set to "true" ... done

Ensure network routing is disabled ... done

Please reboot this machine.

# reboot
# scstat -n
-- Cluster Nodes --

                    Node name           Status
                    ---------           ------
  Cluster node:     phys-schost-1       Online
# scconf -pv | grep "install mode"
Cluster install mode:                   disabled