Conviértase en superusuario o asuma una función similar.
Registre el tipo de recurso SUNW.gds.
# scrgadm -a -t SUNW.gds |
Cree el grupo de recursos que contenga el recurso LogicalHostname y el servicio de recuperación ante fallos.
# scrgadm -a -g haapp_rg |
Cree el recurso para LogicalHostname .
# scrgadm -a -L -g haapp_rs -l hhead |
Cree el recurso para el servicio de recuperación ante fallos.
# 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
|
Ponga el grupo de recursos haapp_rg en línea.
# scswitch -Z -g haapp_rg |