Note: With LSF 5.x and earlier, use $LSF_CONFDIR in place of $LSF_ENVDIR.
moab.cfg
RMCFG[base] TYPE=LSF FLAGS=ignqueuestate
The resource manager flag ignqueuestate informs Moab to utilize queues which are disabled for usage by the LSF scheduler.
Note: Moab can pull information directly from the LSF API or can obtain it indirectly by parsing the output of LSF commands. See LSF Integration via the Native Interface for more information.
Moab must be run as an LSF admin user. To enable a user as an LSF admin, edit the ClusterAdmins stanza in the '$LSF_CONFDIR/lsf.cluster.<CLUSTER>' file as in the example below:
conf/lsf.cluster.<CLUSTER>
Begin ClusterAdmins Administrators = lsfadmin john steve End ClusterAdmins
Additionally, LSF must be configured to use Moab as its external scheduler. This can be done by adding the following line to the lsf.conf file and restarting the LSF head-node daemons:
lsf.conf
LSF_ENABLE_EXTSCHEDULER=Y
disable LSF queues
> badmin qinact all
starting moab
> source /usr/lsf/conf/lsf.conf > moab
![]() |
> moabd is a safe and recommended method of starting Moab if things are not installed in their default locations. |
![]() |
It may also be necessary to add the path to your LSF libraries to the LD_LIBRARY_PATH variable as in 'export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lsf/6.0/linux2.4-glibc2.3-x86/lib'. |