Sun Cluster 3.2 Release Notes for Solaris OS

ProcedureHow to Set Up the SAP Web Application Server on Non-Global Zones for HAStoragePlus Configuration

  1. On any node in the cluster, become superuser or assume a role that provides solaris.cluster.modify RBAC authorization.

  2. Create the scalable resource group with non-global zones that contain the HAStoragePlus resource.


       # clresourcegroup create \
         -p Maximum_primaries=m\
         -p Desired_primaries=n\
        [-n node-zone-list] hasp-resource-group
    
    -p Maximum_primaries=m

    Specifies the maximum number of active primaries for the resource group.

    -p Desired_primaries=n

    Specifies the number of active primaries on which the resource group should attempt to start.

    -n node-zone-list

    In the node list of a HAStoragePlus resource group, specifies the list of nodename:zonename pairs as the node list of the HAStoragePlus resource group, where the SAP instances can come online.

    hasp-resource-group

    Specifies the name of the scalable resource group to be added. This name must begin with an ASCII character.

  3. Register the resource type for the HAStoragePlus resource.


    # clresourcetype register HAStoragePlus
  4. Create the HAStoragePlus resource hasp-resource and define the SAP filesystem mount points and global device paths.


     # clresource create -g hasp-resource-group -t SUNW.HAStoragePlus \
        -p GlobalDevicePaths=/dev/global/dsk/d5s2,dsk/d6 \
        -p affinityon=false -p 
    FilesystemMountPoints=/sapmnt/JSC,/usr/sap/trans,/usr/sap/JSC hasp-resource
    
    -g hasp-resource-group

    Specifies the resource group name.

    GlobalDevicePaths

    Contains the following values:

    • Global device group names, such as sap-dg, dsk/d5

    • Paths to global devices, such as /dev/global/dsk/d5s2, /dev/md/sap-dg/dsk/d6

    FilesystemMountPoints

    Contains the following values:

    • Mount points of local or cluster file systems, such as /local/mirrlogA,/local/mirrlogB,/sapmnt/JSC,/usr/sap/JSC

    The HAStoragePlus resource is created in the enabled state.

  5. Register the resource type for the SAP application.


    # clresourcetype register resource-type
    
    resource-type

    Specifies the name of the resource type to be added. For more information, see Supported Products.

  6. Create a SAP resource group.


      # clresourcegroup create [-n node-zone-list] -p 
    RG_affinities=++hastorageplus-rg resource-group-1
    
    resource-group-1

    Specifies the SAP services resource group.

  7. Add the SAP application resource to resource-group-1 and set the dependency to hastorageplus-1.


       # clresource create -g resource-group-1 -t SUNW.application \
         [-p "extension-property[{node-specifier}]"=value, ?] \
         -p Resource_dependencies=hastorageplus-1 resource
    
  8. Bring the failover resource group online.


    # clresourcegroup online resource-group-1