Command Reference Guide

Platform LSF Command Reference 157
brsvmod
modifies an advance reservation
Synopsis
brsvmod [-o | -on] [-d "description"] [-u user_name |
-g group_name] [[-b begin_time | [+|-]minutes] [-e end_time |
[+|-]minutes]] | [-t time_window] reservation_ID
brsvmod disable {-td "begin_date-end_date" | -tn} [-f]
reservation_ID
brsvmod addhost {-n job_slots -R "res_req"
[-m "host_name ... | host_group ..."]} | {[-n job_slots]
-m "host_name ... | host_group ..."} reservation_ID
brsvmod rmhost { -n job_slots [ -m "host_name ... | host_group ..."]}
| {[-n job_slots] -m "host_name ... | host_group ...
"}
reservation_ID
brsvmod {-h | -V}
Description
CAUTION: By default, this command can only be used by LSF administrators or root.
Replaces advance reservation option values previously created, extends or reduces
the reservation time window, or adds or removes reserved hosts of the advance
reservation specified by reservation_ID. For a recurring reservation, can disable
specified occurrences of the reservation.
Administrators and root can modify any reservations. Users listed in the
ResourceReservation section of
lsb.resources, can only modify reservations they
created themselves.
The original value for user, user group, or time window, can be overridden with a
new value by specifying the option as in
brsvadd. Change a reservation from closed
(the default) to open with the
-o option, or from open to closed with the -on option.
Options
-n, -m, and -R must be used with the subcommands addhost or rmhost.
These options allow adding or removing from the original values.
The
-td and -tn options are only allowed in disable subcommand.
All three subcommands are mutually exclusive. The time window options
-b, -e
and
-t are not valid in any of the subcommands.
You cannot modify the start time of an active reservation.
brsvmod does not support the reservation_ID@cluster_name notation for
advance reservations on remote clusters, or the
user_name@cluster_name
notation for reservations with remote users.
The job slot requirements of the -n option must be satisfied, but -m or -R provides
a candidate list for processing, which does not trigger error unless no valid hosts are
the list. For instance, if you specify
-n 3 -m "host1 host2"