Workload Automation Agents

 View Only
  • 1.  How to reinitiate an agent?

    Posted Feb 17, 2020 04:05 AM
    Hi,

    On system agents there is a spool folder with files that link job, jobid, sysouts....

    is there any way to reinitiate an agent so it believes it is a brand new installation? Just as if no job had already ran.

    thanks.
    José


  • 2.  RE: How to reinitiate an agent?

    Posted Feb 17, 2020 06:43 AM
    Hi,

    In the end it was as follows.

    "cold start" of the Agent by using the following steps:
    1. Preferably wait to find a short period during which there will Not be any jobs running on the Agent
    2. Stop the Agent Service
    3. Take a backup of the "database" folder available under the Agent installation directory
    4. Once the backup is performed successfully, delete the "database" folder and restart the Agent Service
    After the restart, as the Agent does not find the database directory, it creates a clean database directory.

    Best regards.
    JR


  • 3.  RE: How to reinitiate an agent?
    Best Answer

    Posted Feb 17, 2020 07:54 AM

    Jose,
    I would like to add one small note that may save you a little time in Step 1. Quesce the agent, and monitor a custom view of job(s) running on the agent until they are complete, then restart.  This gives you the ability to prevent anything from trying to run to wait (SUBDELAY) until you issue the restart command.  This works particularly well if you are performing other maintenance on a server, such as OS upgrades, hardware changes, etc.

    <JC>