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.

Chapter 35<br />

Advance Reservation<br />

Using Advance Reservation<br />

Advance reservation commands<br />

brsvadd<br />

brsvdel<br />

brsvs<br />

Use the following commands to work with advance reservations:<br />

Add a reservation<br />

Delete a reservation<br />

View reservations<br />

Adding and removing reservations<br />

brsvadd<br />

command<br />

By default, only <strong>LSF</strong> administrators or root can add or delete advance<br />

reservations.<br />

Use brsvadd to create new advance reservations. You must specify the<br />

following for the reservation:<br />

◆ Number of processors to reserve<br />

This number should less than or equal to the actual number of CPUs for<br />

the hosts defined in the reservation.<br />

◆ Hosts for the reservation<br />

◆ Owners of the reservation<br />

◆ Time period for the reservation: Either:<br />

❖ Begin time and end time for a one-time reservation<br />

OR<br />

❖ Time window for a recurring reservation<br />

The brsvadd command returns a reservation ID that you use when you submit<br />

a job that uses the reserved hosts. Any single user or user group can have a<br />

maximum of 100 reservation IDs.<br />

Specifying hosts for the reservation<br />

Use one or both of the following brsvadd options to specify hosts for which<br />

processors are reserved:<br />

◆ The -m option lists the hosts needed for the reservation<br />

The hosts listed the -m option can be local to the cluster or hosts leased<br />

from remote clusters. At job submission, <strong>LSF</strong> considers the hosts in the<br />

specified order.<br />

If you also specify a resource requirement string with the -R option, -m is<br />

optional.<br />

◆ The -R option selects hosts for the reservation according to a resource<br />

requirements string<br />

Only hosts that satisfy the resource requirement expression are reserved.<br />

-R accepts any valid resource requirement string, but only the select string<br />

takes effect.<br />

If you also specify a host list with the -m option, -R is optional.<br />

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

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

Saved successfully!

Ooh no, something went wrong!