Sun Cluster Data Service for SAP Web Application Server Guide for Solaris OS

How to Register and Configure an SAP Message Server Resource

The SAP enqueue server resource and the SAP message server resource must be in the same failover resource group because they fail over together.

The SAP message server resource is configured to depend on its associated HAStoragePlus resource. This dependency ensures that the SAP message server does not attempt to start until its associated HAStoragePlus resource is online.

  1. Register SUNW.sapscs, the resource type for the SAP message server.


    # scrgadm -a  -t SUNW.sapscs
    
    -a

    Specifies that a new resource type is to be added.

    -t SUNW.sapscs

    Specifies the name of the resource type to be added. This name is predefined for the SAP message server.

  2. Create an SAP message server resource in the SAP central services resource group.


    # scrgadm -a -j msg-rs -g central-rg -t SUNW.sapscs \
    -x SAP_SID=scs-system-ID \
    -x SAP_Instance_Number=scs-instance-number \
    -x SAP_Instance_Name=scs-instance-name \
    -x Msg_Server_Port=msg-server-port \
    -x Scs_Startup_Script=scs-server-startup-script \
    -x Scs_Shutdown_Script=scs-server-shutdown-script \
    -y Resource_Dependencies=hsp-central-rs
    
    -a

    Specifies that a new resource is to be added.

    -j msg-rs

    Specifies the name of the resource to be added.

    -g central-rg

    Specifies the resource group to which the resource is to be added. The SAP central services resource group is configured as a failover resource group.

    -t SUNW.sapscs

    Specifies that the SAP message server resource is an instance of the resource type that is named SUNW.sapscs.

    -x SAP_SID=scs-system-ID

    Specifies the SAP system ID for the SAP message server. This ID is SAPSYSTEMNAME in the SAP profile.

    -x SAP_Instance_Number=scs-instance-number

    Specifies the instance number for the SAP message server. This number is SAPSYSTEM in the SAP profile.

    -x SAP_Instance_Name=scs-instance-name

    Specifies the instance name for the SAP message server. This name is INSTANCE_NAME in the SAP profile.

    -x Msg_Server_Port=msg-server-port

    Specifies the listen port for the SAP message server.

    -x Scs_Startup_Script=scs-server-startup-script

    Specifies the full path to the startup script for the SAP message server instance.

    -x Scs_Shutdown_Script=scs-server-shutdown-script

    Specifies the full path to the shutdown script for the SAP message server instance.

    -y Resource_Dependencies=hsp-central-rs

    Specifies that the HAStoragePlus resource for the global device group on which the SAP message server is installed must be online in order for the SAP message server to be online.

  3. Verify that the default values for the SAP message server extension properties are acceptable.

    Refer to SUNW.sapscs Extension Properties.

  4. Enable the SAP message server resource.


    # scswitch -ej msg-rs
    
    -ej

    Specifies that the specified resource is to be enabled.

    msg-rs

    Specifies the name of the resource to be enabled.