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 Engineprovides 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:

QMASTERRS=sge-qmaster-rs
SCHEDDRS=sge-schedd-rs
MASTERRG=sge-rg
MASTERLH=sge-lh-rs
MASTERPORT=portno
MASTERHASP=sge-hasp-rs
SGE_ROOT=sge-root-dir
SGE_CELL=cell-name
SGE_VER=6.0

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

QMASTERRS=sge-qmaster-rs

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

SCHEDDRS=sge-schedd-rs

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

MASTERRG=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. This must be defined.

MASTERLH=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. This must be defined.

MASTERPORT=portno

Specifies the port number that is configured for sge_qmaster, the default is set to 536. It must be an integer and must be defined.

MASTERHASP=sge-hasp-rs

Specifies the name of the SUNW.HAStoragePlus resource for Sun Grid Engine. This name must be the name that you assigned when you created the resource in Configuring the HAStoragePlus Resource Type to Work With Sun Cluster HA for Sun Grid Engine. If this resource is used it must be defined.

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. This must be defined.

SGE_CELL=cell-name

Specifies the cell that Sun Grid Engine references. This must be defined.

SGE_VER=6.0

Specifies the version of the installed Sun Grid Engine configuration. This keyword needs to be defined and can currently only have the value of "6.0".


Example 3 Sample sge_config File

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

QMASTERRS=sge_qmaster-rs
SCHEDDRS=sge_schedd-rs
MASTERRG=sge-rg
MASTERLH=sge-lh-rs
MASTERPORT=536
MASTERHASP=sge-hasp-rs
SGE_ROOT=/global/gridmaster
SGE_CELL=default
SGE_VER=6.0