How to clean up the unwanted agent's data in Agent inventory
search cancel

How to clean up the unwanted agent's data in Agent inventory

book

Article ID: 265255

calendar_today

Updated On:

Products

Autosys Workload Automation

Issue/Introduction

I want to clean up the unwanted agents in Agent Inventory which are no longer use as their agents have been decommissioned.

 

I also see some agents listed with a status of "Restarting Failed" in Agent Inventory.  Can that be refreshed somehow?

Environment

Release : 12.0

Resolution

For the agents that have been decommisioned you could remove their definitions from autosys.
Only then would they be no longer available for autosys to report on.
Please note you cannot remove a machine definition without including the "force: y" option
if you still have any jobs defined to make use of that agent.

For the "Restarting Failed" if you select them and then select ACTIONS you should be able to 
perform a "Rest Action Status".

 

Example, showing you I have a machine defined, and then I delete it.

$ autorep -q -M machine12345

/* ----------------- machine12345 ----------------- */

insert_machine: machine12345
type: a
factor: 1.00
port: 7520
node_name: machine12345
agent_name: WA_AGENT
encryption_type: DEFAULT
character_code: ASCII

$ jil
jil>>1> delete_machine: machine12345
jil>>2> force: y
jil>>3> exit
______________________________________________________________________________

CAUAJM_I_50227 Deleting machine: machine12345
CAUAJM_I_50202 Delete was successful!
______________________________________________________________________________

CAUAJM_I_52301 Exit Code = 0
______________________________________________________________________________

$