Hi,
I really think I need to improve my Englilsh, sorry for that.
In Agent inventory we have 2 entries for the same agent but agent is only in one environment (attached picture)
It is not defined on NPE
echo $AUTOSERV
NPE
autorep -M bsa_bsbpoapp01p
CAUAJM_E_50111 Invalid Machine Name: bsa_bsbpoapp01p
and it is defined on PRD
echo $AUTOSERV
PRD
autorep -M bsa_bsbpoapp01p
Machine Name Max Load Current Load Factor O/S Status
bsa_bsbpoapp01p --- --- 1.00 Sys Agent Online
So what I wanted to know is how to make Agent inventory realized that the agent is not defined on NPE and delete that entry.
thanks
José
Original Message:
Sent: 12-03-2019 12:52 AM
From: Yehonatan Amir
Subject: Agent Inventory duplicated entries
Hey José,
Try running the command :
autorep -M ALL
does the Agent appare twice ?
If so , try this:
1) create a file with this inside:
delete_machine: {your Agent name}
force: y
2) save it somewhere (lets say under /tmp or /opt/CA/JIL) I.e : /tmp/delete_this_machine.JIL
3) run jil < {full path to file} -- > jil < /tmp/delete_this_machine.JIL
Hope this helps :)
Yoni
Original Message:
Sent: 12-02-2019 08:58 AM
From: Jose Ramon Lopez
Subject: Agent Inventory duplicated entries
Thanks Yoni for your answer.
I am afraid I did not explain myself properly :(
Myproblemis that Agent inventory shows agents duplicated. One agent has 2 entries on Agent inventory and I would like to remove the extra entry.
thanks
José
Original Message:
Sent: 12-01-2019 02:34 AM
From: Yehonatan Amir
Subject: Agent Inventory duplicated entries
Hey JR,
If i understand correctly - you have two environments , one for PROD and one for DEV/TEST , and you want to make sure DEV WCC wont start a job on a PROD machine.
i think you can delete it manually from the AGENTPARAM.txt, however - this wont prevent from WCC to schedule jobs to this machine (the entry is added automatically during autoping)
I think the best option is just remove the agent entry from the autosys_secure - so operators wont be able to schedule a job to prod agents.
Hope it helps,
Yoni
Original Message:
Sent: 11-27-2019 05:26 AM
From: Jose Ramon Lopez
Subject: Agent Inventory duplicated entries
Hi,
We have 2 AutoSys 11.3.6 SP7 (PRD and NPE), they are connected to WCC 11.4SP4
We misconfigured NPE AutoSys web service so it pointed to PRD one. Now we configured it properly but we have duplicated entries on agent inventory.
Agent inventory is showing agents that are only on PRD as if it was connected to both PRD and NPE.
Is there any way to remove entries on agent inventory or force it to refresh its data?
thanks
JR