AutoSys Workload Automation

 View Only
  • 1.  Agent Inventory duplicated entries

    Posted Nov 27, 2019 05:26 AM
    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


  • 2.  RE: Agent Inventory duplicated entries

    Posted Dec 01, 2019 02:34 AM
    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


  • 3.  RE: Agent Inventory duplicated entries

    Posted Dec 02, 2019 08:58 AM
    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é


  • 4.  RE: Agent Inventory duplicated entries

    Posted Dec 03, 2019 12:53 AM
    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


  • 5.  RE: Agent Inventory duplicated entries

    Posted Dec 03, 2019 02:04 AM
      |   view attached
    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é



  • 6.  RE: Agent Inventory duplicated entries
    Best Answer

    Posted Dec 03, 2019 02:35 AM
    Hey José,

    Not sure why it behaves this way. Restarting the WCC service might help , but if not , i would open a ticket to the CA support.

    Good luck :)

    Yoni