Platform LSF Administration Guide Version 6.2
Using Advance Reservation
Administering Platform LSF
362
Adding a one-time reservation
brsvadd -b and -e
Use the -b and -e options of brsvadd to specify the begin time and end time of a one-
time advance reservation. One-time reservations are useful for dedicating hosts to a
specific user or group for critical projects.
The day and time are in the form:
[[[
year
:
]
month
:
]
day:
]
hour:minute
with the following ranges:
◆
year: any year after 1900 (YYYY)
◆
month: 1-12 (MM)
◆
day of the month: 1-31 (dd)
◆
hour: 0-23 (hh)
◆
minute: 0-59 (mm)
You must specify at least hour
:minute. Year, month, and day are optional. Three fields are
assumed to be day
:hour:minute, four fields are assumed to be month:day:hour:minute, and
five fields are year
:month:day:hour:minute.
If you do not specify a day, LSF assumes the current day. If you do not specify a month,
LSF assumes the current month. If you specify a year, you must specify a month.
You must specify a begin and an end time. The time value for
-b must use the same
syntax as the time value for
-e. It must be earlier than the time value for -e, and cannot
be earlier than the current time.
Examples
◆
The following command creates a one-time advance reservation for 1024
processors on host
hostA for user user1 between 6:00 a.m. and 8:00 a.m. today:
% brsvadd -n 1024 -m hostA -u user1 -b 6:0 -e 8:0
Reservation "user1#0" is created
The hosts specified by -m can be local to the cluster or hosts leased from remote
clusters.
◆
The following command creates a one-time advance reservation for 1024
processors on a host of any type for user
user1 between 6:00 a.m. and 8:00 a.m.
today:
% brsvadd -n 1024 -R "type==any" -u user1 -b 6:0 -e 8:0
Reservation "user1#1" is created
◆
The following command creates a one-time advance reservation that reserves 12
CPUs on hostA between 6:00 p.m. on 01 December 2003 and 6:00 a.m. on 31
January 2004:
% brsvadd -n 12 -m hostA -u user1 -b 2003:12:01:18:00 -e
2004:01:31:06:00
Reservation user1#2 is created
Adding a recurring reservation
brsvadd -t
Use the -t option of brsvadd to specify a recurring advance reservation. The -t
option specifies a time window for the reservation. Recurring reservations are useful for
scheduling regular system maintenance jobs.
The day and time are in the form: