MasterSlave Schedule Override


This page documents how to override the MasterSlave job schedule for a workstation. It is of use for excluding MasterSlave jobs from a workstation for a period of time. Once the schedule override expires, the workstation will return to its default MasterSlave schedule.

Short and sweet

To exclude MasterSlave from running on a workstation named yourworkstation today and tomorrow,

run this command:
/proj/axaf/simul/bin/overrideSlave -H yourworkstation today tomorrow

Any MasterSlave jobs running on your workstation before you execute the above command line will finish running. No new jobs will be submitted.

There will be one process (per MasterSlave user) remaining on your workstation. This process is the client and tells MasterSlave not to submit any jobs during the time period requested. It can be identified by running ps -auxwww on your workstation; it is the executable MasterSlave.SlaveClient


The rest of the story

  • Name
  • Synopsis
  • Description
  • Options
  • Operands
  • Examples
  • Exit Status
  • Files
  • See Also
  • Notes
  • Name

    overrideSlave - override the default MasterSlave schedule for a client machine

    Synopsis

    /proj/axaf/simul/bin/overrideSlave [ -h ] [ -H hostname ] [ today ] [ tomorrow ] [ mon tue ... sat sun ] [ mm/dd - mm/dd ]

    Description

    overrideSlave allows the user to temporarily override the MasterSlave job schedule. In particular, it is useful for excluding MasterSlave jobs from a workstation on particular days.

    The default behavior is to exclude MasterSlave jobs from being submitted to the host from which the overrideSlave command is run on the day on which the command was run. See the Examples section.

    Additional days may be specified using the syntax specified in the Operands section.

    An alternative host may be specified using the -H option. See the Options section.

    Options

    The following options are supported:
    -hprint usage information to STDOUT
    -Hhostname of machine to exclude from MasterSlave job scheduling

    Operands

    The following operands are supported:
    dayspec-day of the week to exclude MasterSlave from submitting jobs to the client. Valid day specifications are today, tomorrow, mon, tue, wed, thu, fri, sat, sun.
    datespec-date range to exclude MasterSlave from submitting jobs to the client. Valid date specifications are of the form mm/dd - mm/dd.

    Examples

    Example1: Exclude pelf for today from pelf:
    pelf% overrideSlave

    Example2: Exclude pelf for today from another machine:
    artemis% overrideSlave -H pelf

    Example3: Exclude pelf on Monday, Tuesday, and Thursday of this week:
    pelf% overrideSlave mon tue thu -H pelf

    Example4: Exclude pelf September 13th through October 1st:
    pelf% overrideSlave 09/13 - 10/01 -H pelf

    Exit Status

    0Returned upon successful execution
    >0Otherwise

    Files

    MasterSlave/proj/axaf/untidy/MasterSlave/YYYYmmdd-hostname
    Temporary schedule for the date and host mentioned in the filename

    See Also

    MasterSlave, MasterSlave::overrideSlave

    Notes

    Check the MasterSlave temporary schedule directory, /proj/axaf/untidy/MasterSlave/, to ensure the schedule was posted.
    Michael Tibbetts