Platform LSF Administration Guide Version 6.2
Chapter 4
Working with Hosts
Administering Platform LSF
121
% bjobs
JOBID USER STAT QUEUE FROM_HOST EXEC_HOST JOB_NAME SUBMIT_TIME
520 user1 RUN normal host5 hg1 sleep 1001 Apr 15 13:50
521 user1 RUN normal host5 hg1 sleep 1001 Apr 15 13:50
522 user1 PEND normal host5 sleep 1001 Apr 15 13:51
External host group requirements (egroup)
An external host group is a host group for which membership is not statically
configured, but is instead retrieved by running an external executable with the name
egroup. The egroup executable must be in the directory specified by
LSF_SERVERDIR.
This feature allows a site to maintain group definitions outside LSF and import them
into LSF configuration at initialization time.
The
egroup executable is an executable you create yourself that lists group names and
hosts that belong to the group.
This executable must have the name
egroup. When mbatchd is restarted, it invokes
the
egroup executable and retrieves groups and group members. The external
executable
egroup runs under the same account as mbatchd.
The
egroup executable must write host names for the host groups to its standard
output, each name separated by white space.
The
egroup executable must recognize the following command, since mbatchd
invokes external host groups with this command:
egroup -m
host_group_name
where host_group_name is the name of the host group defined in the executable
egroup along with its members, and the host group is specified in lsb.hosts.