LSF Version 7.3 - Administering Platform LSF

Administering Platform LSF 69
Working with Hosts
Log a comment when closing or opening a host
1 Use the -C option of badmin hclose and badmin hopen to log an
administrator comment in
lsb.events:
badmin hclose -C "Weekly backup" hostB
The comment text Weekly backup is recorded in lsb.events. If you close or
open a host group, each host group member displays with the same comment
string.
A new event record is recorded for each host open or host close event. For
example:
badmin hclose -C "backup" hostA
followed by
badmin hclose -C "Weekly backup" hostA
generates the following records in lsb.events:
"HOST_CTRL" "7.0 1050082346 1 "hostA" 32185 "lsfadmin" "backup"
"HOST_CTRL" "7.0 1050082373 1 "hostA" 32185 "lsfadmin" "Weekly backup"
2 Use badmin hist or badmin hhist to display administrator comments for
closing and opening hosts:
badmin hhist
Fri Apr 4 10:35:31: Host <hostB> closed by administrator
<lsfadmin> Weekly backup.
bhosts -l
also displays the comment text:
bhosts -l
HOST hostA
STATUS CPUF JL/U MAX NJOBS RUN SSUSP USUSP RSV DISPATCH_WINDOW
closed_Adm 1.00 - - 0 0 0 0 0 -
CURRENT LOAD USED FOR SCHEDULING:
r15s r1m r15m ut pg io ls it tmp swp mem
Total 0.0 0.0 0.0 2% 0.0 64 2 11 7117M 512M 432M
Reserved 0.0 0.0 0.0 0% 0.0 0 0 0 0M 0M 0M
LOAD THRESHOLD USED FOR SCHEDULING:
r15s r1m r15m ut pg io ls it tmp swp mem
loadSched - - - - - - - - - - -
loadStop - - - - - - - - - - -
cpuspeed bandwidth
loadSched - -
loadStop - -