スーパーユーザーになるか、同等の役割になります。
リソースタイプ 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 |