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

ProcedureHow to Install and Configure Sun Grid Engine

Before you begin, ensure that you have the host names of all hosts in the grid. Create a separate list of host names for each type of host in the grid:

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

  2. Install the Sun Grid Engine distribution files. You have to choose between the tar.gz format and the pkgadd format.

    Follow the instructions outlined in How to Load the Distribution Files On a Workstation in the N1 Grid Engine 6 Installation Guide.


    Note –

    If you choose the pkgadd format, you need to make sure to install Patches for the Sun Grid Engine software on exactly the same node the Sun Grid Engine packages are registered on.


  3. Set the SGE_ROOT environment variable to the directory for the root of Sun Grid Engine file system that you created in Preparing the Nodes and Disks.


    # SGE_ROOT=sge-root-dir 
    # export SGE_ROOT
    
  4. Go to the directory for the root of Sun Grid Engine file system.


    # cd sge-root-dir
    
  5. Start the script that installs the Sun Grid Engine master host.


    # ./install_qmaster
    
  6. Follow the prompts on screen to provide or confirm the following information:

    • The name of the Sun Grid Engine administrative user

    • The value of the SGE_ROOT environment variable

    • The TCP port number

    • The name of the Sun Grid Engine cell to be configured

    • The path to the spool directory

    • The setup for the correct file permissions

    • Details of your domain name service (DNS) domains

  7. When you are asked whether you want to use classic spooling or Berkley DB, do not choose to use a Berkely DB spooling Server.

    Either choose the classic spooling method, or choose Berkley DB with local spooling.

  8. When you are prompted, specify the range of group IDs for Sun Grid Engine to use.

    To ensure that you allocate enough group IDs, specify a range of approximately 100 group IDs, for example, 20000-20100.

  9. Follow the prompts on screen to provide or confirm the following information:

    • The path to the spooling directory for the execution daemon

    • The email address of the user who should receive problem reports

    • Confirm the configuration parameters

  10. When you are asked if you want to install the script that starts Sun Grid Engine at boot time, reply no.

    You are asked if you want to install the script that starts Sun Grid Engine at boot time.


    We can install the startup script that will
    start qmaster/scheduler at machine boot (y/n) [y] >> n
    

    To ensure that Sun Cluster HA for Sun Grid Engine can provide fault monitoring and automatic fault recovery, Sun Grid Engine must be started only by Sun Cluster.

  11. Follow the prompts on screen to provide or confirm the following information:

    • Specify the list of execution, admin and submit hosts

    • Do not use a shadow host

    • Select a scheduler profile