You can define a host group within LSF or use an external executable to retrieve host group members.
Use bhosts to view a list of existing hosts. Use bmgroup to view host group membership.
LSF host groups can be used in defining the following parameters in LSF configuration files:
HOSTS in lsb.queues for authorized hosts for the queue
HOSTS in lsb.hosts in the HostPartition section to list host groups that are members of the host partition