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:

How to Prepare the Nodes and Disks

  1. Become superuser of the cluster node where you are installing Sun Grid Engine.

  2. Create an administrative user account for Sun Grid Engine.

    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
    
  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_commd service.

    Choose an unused port number below 1024. The sge_commd service is 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_commd	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–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_commd service is to be provided through port 536 and TCP, the following line is added to the /etc/services file:

    sge_commd	536/tcp