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:
Specifies the name that you are assigning to the resource for the Sun Grid Engine queue master daemon sge_qmaster. This must be defined.
Specifies the name that you are assigning to the resource for the Sun Grid Engine scheduling daemon sge_schedd. This must be defined.
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.
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.
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.
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.
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.
Specifies the cell that Sun Grid Engine references. This must be defined.
Specifies the version of the installed Sun Grid Engine configuration. This keyword must be defined and set the value to "6.0".
You must set the SGE_VER keyword to “6.0”, even if you are using Sun Grid Engine version 6.1.
This example shows an sge_config file in which configuration parameters are set as follows:
The name of the resource for the Sun Grid Engine queue master daemon sge_qmaster is sge_qmaster-rs.
The name of the resource for the Sun Grid Engine scheduling daemon sge_schedd is sge_schedd-rs.
The name of the resource group that contains the Sun Cluster HA for Sun Grid Engine resources is sge-rg.
The name of the logical host name resource for Sun Grid Engine is sge-lh-rs.
The port number for sge_qmaster is set to 536.
The name of the SUNW.HAStoragePlus resource for Sun Grid Engine is sge-hasp-rs.
The root directory of the Sun Grid Engine file system is /global/gridmaster.
Sun Grid Engine references the default cell.
The version for Sun Grid Engine is set to 6.0.
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