Sun Cluster 3.0 U1 Data Services Installation and Configuration Guide

How to Register and Configure Sun Cluster HA for SAP With Application Server

To register and configure the Sun Cluster HA for SAP data service with an application server, perform the following steps.

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

  2. Register the resource type for the SAP data server.

    For application server, run the scrgadm command to register the resource type SUNW.sap_as.


    # scrgadm -a -t SUNW.sap_as
    
  3. Run the scrgadm command to create SAP application server resources in this failover resource group.


    # scrgadm -a -j sap-as-resource -g sap-as-resource-group -t SUNW.sap_as 
    
    -x SAPSID=SAPSID 
    
    -x As_instance_id=as-instance-id 
    
    -x As_startup_script=as-startup-script 
    
    -x As_shutdown_script=as-shutdown-script
    
  4. Run the scswitch command to enable the resource group that now includes the SAP application-server resource.


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