Sun N1 Grid Engine 6.1 Installation Guide

ProcedureHow to Automate the Master Host Installation

Before You Begin

You need to complete the planning process as outlined in Plan the Installation.

In addition, you need to be able to connect to each of the remote hosts using the rsh or ssh commands, without supplying a password. If this type of access is not allowed on your network, you cannot use this method of installation.

  1. Create a copy of the configuration template, sge-root/util/install_modules/inst_template.conf.


    # cd sge-root/util/install_modules
    # cp inst_template.conf my_configuration.conf
    
  2. Edit your configuration template, using the values from the worksheet you completed in Plan the Installation.

    The configuration file template includes liberal comments to help you decide where appropriate information belongs. See Configuration File Templates.

  3. Log in as root on the system that you want to be the N1 Grid Engine master host.

  4. Create the sge-root directory.

    The sge-root directory is the root directory of the N1 Grid Engine software hierarchy.

  5. Go to the sge-root directory and start the installation.


    # cd sge-root
    # ./inst_sge -m -auto full-path-to-configuration-file
    

    The -m option starts the master host installation and installs the master daemon on the local machine. In addition, the -auto option sets up any remote hosts, as specified in the configuration file.


    Note –

    You cannot install remotely a master host. You must always install a master host locally.


    To prevent data loss or destroying already installed clusters, the automatic installation terminates if the configured $SGE_CELL directory or the configured Berkeley DB spooling directory already exists. If the installation terminates, the script displays the reason for the termination on the screen.

    A log file of the master installation is created in the sge-root/default/spool/qmaster directory. The file name is created using the format install_hostname_date_time.log.


    Tip –

    You can also combine options if you want to perform multiple installations with one command. For example, the following command installs the master daemon on the local machine and installs all execution hosts that are configured in the configuration file:


    ./inst_sge -m -x -auto full-path-to-configuration-file
    

    Wait for notification that the installation has completed.

    When the automatic installation exits successfully, it displays a message similar to the following:


    Install log can be found in: /opt/n1ge61/spool/install_myhost_30mar2007_090152.log

    The installation log file includes any script or error messages that were generated during installation. If the qmaster_spooling_dir directory exists, the log files will be in that directory. If the directory does not exist, the log files will be in the /tmp directory.

Troubleshooting

If you do not want your execution hosts to spool locally, be sure to set EXECD_SPOOL_DIR_LOCAL="", with no space between the double quotes ("").