수퍼유저가 되거나 동등한 역할을 맡습니다.
자원 유형 SUNW.gds를 등록하십시오.
# scrgadm -a -t SUNW.gds |
LogicalHostname 자원과 페일오버 서비스 자체를 포함하는 자원 그룹을 만듭니다.
# scrgadm -a -g haapp_rg |
LogicalHostname 자원을 위한 자원을 만듭니다.
# scrgadm -a -L -g haapp_rs -l hhead |
페일오버 서비스 자체를 위한 자원을 만듭니다.
# 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 |
자원 그룹 haapp_rg를 온라인 상태로 전환합니다.
# scswitch -Z -g haapp_rg |