Automatically detect operating system types and versions

About this task

LSF can automatically detect most operating system types and versions so that you do not need to add them to the lsf.shared file manually. The list of automatically detected operating systems is updated regularly.

Procedure

  1. Edit lsf.shared.
  2. In the Resource section, remove the comment from the following line:

    ostype   String   ()   ()   ()   (Operating system and version)

  3. In $LSF_SERVERDIR, rename tmp.eslim.ostype to eslim.ostype.
  4. Run the following commands to restart the LIM and master batch daemon:
    1. lsadmin reconfig

    2. badmin mbdrestart

  5. To view operating system types and versions, run lshosts -l or lshosts -s.

    LSF displays the operating system types and versions in your cluster, including any that LSF automatically detects as well as those you have defined manually in the HostType section of lsf.shared.

Results

You can specify ostype in your resource requirement strings. For example, when submitting a job you can specify the following resource requirement: -R "select[ostype=RHEL2.6]".

Modify how long LSF waits for new operating system types and versions

Before you begin

You must enable LSF to automatically detect operating system types and versions.

About this task

You can configure how long LSF waits for OS type and version detection.

Procedure

In lsf.conf, modify the value for EGO_ESLIM_TIMEOUT.

The value is time in seconds.