12.07.2015 Views

Platform LSF Command Reference - SAS

Platform LSF Command Reference - SAS

Platform LSF Command Reference - SAS

SHOW MORE
SHOW LESS
  • No tags were found...

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

svmodAdds hosts and slots on hosts into the original reservation allocation. The hosts canbe local to the cluster or hosts leased from remote clusters.Adding a host without -n reserves all available slots on the host that are not alreadyreserved by other reservations. You can specify the number of slots to be added fromthe host list specified with -n, but -n cannot be used alone. -m can be used alone if nohost group is specified in the list. You cannot specify -R without with -n.The specified slot number must be less than or equal to the available number of slotsfor the hosts.Only hosts can be added (-m) to a system reservation. Slots cannot be added (-n) to asystem reservation.disable -td "begin_date-end_date" | -tn [-f] reservation_IDDisables specified periods, or instances, of a recurring advance reservation. Thestart_date and end_date represent the start and end date of a period in which thereservation should be disabled. These periods must take one of the following forms:• yyyy:mm:dd-yyyy:mm:dd• mm:dd-mm:dd - current year is assumed• dd-dd - current month and year are assumedThe start date must be the same as or earlier than the end date.If a reservation is disabled for a given day, then it does not become active on that day,and remains inactive for the duration of the reservation time window. Non-recurringreservations are able to use slots of the recurring reservation for the duration of thetime window.The -tn option is a shortcut that disables a reservation on the startingday of the next instance of the reservation time window; that is, the instance that startsnearest in the future. If the reservation has already been disabled for this day, themodification request is rejected.For example, for a weekly reservation with time window from Wednesday 9 a.m. toFriday 10 p.m, if the current day is Monday, then running the command with the -tn option disables the reservation from Wednesday to Friday of the current week.However, if the current day is Thursday, then the reservation is disabled fromWednesday to Friday of the following week. If it is Wednesday, then whether to disablein the current week or following week depends on whether or not the start time of theinstance has passed: if not then the reservation is disabled in the current week,otherwise the following week’s reservation is disabled.Running the disable command with the -tn option twice on Monday tries to disabletwice in the current week. The second run has no effect, but is rejected because thespecified reservation instance is already disabled.Once a reservation is disabled for a period, it cannot be enabled; that is, the disabledperiods remain fixed. Before a reservation is disabled, you are prompted to confirmwhether to continue disabling the reservation. Use the -f option to silently force thecommand to run without prompting for confirmation; for example, to allow forautomating disabling reservations from a script.rmhost [-n job_slots] [-m "host_name ... | host_group ..."] reservation_ID184 <strong>Platform</strong> <strong>LSF</strong> <strong>Command</strong> <strong>Reference</strong>

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

Saved successfully!

Ooh no, something went wrong!