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

How to Enable Sun Grid Engine to Run in a Cluster

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

  2. Create a failover resource group to contain the Sun Cluster HA for Sun Grid Engine resources.

    Use the resource group that you identified when you answered the questions in Configuration Planning Questions.


    # scrgadm -a -g sge-rg \
     -y Pathprefix=sge-root-dir
    
    -g sge-rg

    Specifies that the resource group that you are creating is named sge-rg.

    -y Pathprefix= sge-root-dir

    Specifies a directory on a cluster file system that Sun Cluster HA for NFS uses to maintain administrative and status information. This directory must be the directory that you created for the root of the Sun Grid Engine file system in Preparing the Nodes and Disks.

  3. Add a resource for the Sun Grid Engine logical host name to the failover resource group that you created in Step 2.


    # scrgadm -a -L -j sge-lh-rs \
    -g sge-rg \
    -l hostlist
    
    -j sge-lh-rs

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

    -g sge-rg

    Specifies that the logical host name resource is to be added to the failover resource group that you created in Step 2

    -l hostlist

    Specifies a comma-separated list of host names that are to be made available by this logical host name resource