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

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


    # clresourcetype register  SUNW.sapscs
    
    register

    Specifies that a new resource type is to be added.

    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.


    # clresource create -d -g central-rg -t SUNW.sapscs \
    -p sap_sid=scs-system-ID \
    -p sap_instance_number=scs-instance-number \
    -p sap_instance_name=scs-instance-name \
    -p msg_server_port=msg-server-port \
    -p scs_startup_script=scs-server-startup-script \
    -p scs_shutdown_script=scs-server-shutdown-script \
    -p resource_dependencies=hsp-central-rs,db-resource msg-rs
    
    -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.

    -p sap_sid=scs-system-ID

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

    -p sap_instance_number=scs-instance-number

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

    -p sap_instance_name=scs-instance-name

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

    -p msg_server_port=msg-server-port

    Specifies the listen port for the SAP message server.

    -p scs_startup_script=scs-server-startup-script

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

    -p scs_shutdown_script=scs-server-shutdown-script

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

    -p resource_dependencies=hsp-central-rs,db-resource

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

    msg-rs

    Specifies the name of the resource to be added.

    The resource is created in the enabled state.

  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.


    # clresource enable msg-rs
    
    enable

    Specifies that the specified resource is to be enabled.

    msg-rs

    Specifies the name of the resource to be enabled.