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

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


    # clresourcegroup create -p Pathprefix=sge-root-dir sge-rg
    
    -p 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.

    sge-rg

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

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


    # clreslogicalhostname create  \
    -g sge-rg \
    -h hostlist \
    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

    -h hostlist

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

    sge-lh-rs

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