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.


    # clresourcetype register SUNW.sap_as
    

    # clresourcetype register SUNW.sap_as_v2
    
  3. Add the HAStoragePlus resource to the resource group for the failover application server.


    # clresource register SUNW.HAStoragePlus
    # clresource create -g sap-as-fo-resource-group \
    -t SUNW.HAStoragePlus \
    -p filesystemmountpoints=mountpoint,... sap-as-storage-resource
    

    The resource is created in the enabled state.

    For more details about 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. Create SAP application server resources in their failover resource group.


    # clresource create  \
    -g sap-as-fo-resource-group \
    -t SUNW.sap_as | SUNW.sap_as_v2 \
    -p SAPSID=SAPSID -p As_instance_id=as-instance-id \
    -p As_startup_script=as-startup-script \
    -p As_shutdown_script=as-shutdown-script \
    -p resource_dependencies=sap-as-storage-resource,db-resource sap-as-resource
    

    The resource is created in the enabled state.

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


    Note –

    SAP application requires that the database should be online before the SAP application can start. Setting the resource dependency value to the database will ensure that it checks for the resource to be online before starting the SAP application server. This dependency check is necessary only if the database is on the same cluster as that of the SAP application server.


Next Steps

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