Sun Cluster Data Service for Sun Grid Engine Guide for Solaris OS

Configuring the HAStoragePlus Resource Type to Work With Sun Cluster HA for Sun Grid Engine

For maximum availability of the Sun Grid Engine application, resources that Sun Cluster HA for Sun Grid Engine requires must be available before the Sun Grid Engine management tier is started. An example of such a resource is the Sun Grid Engine file system. To ensure that these resources are available, configure the HAStoragePlus resource type to work with Sun Cluster HA for Sun Grid Engine.

For information about the relationship between resource groups and disk device groups, see “Relationship Between Resource Groups and Disk Device Groups” in Sun Cluster Data Services Planning and Administration Guide for Solaris OS.

Configuring the HAStoragePlus resource type to work with Sun Cluster HA for Sun Grid Engine involves the following operations:

How to Register and Configure an HAStoragePlus Resource

  1. Become superuser on a node in the cluster that will host Sun Grid Engine.

  2. Register the SUNW.HAStoragePlus resource type.


    # scrgadm -a -t SUNW.HAStoragePlus
    
  3. Add an HAStoragePlus resource for the Sun Grid Engine file system to the resource group that you created in How to Enable Sun Grid Engine to Run in a Cluster.


    # scrgadm -a -j sge-hasp-rs \
    -g sge-rg \
    -t SUNW.HAStoragePlus  \
    -x FilesystemMountPoints=sge-root
    
    -j sge-hasp-rs

    Specifies that the resource that you are creating is named sge-hasp-rs

    -g sge-rg

    Specifies that the resource is to be added to the resource group that you created in How to Enable Sun Grid Engine to Run in a Cluster

    -x FilesystemMountPoints=sge-root

    Specifies that the mount point for this file system is the root of the Sun Grid Engine file system