Add hosts

Set up hosts to join the cluster.

Note:

You must run hostsetup on SGI hosts (IRIX, TRIX, and Altix), HP-UX hosts, and Linux QsNet hosts. Running hostsetup is optional on all other systems.

# 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").

For Platform LSF on the following systems, running hostsetup does the following things:
  • For SGI IRIX, TRIX, and Altix cpuset hosts, hostsetup adds the cpuset Boolean resource to the HOSTS section of lsf.cluster.cluster_name for each cpuset host.

  • For HP-UX pset hosts, hostsetup adds the pset Boolean resource to the HOSTS section of lsf.cluster.cluster_name for each pset host.

  • For Linux QsNet hosts, hostsetup:
    • Configures lsf.cluster.cluster_name to assign the Boolean resource rms defined in lsf.shared to all LSF hosts that run on an RMS partition.

    • Creates a table named lsfrids in the RMS database. This table is used internally by LSF.

Running host setup remotely (rhostsetup)

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).

Use the rhostsetup script to launch hostsetup on remote hosts.

rhostsetup uses either ssh or rsh. It is included in the installation script tar file lsf7Update6_lsfinstall.tar.Z and is located in the lsf7Update6_lsfinstall directory created when you uncompress and extract installation script tar file.

After installation, rhostsetup is located in LSF_TOP/7.0/install/.

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