Solaris OS용 Sun Cluster 데이터 서비스 개발 안내서

ProcedureSun Cluster 관리 명령을 사용하여 GDS를 사용하는 고가용성 서비스를 만드는 방법

단계
  1. 수퍼유저가 되거나 동등한 역할을 맡습니다.

  2. 자원 유형 SUNW.gds를 등록하십시오.


    # scrgadm -a -t SUNW.gds
    
  3. LogicalHostname 자원과 페일오버 서비스 자체를 포함하는 자원 그룹을 만듭니다.


    # scrgadm -a -g haapp_rg
    
  4. LogicalHostname 자원을 위한 자원을 만듭니다.


    # scrgadm -a -L -g haapp_rs -l hhead
    
  5. 페일오버 서비스 자체를 위한 자원을 만듭니다.


    # scrgadm -a -j haapp_rs -g haapp_rg -t SUNW.gds \
             -y Scalable=false -y Start_timeout=120 \
             -y Stop_timeout=120 -x Probe_timeout=120 \
             -y Port_list="2222/tcp" \
             -x Start_command="/export/ha/appctl/start" \
             -x Stop_command="/export/ha/appctl/stop" \    
             -x Probe_command="/export/app/bin/probe" \
             -x Child_mon_level=0 -y Network_resources_used=hhead \
             -x Failover_enabled=TRUE -x Stop_signal=9
    
  6. 자원 그룹 haapp_rg를 온라인 상태로 전환합니다.


    # scswitch -Z -g haapp_rg