Clarity

 View Only
  • 1.  CA PPM Tuesday Tip: Prevent Job Scheduler Stalls

    Broadcom Employee
    Posted Aug 04, 2015 06:57 PM

    The recommendations in the post
    https://communities.ca.com/message/241722838#241722838

    CA PPM Tuesday Tip: How should the main CA PPM jobs be scheduled?
    reviews the best practices when setting up the jobs to provide the best job scheduler performance while still providing critical data to the userbase.

     

    We will now review the job scheduler in terms of planned outages such as as a PPM server migration, maintenance, and/or upgrade.

     

     

    Ahead of the planned outage, be sure to perform the following on the Reports and Jobs > Scheduled page, before the BG service(s) are shutdown.
    a. Set jobs that are WAITING to PAUSED
    b. Set jobs that are SCHEDULED to PAUSED
    c. Allow PROCESSING jobs to COMPLETE
    d. Delete all CANCELLED job instances

     

    The job scheduler will be ensured to be in a no-load state which will prevent orphan jobs, database sequencing issues, and out-of-sync job starts.


    After the planned outage completes, the following can be performed on the Reports and Jobs > Scheduled page, after the BG service(s) are started.
    a. Run an immediate Time Slicing job to ensure it completes. Check the Administration > Time Slices page to ensure the 'Last Run' date reflects the most current time.
    b. Checkmark all PAUSED jobs and click the RESUME button. The jobs will be autoscheduled.

     

    These steps will ensure a smooth job scheduler startup as it will prevent jobs from getting stuck in the 'Processing', 'Waiting', and 'Scheduled' states.


    If there is any issue with the Time Slicing job or the job scheduler after a scheduler interuption occurs, please open an issue.



  • 2.  Re: CA PPM Tuesday Tip: Prevent Job Scheduler Stalls

     
    Posted Aug 04, 2015 08:00 PM

    Thanks for the tip Tuan!

    TUAN TRAN wrote:

     

    The recommendations in the post
    https://communities.ca.com/message/241722838#241722838

    CA PPM Tuesday Tip: How should the main CA PPM jobs be scheduled?
    reviews the best practices when setting up the jobs to provide the best job scheduler performance while still providing critical data to the userbase.

     

    We will now review the job scheduler in terms of the migration/upgrade process.


    Before the upgrade starts, be sure to do the following on the Reports and Jobs > Scheduled page, before the BG services are shutdown.
    a. set jobs that are WAITING to PAUSED
    b. set jobs that are SCHEDULED to PAUSED
    c. allow PROCESSING jobs to COMPLETE
    d. delete all CANCELLED job instances

     

    This ensures that the job scheduler will be in a stable state with no load in the jobs queue. This will prevent orphan jobs, sequencing issues, and out-of-sync job starts.


    After the upgrade ends, the following can be performed on the Reports and Jobs > Scheduled page, before the BG services are started.
    a. run an immediate Time Slicing job to ensure it completes. Check the Administration > Time Slices page to ensure the 'Last Run' date reflects the most current time.
    b. select all PAUSED jobs and click the RESUME button. The job scheduler will honor the scheduled times.

     


    These steps will ensure a smooth job scheduler startup. It will prevent jobs getting stuck in the PROCESSING, WAIT, and SCHEDULED states

    and allow the jobs to follow the regular job schedule.

    If there is any issue with the Time Slicing job or the job scheduler, please open a issue.



  • 3.  Re: CA PPM Tuesday Tip: Prevent Job Scheduler Stalls

    Posted Aug 05, 2015 04:46 AM

    Thanks for sharing this, Tuan

     

    NJ



  • 4.  Re: CA PPM Tuesday Tip: Prevent Job Scheduler Stalls

    Posted Aug 06, 2015 06:42 AM

    Thanks for sharing