Previous Topic: Configure the Resource Wait Poll IntervalNext Topic: Control the Status of Jobs Scheduled on an Offline Machine


Control the Starting of Jobs in PEND_MACH Status

The scheduler puts a machine in the offline state if it is unable to contact the agent to run a job. You can manually put a machine in the offline state by issuing the sendevent command to send a MACH_OFFLINE event. Jobs that are scheduled to start on offline machines are placed in PEND_MACH status by default.

When an offline machine returns to service, the scheduler immediately starts all jobs in PEND_MACH status on that machine. Starting too many jobs in PEND_MACH status on the machine at a time places a heavy demand for resources on both the scheduler and agent computers. This may introduce performance problems that affect all scheduled workload.

You can control the starting of jobs in PEND_MACH status to reduce the load on the scheduler and agent computers.

Follow these steps:

  1. Click Start, Programs, CA, Workload Automation AE, Administrator.

    The Instance - CA Workload Automation AE Administrator window opens.

  2. Select an instance from the Instance drop-down list in the Settings pane.
  3. Click the Scheduler icon on the toolbar.

    The Scheduler - CA Workload Automation AE Administrator window appears. The Controls tab is selected by default.

  4. Complete the following field as appropriate, and click Apply:
    Global Pend Mach Interval

    Defines the following:

    • The time interval (in seconds) that the scheduler waits before starting each job in PEND_MACH status when an offline machine returns to service.

      Default: 0; if 0, the scheduler starts all jobs in PEND_MACH status with no delay between job starts and the burst value is ignored.

      Limits: 0-3600

    • The burst value, that is, the number of jobs in PEND_MACH status that the scheduler starts after waiting for the specified interval.

    Example: 5,5; specifies that the scheduler waits for 5 seconds before starting each set of 5 jobs in PEND_MACH status when an offline machine returns to service.

    Notes:

    • Use a comma to separate the interval and burst values.
    • Use caution when you specify the burst value. For example, if you set the Global Pend Mach Interval parameter to 1,100 and three offline machines return to service, the scheduler tries to start 300 jobs per second, which may not be supported in all environments due to system constraints.
  5. Click the Services icon on the toolbar.

    The Services - CA Workload Automation AE Administrator window appears, displaying a list of services installed on the selected instance.

  6. Right-click the scheduler service, and click Pause.

    The scheduler pauses.

  7. Right-click the scheduler service, and click Resume.

    The scheduler resumes. The jobs in PEND_MACH status start based on the values specified.