25.06.2015 Views

Administering Platform LSF - SAS

Administering Platform LSF - SAS

Administering Platform LSF - SAS

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Controlling Queues<br />

Controlling Queues<br />

Closing a queue<br />

Opening a queue<br />

Inactivating a queue<br />

Activating a queue<br />

Queues are controlled by an <strong>LSF</strong> Administrator or root issuing a command or<br />

through configured dispatch and run windows.<br />

Run badmin qclose:<br />

% badmin qclose normal<br />

Queue is closed<br />

When a user tries to submit a job to a closed queue the following message is<br />

displayed:<br />

% bsub -q normal ...<br />

normal: Queue has been closed<br />

Run badmin qopen:<br />

% badmin qopen normal<br />

Queue is opened<br />

Run badmin qinact:<br />

% badmin qinact normal<br />

Queue is inactivated<br />

Run badmin qact:<br />

% badmin qact normal<br />

Queue is activated<br />

Logging a comment when controlling a queue<br />

Use the -C option of badmin queue commands qclose, qopen, qact, and<br />

qinact to log an administrator comment in lsb.events. For example,<br />

% badmin qclose -C "change configuration" normal<br />

The comment text change configuration is recorded in lsb.events.<br />

A new event record is recorded for each queue event. For example:<br />

% badmin qclose -C "add user" normal<br />

followed by<br />

% badmin qclose -C "add user user1" normal<br />

will generate records in lsb.events:<br />

"QUEUE_CTRL" "6.0 1050082373 1 "normal" 32185 "lsfadmin" "add user"<br />

"QUEUE_CTRL" "6.0 1050082380 1 "normal" 32185 "lsfadmin" "add user user1"<br />

104<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!