To register and configure Sun Cluster HA for SAP for a failover application server, perform the following steps.
Become superuser on one of the nodes in the cluster that hosts the application server.
Register the resource type for the failover application server.
# scrgadm -a -t SUNW.sap_as | SUNW.sap_as_v2 |
Create SAP application server resources in this failover resource group.
# scrgadm -a -j sap-as-resource -g sap-as-fo-resource-group \ -t SUNW.sap_as | SUNW.sap_as_v2 \ -x SAPSID=SAPSID \ -x As_instance_id=as-instance-id \ -x As_startup_script=as-startup-script \ -x As_shutdown_script=as-shutdown-script |
See "Configuring Sun Cluster HA for SAP Extension Properties" for a list of extension properties.
Enable the failover resource group that now includes the SAP application server resource.
# scswitch -Z -g sap-as-fo-resource-group |