Add hosts

Set up hosts to join the cluster.

About this task

Note:

If you will be running IBM POE jobs using IBM Parallel Environment Runtime Edition (or IBM PE Runtime Edition) you must run hostsetup.

If you are integrating LSF with IBM Parallel Environment (PE), you must run hostsetup as root.

Procedure

  1. # hostsetup --top="/usr/share/lsf" --boot="y"

    This sets up a host to use the cluster installed in /usr/share/lsf. It also configures the LSF daemons to start automatically (--boot="y").

  2. # hostsetup --top="/usr/share/lsf" --silent

    This is the silent installation option which does not display any output messages.

Running host setup remotely (rhostsetup)

Before you begin

Before using rhostsetup, you must configure the following parameters at the top of the script:

  • LSF_RSHCMD: Remote shell command (e.g, rsh or ssh) accessing the remote host.

  • LSF_HOSTS: Lists hosts to run hostsetup on.

  • LSF_TOPDIR: Sets the hostsetup --top option. Specify the full path to the top-level installation directory. rhostsetup tries to detect this from lsf.conf if it is not defined here.

  • LSF_BOOT: Sets the hostsetup --boot option. Default is no (n).

  • LSF_QUIET: Sets the hostsetup --quiet option. Default is no (n).

About this task

Use the rhostsetup script to launch hostsetup on remote hosts.

If you are integrating LSF with IBM Parallel Environment (PE), you must run rhostsetup as root.

rhostsetup uses either ssh or rsh. It is included in the installer script package lsf9.1.2_lsfinstall.tar.Z and is located in the lsf9.1.2_lsfinstall directory created when you uncompress and extract the installer script package.

After installation, rhostsetup is located in <LSF_TOP>/9.1/install/.

Procedure

Run the rhostsetup script.

Example

For example:
LSF_RSHCMD="ssh -n"
LSF_HOSTS="hostA hostB hostC"
LSF_TOPDIR=/usr/local/ls
LSF_BOOT=y
LSF_QUIET=n