Platform LSF Administrator's Primer Version 6.2
Chapter 2
Working with LSF
Platform LSF Administrator’s Primer
21
Checking LSF Status
Contents
◆
“Example command output” on page 21
◆
“Checking cluster configuration (lsadmin)” on page 21
◆
“Finding out cluster status (lsid and lsload)” on page 22
◆
“Checking LSF Batch configuration (badmin)” on page 23
◆
“Finding out LSF Batch system status (bhosts and bqueues)” on page 23
Example command output
The LSF commands shown in this section show examples of typical output. The output
you see will differ according to your configuration.
The commands are described briefly so that you can easily use them as a “sanity check”
for your LSF installation. See the Platform LSF Reference for complete usage and
command options. You can use these commands on any LSF host.
If you get proper output from these commands, your cluster is ready to use. If your
output from the commands discussed in this section has errors, see Chapter 6,
“Troubleshooting LSF Problems” or the Platform LSF Reference for help.
Checking cluster configuration (lsadmin)
lsadmin ckconfig -v
The lsadmin command controls the operation of an LSF cluster and administers the
LSF daemons,
lim and res. Use the lsadmin ckconfig command to check the LSF
configuration files. The
-v flag displays detailed information about the LSF
configuration:
% lsadmin ckconfig -v
Platform LSF 6.2, Oct 18 2005
Copyright 1992-2005 Platform Computing Corporation
Reading configuration from /usr/share/lsf/lsf_62/conf/lsf.conf
Dec 20 12:22:55 2005 24854 5 6.2 /usr/share/lsf/lsf_62/6.2/sparc-sol2/etc/lim -
C
Checking configuration files ...
Dec 20 12:22:55 2005 24854 7 6.2 setMyClusterName: searching cluster files ...
Dec 20 12:22:55 2005 24854 7 6.2 setMyClusterName: local host hosta belongs to
cluster lsf_62
Dec 20 12:22:55 2005 24854 3 6.2 domanager():
/usr/share/lsf/lsf_62/conf/lsf.cluster.lsf_62(13): The cluster manager is the
invoker <lsfadmin> in debug mode
Dec 20 12:22:55 2005 24854 7 6.2 initReadLoad: I have 1 CPUs
Dec 20 12:22:55 2005 24854 6 6.2 Checking Done.
---------------------------------------------------------
No errors found.
The messages shown above are typical output from lsadmin ckconfig -v. Other
messages may indicate problems with your LSF configuration.
See Chapter 6, “Troubleshooting LSF Problems” or the Platform LSF Reference for
help with some common configuration errors.