Installing LSF-HPC With SLURM Into an Existing Standard LSF Cluster

use of the lshosts or bhosts commands will display the new XC node, although the node status is
UNKNOWN and unavailable, respectively.
You can now start LSF on XC as follows:
[root@xc128 root]# controllsf start
This command sets up the virtual LSF alias on the appropriate node and then starts the LSF daemons. It
also creates a $LSF_ENVDIR/hosts file (in the example $LSF_ENVDIR = /shared/lsf/conf).
This hosts file is used by LSF to map the LSF alias to the actual host name of the node in XC running
LSF. See the Platform LSF documentation for information on hosts files.
When the LSF daemons have started up and synchronized their data with the rest of the LSF cluster,
use the lshosts and bhosts commands to display all the nodes with their appropriate values and
to verify that they are ready for use as follows:
[root@xc128 root]# lshosts
HOST_NAME type model cpuf ncpus maxmem maxswp server RESOURCES
plain LINUX86 PC1133 23.1 2 248M 1026M Yes ()
xclsf SLINUX6 Intel_EM 60.0 256 3456M - Yes (slurm)
[root@xc128 root]# bhosts
HOST_NAME STATUS JL/U MAX NJOBS RUN SSUSP USUSP RSV
plain ok - 2 0 0 0 0 0
xclsf ok - 256 0 0 0 0 0
Sample running jobs
The following scenarios provides examples of how you might run jobs on the newly installed system.
As a user on the non-XC node, launching to a Linux ia32 resource:
[test@plain test]$ bsub -I -n1 -R type=LINUX86 hostname
Job <411> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on plain>>
plain
Launching to an XC resource:
[test@plain test]$ bsub -I -n1 -R type=SLINUX64 hostname
Job <412> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on xclsf>>
xc127
Launching a parallel job:
[test@aplain test]$ bsub -I -n6 -R type=SLINUX64 srun hostname
Job <413> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on xclsf>>
/home/test/.lsbatch/1113947197.413: line 8: srun: command not found
[test@plain test]$ bsub -I -n6 -R type=SLINUX64 /opt/hptc/bin/srun hostname
Job <414> is submitted to default queue <normal>.
<<Waiting for dispatch ...>>
<<Starting on xclsf>>
xc3
xc3
xc2
xc2