AutoSys Workload Automation

  • 1.  Is there a way to determine the agent version running on an already installed machine?

    Posted Jun 25, 2014 12:54 PM

    I am trying to bring all my agents up to date, but I want to determine what version/build we are running on said agent.



  • 2.  Re: Is there a way to determine the agent version running on an already installed machine?

    Posted Jun 26, 2014 02:58 AM

    This will give the version details of the System Agent

    *NIX:

     

    cd <agent_install_dir>/ESPSystemAgent

    ./cybAgent -v

     

    Windows:

    cd <agent_install_dir>\ESPSystemAgent

    cybAgent -v

     



  • 3.  Re: Is there a way to determine the agent version running on an already installed machine?

    Posted Jul 02, 2014 01:10 PM

    I created an ESP Proc to get this information for our Linux environment.

     

    The Linux servers in our environment are running either version R7 or r11.3

     

    The ESP Proc was called for each Linux Agent, Job GETVERLX would issue the cybAgent -v command and check for the string R7.

     

    If the string was found it would exit with 0, if not found it would exit with 1.

     

    I added 2 TASKs to display a message for each condition code.

     

    If you view all the jobs in CSF with Presentation set to display completion code you can determine what agents are at a given level.

     

         Job Name Agent Name       Gen#   ApplName CCode  Jobno System Status      

    ___ R7AGENT                        1 GETVER       -   TASK BYPASSED           

    ___ GETVERLX LJ_GALPCLU00014       1 GETVER       1   4271 COMPLETED AT 12.35

    ___ R11AGENT                       1 GETVER       0   1657 COMPLETED AT 12.35

     

    EXITCODE 0-1 SUCCESS is used so all Jobs complete "successfully".

     

    If you have more than 2 agent versions you would need to have additional jobs to for other versions.

     

    This would also work for UNIX and AIX.

     

    For Windows you should be able to replace 'grep' with 'findstr'

     

    APPL GETVER

     

    LINUX_JOB GETVERLX
      AGENT %USER1
      CMDNAME /bin/bash
      USER <valid User>
      ARGS -c 'cd $ESPAGENTDIR; ./cybAgent -v| grep R7'
      RELEASE ADD(R7AGENT) COND(RC(0))
      RELEASE ADD(R11AGENT) COND(RC(1))
      EXITCODE 0-1 SUCCESS
      RUN ANYDAY
    ENDJOB

     

    JOB R7AGENT TASK SELFCOMPLETING
      SEND 'Agent %USER1 is running ESP R7 agent.' USER(*)
      RUN ANYDAY
    ENDJOB


    JOB R11AGENT TASK SELFCOMPLETING
      SEND 'Agent %USER1 is running ESP r11.3 agent.' USER(*)
      RUN ANYDAY
    ENDJOB



  • 4.  Re: Is there a way to determine the agent version running on an already installed machine?

    Posted Jul 30, 2014 12:24 PM

    You might want to look into  defaultlog_agent.log

    [ assuming unix based agent ]

    $ cat defaultlog_agent.log   |grep Plugin   |grep Build



  • 5.  Re: Is there a way to determine the agent version running on an already installed machine?

    Posted Jul 30, 2014 05:14 PM

    cybAgent -v

     

    Deekshit Addepalli | Senior Consultant | RMT

    (651)-600-9490 – Cell | (651) 769-2574 – Office | (651) 305-8361 – Fax

    daddepalli@robertmarktech.com<mailto:daddepalli@robertmarktech.com> | Robert Mark Tech<http://www.robertmarktech.com/>

    Visit RMT’s partner, Arbiter Software, for Lifecycle Management with AutoSys: Arbiter Software<http://arbitersoftware.com/>

     

    Follow Robert Mark on LinkedIn: RMT on LinkedIn<http://www.linkedin.com/company/robert-mark-technologies/>

     

    "Like" us on Facebook: RMT on Facebook<http://www.facebook.com/pages/Robert-Mark/149566531779416>



  • 6.  Re: Is there a way to determine the agent version running on an already installed machine?

    Posted Jul 30, 2014 03:07 PM

     

    If you question relates to a WAAE 11.3.x system agent you can run the following commands:

     

     

    -- Unix:

     

    /<install directory>/SystemAgent/<AGENT_NAME>./cybAgent –v

     

     

    -- Windows (from a WAAE command prompt)

     

    \<install directory>\SystemAgent\<AGENT_NAME>\cybAgent –v