Sun Cluster Data Service for SAP Guide for Solaris OS

ProcedureHow to Register and Configure Sun Cluster HA for SAP as a Failover Data Service

Use this procedure to configure Sun Cluster HA for SAP as a failover data service.

  1. Become superuser on one of the nodes in the cluster that hosts the application server.

  2. Register the resource type for the failover application server.

    # scrgadm -a -t SUNW.sap_as | SUNW.sap_as_v2
  3. Add the HAStoragePlus resource to the failover application server resource group.

    # scrgadm -a -t SUNW.HAStoragePlus
    # scrgadm -a -j sap-as-storage-resource -g sap-as-fo-resource-group \
    -t SUNW.HAStoragePlus \
    -x filesystemmountpoints=mountpoint, ...

    For more details on how to set up an HAStoragePlus resource, see Enabling Highly Available Local File Systems in Sun Cluster Data Services Planning and Administration Guide for Solaris OS.

  4. Enable the failover application server storage resource.

    # scswitch -e -j sap-as-storage-resource
  5. Create SAP application server resources in their 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 \
    -y resource_dependencies=sap-as-storage-resource

    See Sun Cluster HA for SAP Extension Properties for a list of extension properties.

  6. Enable the failover resource group that now includes the SAP application server resource.

    # scswitch -Z -g sap-as-fo-resource-group
Next Steps

Go to How to Verify Sun Cluster HA for SAP Installation and Configuration and Central Instance.