HP XC System Software Administration Guide Version 3.0
# controllsf set virtual hostname xclsf
# controllsf show
LSF is currently shut down, and assigned to node .
Failover is disabled.
Head node is preferred.
The primary LSF host node is n128.
SLURM affinity is enabled.
The virtual hostname is "xclsf".
6. Edit the $LSF_ENVDIR/lsf.cluster.cluster_name file and change the LSF-HPC virtual host
name to the new one in the HOSTS section.
7. Edit $LSF_ENVDIR/hosts file to remove the old LSF-HPC virtual host name entry.
8. Restart LSF-HPC for SLURM:
# controllsf start
LSF Daemon Log Maintentance
By default, the LSF daemon logs are stored in /var/lsf/log/ on the node on which LSF runs. There are
6 daemon logs on HP XC:
• lim.log
• mbatchd.log
• mbschd.log
• res.log
• rla.log
• sbatchd.log
There is also a pim.log file, but it is typically empty.
These logs become large if debugging has been enabled.
To cache these logs without disrupting LSF operation, move these files to another location, as shown in the
following example:
# shownode servers lsf
n[15-16]
# pdsh -w n[15-16] "mkdir -p /var/lsf/log.old"
# pdsh -w n[15-16] "mv /var/lsf/log/* /var/lsf/log.old/"
LSF continues to write to the original log files. Now you can either archive the log.old directory or delete
them.
You can automate the procedure for caching LSF log files by using a cron job on the head node set for an
interval appropriate for your site.
136 Managing LSF