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

Specifying Configuration Parameters for Sun Cluster HA for Sun Grid Engine Resources

Sun Cluster HA for Sun Grid Engine provides scripts that automate the process of configuring and removing Sun Cluster HA for Sun Grid Engine resources. These scripts obtain configuration parameters from the sge_config file in the /opt/SUNWscsge/util/ directory. To specify configuration parameters for Sun Cluster HA for Sun Grid Engine resources, edit the sge_config file.

Each configuration parameter in the sge_config file is defined as a keyword-value pair. The sge_config file already contains the required keywords and equals signs. For more information, see Listing of sge_config. When you edit the sge_config file, add the required value to each keyword. Use the values that you identified in Configuration Planning Questions.

The keyword-value pairs in the sge_config file are as follows:

COMMDRS=sge-commd-rs
QMASTERRS=sge-qmaster-rs
SCHEDDRS=sge-schedd-rs
RG=sge-rg
LH=sge-lh-rs
SGE_ROOT=sge-root-dir
SGE_CELL=cell-name
PORT=portno
USE_INTERNAL_DEP=FALSE|TRUE

The meaning and permitted values of the keywords in the sge_config file are as follows:

COMMDRSS=sge-commd-rs

Specifies the name that you are assigning to the resource for the Sun Grid Engine communications daemon sge_commd.

QMASTERRS=sge-qmaster-rs

Specifies the name that you are assigning to the resource for the Sun Grid Engine queue master daemon sge_qmaster.

SCHEDDRS=sge-schedd-rs

Specifies the name that you are assigning to the resource for the Sun Grid Engine scheduling daemon sge_schedd.

RG=sge-rg

Specifies the name of the resource group that contains the Sun Cluster HA for Sun Grid Engine resources. This name must be the name that you assigned when you created the resource group as explained in How to Enable Sun Grid Engine to Run in a Cluster.

LH=sge-lh-rs

Specifies the name of the logical host name resource for Sun Grid Engine. This name must be the name that you assigned when you created the resource in How to Enable Sun Grid Engine to Run in a Cluster.

SGE_ROOT=sge-root-dir

Specifies the root directory of the Sun Grid Engine file system. This directory must be the directory that you created for root of the Sun Grid Engine file system in Preparing the Nodes and Disks.

SGE_CELL=cell-name

Specifies the cell that Sun Grid Engine references.

PORT=portno

The port number is ignored. You can specify any integer for PORT. In the sge_config file, PORT is preset to 1234.

USE_INTERNAL_DEP=FALSE|TRUE

Specifies whether dependencies are to be set between resource groups. The possible values for this keyword are as follows:

FALSE

Specifies that dependencies are not to be set between resource groups.

TRUE

Specifies that dependencies are to be set between resource groups.

In the sge_config file, USE_INTERNAL_DEP is preset to FALSE.


Example 1–3 Sample sge_config File

This example shows an sge_config file in which configuration parameters are set as follows:

COMMDRS=sge_commd-rs
QMASTERRS=sge_qmaster-rs
SCHEDDRS=sge_schedd-rs
RG=sge-rg
LH=sge-lh-rs 
SGE_ROOT=/global/gridmaster
SGE_CELL=default
PORT=1234
USE_INTERNAL_DEP=FALSE