25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Managing Queues<br />

Managing Queues<br />

Restricting host use by queues<br />

You may want a host to be used only to run jobs submitted to specific queues.<br />

For example, if you just added a host for a specific department such as<br />

engineering, you may only want jobs submitted to the queues engineering1<br />

and engineering2 to be able to run on the host.<br />

1 Log on as root or the <strong>LSF</strong> administrator on any host in the cluster.<br />

2 Edit lsb.queues, and add the host to the Hosts parameter of specific<br />

queues.<br />

Begin Queue<br />

QUEUE_NAME = queue1<br />

...<br />

HOSTS=mynewhost hostA hostB<br />

...<br />

End Queue<br />

3 Save the changes to lsb.queues.<br />

4 Use badmin ckconfig to check the new queue definition. If any errors<br />

are reported, fix the problem and check the configuration again.<br />

5 Run badmin reconfig to reconfigure mbatchd.<br />

6 If you add a host to a queue, the new host will not be recognized by jobs<br />

that were submitted before you reconfigured. If you want the new host to<br />

be recognized, you must use the command badmin mbdrestart. For<br />

more details on badmin mbdrestart, see “Reconfiguring Your Cluster” on<br />

page 65.<br />

Adding queue administrators<br />

Queue administrators are optionally configured after installation. They have<br />

limited privileges; they can perform administrative operations (open, close,<br />

activate, inactivate) on the specified queue, or on jobs running in the specified<br />

queue. Queue administrators cannot modify configuration files, or operate on<br />

<strong>LSF</strong> daemons or on queues they are not configured to administer.<br />

To switch a job from one queue to another, you must have administrator<br />

privileges for both queues.<br />

In the lsb.queues file, between Begin Queue and End Queue for the<br />

appropriate queue, specify the ADMINISTRATORS parameter, followed by the<br />

list of administrators for that queue. Separate the administrator names with a<br />

space. You can specify user names and group names. For example:<br />

Begin Queue<br />

ADMINISTRATORS = User1 GroupA<br />

End Queue<br />

108<br />

<strong>Administering</strong> <strong>Platform</strong> <strong>LSF</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!