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

ProcedureHow to Register and Configure HAStoragePlus Resources for the SAP Central Services Components

An HAStoragePlus resource is created to ensure the high availability of the global device groups where the components are installed.

Steps
  1. Register the SUNW.HAStoragePlus resource type.


    # scrgadm -a -t SUNW.HAStoragePlus
    
  2. Create an HAStoragePlus resource for the global device group on which the SAP enqueue server and the SAP message server are installed.

    Create this resource in the SAP central services resource group, which is the resource group to which the SAP enqueue server and the SAP message server resources belong.


    # scrgadm -a -j hsp-central-rs -g central-rg -t SUNW.HAStoragePlus \
    -x filesystemmountpoints="mountpoint-list" \
    -x globaldevicepaths=sapenq-device-group
    
    -a

    Specifies that a new configuration is to be added.

    -j hsp-central-rs

    Specifies the name of the resource that you are creating.

    -g central-rg

    Specifies that the resource is to be added to the SAP central services resource group.

    -t SUNW.HAStoragePlus

    Specifies that the resource is an instance of the SUNW.HAStoragePlus resource type.

    -x filesystemmountpoints="mountpoint-list"

    Specifies a list of valid mount points for the file system. For more information, see the SUNW.HAStoragePlus(5) man page.

    -x globaldevicepaths=sapenq-device-group

    Specifies the name of the global device group on which the SAP enqueue server software and the SAP message server software are installed.

  3. Enable the HAStoragePlus resource that you created in Step 2.


    # scswitch -ej hsp-central-rs
    
    -ej hsp-central-rs

    Specifies that the HAStoragePlus resource that you created in Step 2 is to be enabled

  4. Create an HAStoragePlus resource for the global device group on which SAP replica server is installed.

    Create this resource in the SAP replica server resource group.


    # scrgadm -a -j hsp-repl-rs -g repl-rg -t SUNW.HAStoragePlus \
    -x filesystemmountpoints="mountpoint-list" \
    -x globaldevicepaths=saprepl-device-group
    
    -a

    Specifies that a new configuration is to be added.

    -j hsp-repl-rs

    Specifies the name of the resource that you are creating.

    -g repl-rg

    Specifies that the resource is to be added to the SAP replica server resource group.

    -t SUNW.HAStoragePlus

    Specifies that the resource is an instance of the SUNW.HAStoragePlus resource type.

    -x filesystemmountpoints="mountpoint-list"

    Specifies a list of valid mount points for the file system. For more information, see the SUNW.HAStoragePlus(5) man page.

    -x globaldevicepaths=saprepl-device-group

    Specifies the name of the global device group on which the SAP replica server software is installed.

  5. Enable the HAStoragePlus resource that you created in Step 4.


    # scswitch -ej hsp-repl-rs
    
    -ej hsp-repl-rs

    Specifies that the HAStoragePlus resource that you created in Step 4 is to be enabled