Preparing the nodes and disks modifies the configuration of the operating system to enable Sun Cluster HA for Sun Grid Engine to eliminate single points of failure in a Sun Grid Engine system.
Before you begin, ensure that the requirements in the following sections are met:
Become superuser on all the cluster nodes where you are installing Sun Grid Engine.
Either select an existing user account other than root for the grid administration, or create an account specifically for grid administration.
# mkdir sge-root-dir
The sge-root-dir must reside in the cluster filesystem. Refer to Configuring the HAStoragePlus Resource Type to Work With Sun Cluster HA for Sun Grid Engine for more details.
Change the owner of the root of the Sun Grid Engine file system to the administrative user whose account you created in Step 2.
# chown sge-admin sge-root-dir
Set the mode of the root of Sun Grid Engine file system to drwxr-xr-x .
# chmod 755 sge-root-dir
sge_qmaster port-no/tcp sge_execd port-no/tcp
For each type of host in the grid, create a plain text file that contains the names of all hosts of that type in the grid.
The install_qmaster script uses these files when you install Sun Grid Engine. Create a separate file for each type of host in the grid:
This example shows how to prepare the nodes and disks for a Sun Grid Engine installation that is to be configured as follows:
The root of Sun Grid Engine file system is the /global/gridmaster directory. This directory resides in the cluster file system.
The account for grid administration is named sgeadmin.
The sge_qmaster service is to be provided through port 536 and TCP.
The sge_execd service is to be provided through port 537 and TCP.
The sequence of operations for preparing the nodes and disks for the installation of Sun Grid Engine is as follows:
To create the /global/gridmaster directory for the root of Sun Grid Engine file system, the following command is run:
# mkdir /global/gridmaster
To change the owner of the /global/gridmaster directory to the sgeadmin user, the following command is run:
# chown sgeadmin /global/gridmaster
To set the mode of the /global/gridmaster directory to drwxr-xr-x, the following command is run:
# chmod 755 /global/gridmaster
To specify that the sge_qmaster service is to be provided through port 536 and TCP, and that the sge_execd service is to be provided through port 537 and TCP, the following line is added to the /etc/services file:
sge_qmaster 536/tcp sge_execd 537/tcp