Platform LSF Administrator's Primer Version 6.2

Starting, Stopping, and Reconfiguring LSF
Platform LSF Administrator’s Primer
18
Starting, Stopping, and Reconfiguring LSF
Contents
Two LSF administration commands (lsfadmin and badmin)” on page 18
Setting up the LSF environment (cshrc.lsf and profile.lsf)” on page 18
Starting your cluster” on page 18
Stopping your cluster” on page 19
Reconfiguring your cluster” on page 19
Two LSF administration commands (lsfadmin and badmin)
Only LSF administrators or root can run these commands.
To start and stop LSF, and to reconfigure LSF after making changes to any configuration
file, you use two commands:
lsadmin controls the operation of lim and res
badmin controls the operation of mbatchd and sbatchd in LSF Batch
Setting up the LSF environment (cshrc.lsf and profile.lsf)
Before using LSF, you must set up the LSF execution environment.
After logging on to an LSF host, use one of the following shell environment files to set
your LSF environment:
For example, in csh or tcsh:
% source /usr/share/lsf/lsf_62/conf/cshrc.lsf
For example, in sh, ksh, or bash:
$ . /usr/share/lsf/lsf_62/conf/profile.lsf
These two files are created by lsfinstall to set up the LSF operating environment.
Starting your cluster
If you have a
permanent LSF
license
The steps in this section assume you have installed a DEMO LSF license. If you have a
permanent LSF license, you must start the license server daemon (
lmgrd) and verify the
status of the license server before using any LSF commands described in this section.
See Chapter 4, “Working with LSF Licenses” for information about working with a
permanent LSF license.
Running LSF as a
non-root user
By default, only root can start LSF daemons. If lsfinstall detected you installed as
non-root user, you chose to configure either a multi-user cluster or a single-user cluster:
Multi-userOnly root can start LSF daemons. Any user can submit jobs to your
cluster.
See Chapter 6, “Troubleshooting LSF Problems” for information about changing
ownership and permissions for
lsadmin and badmin.
To permit LSF administrators to start and stop LSF daemons, set up
/etc/lsf.sudoers, as described in “Configuring LSF Startup” on page 38.
Single-userYour user account must be primary LSF administrator. You are able
to start LSF daemons, but only your user account can submit jobs to the cluster.