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 für die SharedAddress -Ressource.
# scrgadm -a -g sa_rg |
Erstellen Sie die SharedAddress-Ressource auf sa_rg.
# scrgadm -a -S -g sa_rg -l hhead |
Erstellen Sie die Ressourcengruppe für den Scalable-Dienst.
# scrgadm -a -g app_rg -y Maximum_primaries=2 \ -y Desired_primaries=2 -y RG_dependencies=sa_rg |
Erstellen Sie die Ressource für den Scalable-Dienst.
# scrgadm -a -j app_rs -g app_rg -t SUNW.gds \ -y Scalable=TRUE -y Start_timeout=120 \ -y Stop_timeout=120 -x Probe_timeout=120 \ -y Port_list="2222/tcp" \ -x Start_command="/export/app/bin/start" \ -x Stop_command="/export/app/bin/stop" \ -x Probe_command="/export/app/bin/probe" \ -x Child_mon_level=0 -y Network_resource_used=hhead \ -x Failover_enabled=TRUE -x Stop_signal=9 |
Bringen Sie die Ressourcengruppe, welche die Netzwerkressourcen enthält, online.
# scswitch -Z -g sa_rg |
Bingen Sie die Ressourcengruppe app_rg online.
# scswitch -Z -g app_rg |