brsvmod

modifies an advance reservation

Synopsis

brsvmod [-o -on][-d "description"] [-u user_name

-ggroup_name] [[-bbegin_time [+-]minutes][-eend_time [+-]minutes]] [-ttime_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 ..."]} {[-njob_slots] -m "host_name ... host_group ..."} reservation_ID

brsvmod rmhost {-njob_slots [-m "host_name ... host_group ..."]}

{[-njob_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 -ooption, or from open to closed with the -onoption.

Options -n, -m, and -Rmust be used with the subcommands addhost or rmhost. These options allow adding or removing from the original values.

The -tdand -tnoptions are only allowed in disable subcommand.

All three subcommands are mutually exclusive. The time window options -b, -eand -tare 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"

Platform LSF Command Reference 157