Enable queues for the LSF multicluster capability

To enable queues for the LSF multicluster capability, configure a send-jobs queue in the submission cluster and a receive-jobs queue in the execution cluster.

About this task

To set up a pair of queues for the LSF multicluster capability, do the following:

Procedure

  1. In the submission cluster, configure a send-jobs queue that forwards work to the execution queue.
  2. In the execution cluster, configure a receive-jobs queue that accepts work from the cluster that contains the send-jobs queue.

Send-jobs queues

Procedure

  1. To configure a send-jobs queue, define the SNDJOBS_TO parameter in the lsb.queues queue definition. Specify a space-separated list of queue names in the format queue_name@cluster_name.

    If the send-jobs queue does not have the SNDJOBS_TO parameter configured, it cannot forward jobs for the LSF multicluster capability. The job remains pending in the submission cluster and is evaluated again during the next scheduling cycle.

  2. Make sure the HOSTS parameter in the lsb.queues file specifies only local hosts (or the special keyword none).

    If the HOSTS parameter specifies any remote hosts, the SNDJOBS_TO parameter is ignored and the queue behaves as a receive-jobs queue under the resource leasing method.

  3. Optional. To restrict users or user groups from forwarding jobs to remote clusters in this queue, define the FWD_USERS parameter in the lsb.queues queue definition.

    Specify a space-separated list of user names or user groups in the following format:

    FWD_USERS=all [~user_name ...] [~user_group ...] | [user_name ...] [user_group [~user_group ...] ...]

Receive-jobs queues

Procedure

To configure a receive-jobs queue, define the RCVJOBS_FROM parameter in the lsb.queues queue definition. Specify a space-separated list of cluster names.

Use the keyword allclusters to specify any remote cluster.

Examples

Begin Queue
QUEUE_NAME=send
PRIORITY=30
NICE=20
SNDJOBS_TO = rcv@allclusters
HOSTS = none
FWD_USERS=all ~ugroup1
End Queue
The following queue is both a send-jobs and receive-jobs queue, and links with multiple remote clusters. If queue1 cannot place a job in the local cluster, it can forward the job to queue2 in cluster2, or to queue3 in cluster3. If any queues in clusters 2 or 3 are configured to send MultiCluster jobs to queue1, queue1 accepts them.
Begin Queue
QUEUE_NAME=queue1
SNDJOBS_TO=queue2@cluster2 queue3@cluster3
RCVJOBS_FROM=cluster2 cluster3
PRIORITY=30
NICE=20
End Queue