These steps describe the way to share part of a large farm of identical hosts. This is most useful for reallocating resources among different departments, to meet a temporary need for more processing power.
Create the new policy.
Specify the hosts that are affected by the policy. Each host is entirely exported; the provider cluster does not save any job slots on the exported hosts for its own use.
Specify the distribution policy. This determines which clusters share in the use of the exported job slots.
Optional. Share additional resources (any combination of memory, swap space, or shared resources).
Allow LSF to select the hosts you want to export
Specify both RES_SELECT and NHOSTS in lsb.resources.
For RES_SELECT, specify the selection criteria using the same syntax as the “select” part of the resource requirement string (normally used in the LSF bsub command).
For details about resource selection syntax, see Administering Platform LSF. For this parameter, if you do not specify the required host type, the default is “type==any”.
For NHOSTS, specify a maximum number of hosts to export.
Begin HostExport
RES_SELECT=type==LINUX
NHOSTS=4
In this example, we want to export 4 Linux hosts. If the cluster has 5 Linux hosts available, 4 are exported, and the last one is not exported. If the cluster has only 3 Linux hosts available at this time, then only 3 hosts are exported, but LSF can update the lease automatically if another host becomes available to export later on.
Use lshosts to view the host types that are available in your cluster.