Sun Cluster Data Service for SAP Guide for Solaris OS

ProcedureHow to Register and Configure Sun Cluster HA for SAP With Central Instance

Use this procedure to configure Sun Cluster HA for SAP with central instance.

  1. Become superuser on one of the nodes in the cluster that hosts the central instance.

  2. Register the resource type for the central instance.


    # clresourcetype register SUNW.sap_ci | SUNW.sap_ci_v2
    
  3. Add the HAStoragePlus resource to the resource group for the central instance.


    # clresourcetype register SUNW.HAStoragePlus
    # clresource create  -g sap-ci-resource-group \
    -t SUNW.HAStoragePlus -p filesystemmountpoints=mountpoint,... ci-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 central instance resources in this failover resource group.


    # clresource create -d \
    -g sap-ci-failover-resource-group \
    -t SUNW.sap_ci | SUNW.sap_ci_v2 \
    -p SAPSID=SAPSID -p Ci_instance_id=ci-instance-id \
    -p Ci_startup_script=ci-startup-script \
    -p Ci_shutdown_script=ci-shutdown-script \
    -p resource_dependencies=ci-storage-resource,db-resource sap-ci-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 central instance. This dependency check is necessary only if the database is on the same cluster as that of the SAP central instance.


Next Steps

Go to How to Register and Configure Sun Cluster HA for SAP as a Failover Data Service or How to Register and Configure Sun Cluster HA for SAP as a Scalable Data Service.