Nehmen Sie Superuser-Status oder eine entsprechende administrative Rolle an.
Registrieren Sie den Ressourcentyp SUNW.gds.
# scrgadm -a -t SUNW.gds |
Erstellen Sie die Ressourcengruppe, welche die LogicalHostname-Ressource und den Failover-Dienst selbst enthält.
# scrgadm -a -g haapp_rg |
Erstellen Sie die Ressource für die LogicalHostname -Ressource.
# scrgadm -a -L -g haapp_rs -l hhead |
Erstellen Sie die Ressource für den Failover-Dienst selbst.
# 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
|
Bringen Sie die Ressourcengruppe haapp_rg online.
# scswitch -Z -g haapp_rg |