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

Preparing the Nodes and Disks

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:

ProcedureHow to Prepare the Nodes and Disks

  1. Become superuser on all the cluster nodes where you are installing Sun Grid Engine.

  2. Create an administrative user account for Sun Grid Engine on all those cluster nodes.

    Either select an existing user account other than root for the grid administration, or create an account specifically for grid administration.


    Tip –

    For consistency with the Sun Grid Engine documentation, name the account sgeadmin.


  3. Create a directory for the root of Sun Grid Engine file system.


    # mkdir sge-root-dir
    

    Note –

    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.


  4. 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
    
  5. Set the mode of the root of Sun Grid Engine file system to drwxr-xr-x .


    # chmod 755 sge-root-dir
    
  6. Specify the port number and protocol for the sge_qmaster and sge_execd services.

    Choose an unused port number below 1024. The sge_qmaster and sge_execd services are to be provided through Transmission Control Protocol (TCP).

    To specify the port number and protocol, add the following line to the /etc/services file.

    sge_qmaster	port-no/tcp
    sge_execd  	port-no/tcp
  7. 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:

    • Execution hosts

    • Administrative hosts

    • Submit hosts


Example 1 Preparing the Nodes and Disks for the Installation of Sun Grid Engine

This example shows how to prepare the nodes and disks for a Sun Grid Engine installation that is to be configured as follows:

The sequence of operations for preparing the nodes and disks for the installation of Sun Grid Engine is as follows:

  1. To create the /global/gridmaster directory for the root of Sun Grid Engine file system, the following command is run:


    # mkdir /global/gridmaster
    
  2. To change the owner of the /global/gridmaster directory to the sgeadmin user, the following command is run:


    # chown sgeadmin /global/gridmaster
    
  3. To set the mode of the /global/gridmaster directory to drwxr-xr-x, the following command is run:


    # chmod 755 /global/gridmaster
    
  4. 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