LSF uses some or all of the hosts in a cluster as execution hosts. The host list is configured by the LSF administrator.
bhosts displays condensed information for hosts that belong to condensed host groups. When displaying members of a condensed host group, bhosts lists the host group name instead of the name of the individual host. For example, in a cluster with a condensed host group (groupA), an uncondensed host group (groupB containing hostC and hostE), and a host that is not in any host group (hostF), bhosts displays the following:
bhostsHOST_NAME STATUS JL/U MAX NJOBS RUN SSUSP USUSP RSVgroupA ok 5 8 4 2 0 1 1hostC ok - 3 0 0 0 0 0hostE ok 2 4 2 1 0 0 1hostF ok - 2 2 1 0 1 0
Define condensed host groups in the HostGroups section of lsb.hosts.
bhosts -l hostBHOST hostBSTATUS CPUF JL/U MAX NJOBS RUN SSUSP USUSP RSV DISPATCH_WINDOWSok 20.20 - - 0 0 0 0 0 -CURRENT LOAD USED FOR SCHEDULING:r15s r1m r15m ut pg io ls it tmp swp memTotal 0.1 0.1 0.1 9% 0.7 24 17 0 394M 396M 12MReserved 0.0 0.0 0.0 0% 0.0 0 0 0 0M 0M 0MLOAD THRESHOLD USED FOR SCHEDULING:r15s r1m r15m ut pg io ls it tmp swp memloadSched - - - - - - - - - - -loadStop - - - - - - - - - - -cpuspeed bandwidthloadSched - -loadStop - -
lshosts -l hostBHOST_NAME: hostBtype model cpuf ncpus ndisks maxmem maxswp maxtmp rexpri server nprocs ncores nthreadsLINUX86 PC6000 116.1 2 1 2016M 1983M 72917M 0 Yes 1 2 2RESOURCES: Not definedRUN_WINDOWS: (always open)LICENSES_ENABLED: (LSF_Base LSF_Manager LSF_MultiCluster)LICENSE_NEEDED: Class(E)LOAD_THRESHOLDS:r15s r1m r15m ut pg io ls it tmp swp mem- 1.0 - - - - - - - - 4M
The lsload command reports the current status and load levels of hosts in a cluster. The lshosts ‑l command shows the load thresholds.
The lsmon command provides a dynamic display of the load information. The LSF administrator can find unavailable or overloaded hosts with these tools.
lsloadHOST_NAME status r15s r1m r15m ut pg ls it tmp swp memhostD ok 1.3 1.2 0.9 92% 0.0 2 20 5M 148M 88MhostB -ok 0.1 0.3 0.7 0% 0.0 1 67 45M 25M 34MhostA busy 8.0 *7.0 4.9 84% 4.6 6 17 1M 81M 27M
The first line lists the load index names, and each following line gives the load levels for one host.
The lshosts command displays configuration information about hosts. All these parameters are defined by the LSF administrator in the LSF configuration files, or determined by the LIM directly from the system.
Host types represent binary compatible hosts; all hosts of the same type can run the same executable. Host models give the relative CPU performance of different processors.
lshostsHOST_NAME type model cpuf ncpus maxmem maxswp server RESOURCEShostD SUNSOL SunSparc 6.0 1 64M 112M Yes (solaris cserver)hostM RS6K IBM350 7.0 1 64M 124M Yes (cserver aix)hostC SGI6 R10K 14.0 16 1024M 1896M Yes (irix cserver)hostA HPPA HP715 6.0 1 98M 200M Yes (hpux fserver)
In the above example, the host type SUNSOL represents Sun SPARC systems running Solaris, and SGI6 represents an SGI server running IRIX 6. The lshosts command also displays the resources available on each host.
The host CPU architecture. Hosts that can run the same binary programs should have the same type.
An UNKNOWN type or model indicates the host is down, or LIM on the host is down.
When automatic detection of host type or model fails (the host type configured in lsf.shared cannot be found), the type or model is set to DEFAULT. LSF will work on the host, but a DEFAULT model may be inefficient because of incorrect CPU factors. A DEFAULT type may also cause binary incompatibility because a job from a DEFAULT host type can be migrated to another DEFAULT host type. automatic detection of host type or model has failed, and the host type configured in lsf.shared cannot be found.
An LSF cluster may consist of static and dynamic hosts. The lshosts command displays configuration information about hosts. All these parameters are defined by the LSF administrator in the LSF configuration files, or determined by the LIM directly from the system.
Host types represent binary compatible hosts; all hosts of the same type can run the same executable. Host models give the relative CPU performance of different processors. Server represents the type of host in the cluster. “Yes” is displayed for LSF servers, “No” is displayed for LSF clients, and “Dyn” is displayed for dynamic hosts.
lshostsHOST_NAME type model cpuf ncpus maxmem maxswp server RESOURCEShostA SOL64 Ultra60F 23.5 1 64M 112M Yes ()hostB LINUX86 Opteron8 60.0 1 94M 168M Dyn ()
In the above example, hostA is a static host while hostB is a dynamic host.