Command Reference Guide

Usage
224 Platform LSF Command Reference
Disables interaction and does not ask for confirmation for shutting down LIMs.
limrestart [-v] [-f] [host_name ... | all]
Restarts LIM on the local host if no arguments are supplied.
Restarts LIMs on the specified hosts or on all hosts in the cluster if the word
all is
specified. You are prompted to confirm LIM restart.
limrestart should be used with care. Do not make any modifications until all the
LIMs have completed the startup process. If you execute
limrestart
host_name
... to restart some of the LIMs after changing the configuration files,
but other LIMs are still running the old configuration, confusion arises among
these LIMs. To avoid this situation, use
reconfig instead of limrestart.
-v
Displays detailed messages about configuration file checking.
-f
Disables user interaction and forces LIM to restart if no fatal errors are found. This
option is useful in batch mode.
limrestart -f all is the same as reconfig -f.
limlock [-l time_seconds]
Locks LIM on the local host until it is explicitly unlocked if no time is specified.
When a host is locked, LIM’s load status becomes
lockU. No job is sent to a locked
host by LSF.
-l time_seconds
The host is locked for the specified time in seconds.
LSF suspends all non-exclusive jobs running on the host. This is useful if a machine
is running an exclusive job requiring all the available CPU time and/or memory. If
LSB_DISABLE_LIMLOCK_EXCL=y (to enable preemption of exclusive jobs, for
example) LSF suspends all jobs, including exclusive jobs.
limunlock Unlocks LIM on the local host.
resstartup [-f] [host_name ... | all]
Starts RES on the local host if no arguments are specified.
Starts RESs on the specified hosts or on all hosts in the cluster if the word
all is
specified. You are prompted to confirm RES startup.
Only
root and users defined by the LSF_STARTUP_USERS parameter in
lsf.sudoers(5) can use the all and -f options to start RES as root.
These users must be able to use
rsh or ssh on all LSF hosts without having to type
in passwords. For
root installation to work properly, lsadmin must be installed as
a
setuid to root program.
The shell command specified by LSF_RSH in
lsf.conf is used before rsh is tried.
-f
Disables interaction and does not ask for confirmation for starting RESs.
resshutdown [-f] [host_name ... | all]
Shuts down RES on the local host if no arguments are specified.