Options

-njob_slots

-R "res_req"

-ttime_window

For example:

brsvadd -n 3 -M "hostA hostB" -u user2 -b 16:0 -e 17:0 -d "Production AR test"

Reservation user2#0 (Production AR test) is created

brsvadd -n 2 -N Production_AR -M hostA -u user2 -b 16:0 -e 17:0 -d "Production AR test"

Reservation Production_AR (Production AR test) is created

If a job already exists that references a reservation with the specified name, an error message is returned: The specified reservation name is referenced by a job.

Number of job slots to reserve. job_slots must be less than or equal to the actual number of job slots for the hosts selected by -mor -Rfor the reservation.

If you also specify the reservation for system use with the -soption, -nis optional.

Selects hosts for the reservation according to the specified resource requirements. Only hosts that satisfy the resource requirement expression are reserved. -Raccepts any valid resource requirement string, but only the select string takes effect.

If you also specify a host list with the -moption, -Ris optional.

For more information about specifying resource requirement strings, see Administering Platform LSF.

The size of the resource requirement string is limited to 512 bytes.

Time window for a recurring reservation.

To specify a time window, specify two time values separated by a hyphen (-), with no space in between:

time_window = begin_time-end_time

Times are specified in the format:

[day:]hour[:minute]

where all fields are numbers with the following ranges:

day of the week: 0-6 (0 is Sunday)

hour: 0-23

minute: 0-59

Specify a time window one of the following ways:

hour-hour

hour:minute-hour:minute

day:hour:minute-day:hour:minute

The default value for minute is 0 (on the hour); the default value for day is every day of the week.

You must specify at least the hour. Day of the week and minute are optional. Both the start time and end time values must use the same syntax. If you do not specify a minute, LSF assumes the first minute of the hour (:00). If you do not specify a day, LSF assumes every day of the week. If you do specify the day, you must also specify the minute.

You can specify multiple time windows, but they cannot overlap. For example:

timeWindow(8:00-14:00 18:00-22:00)

154Platform LSF Command Reference