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.

Steps
  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.


    # scrgadm -a -t SUNW.sap_ci | SUNW.sap_ci_v2
    
  3. Add the HAStoragePlus resource to the central instance resource group.


    # scrgadm -a -t SUNW.HAStoragePlus
    # scrgadm -a -j ci-storage-resource \
    -g sap-ci-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 central instance storage resource.


    # scswitch -e -j ci-storage-resource
    
  5. Create SAP central instance resources in this failover resource group.


    # scrgadm -a -j sap-ci-resource \
    -g sap-ci-resource-group\
    -t SUNW.sap_ci | SUNW.sap_ci_v2
    -x SAPSID=SAPSID -x Ci_instance_id=ci-instance-id \
    -x Ci_startup_script=ci-startup-script \
    -x Ci_shutdown_script=ci-shutdown-script \
    -y resource_dependencies=ci-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 central instance resource.


    # scswitch -Z -g sap-ci-resource-group
    

    If you configure the central instance resource to shut down a development system, you will receive the following console message.


    ERROR  : SAPSYSTEMNAME not set
    Please check environment and restart

    This message is displayed when the central instance starts on a node that does not have the development system installed and that is not meant to run the central instance. SAP renders this message, and you can safely ignore it.

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.