AutoSys Workload Automation

  • 1.  how to get version?

    Posted Nov 06, 2014 09:53 AM

    We recently updated 11.3 SP1 Incr1 to 11.3 SP1 Incr3 with a post-Incr3 hotfix.  Build number should be 158.  We thought we'd upgraded everything - clients, agents, scheduler and app server, but we're continuing to experience a known bug in incr1 (app server hangs when contacting an agent that has communication.manager.dynamic.modifications.lock=true in the agentparm.txt file).

     

    autoflags -i has always been my go-to command for version info but I believe that it only reports the build number of the client, rather than the agent, application server or scheduler.  After we ran our install, the build number reported 158.  Success.

     

    I believe cybAgent -v returns a build number of the agent, though it doesn't seem to map to the autoflags build number.  After our install, this command reported Version R11.3, Build 245. I don't know what this number means.  It's higher than the build number we're looking for but it doesn't mention SP1.

     

    The best I could find for the two daemons was to run the strings command.  Is there a better way?

     

    strings as_server returned 11.3SP1INC157, which means it has everything except the post-hotfix patch.  This should be enough to resolve the lock=true hang.

    strings event_demon returns lots of rows that mention 158-INC3Hotfix.



  • 2.  Re: how to get version?
    Best Answer

    Posted Nov 07, 2014 01:10 AM

    We reviewed this offline, but for the benefit of others in the community:

     

    autoflags -a will return version information for the scheduler, app server and client.

     

    For example:

     

    $ autoflags -a

    546 SOLAR ORA 11.3.5 INCR2 84f9fe52 sun11 sun11

     

    Above we can see that on host sun11 this is an 11.3.5 Incremental 2 instance on Solaris using Oracle. The build number is 546.

     

    You can also get version information for some binaries using the -x flag. Some examples:

     

    $ as_server -x

    11.3.5.INCR2.546

     

    $ event_demon -x

    11.3.5.INCR2.546

     

    $ autorep -x

    11.3.5.INCR2.546

     

    The agent (aka SystemAgent ... aka cybAgent) uses a separate version scheme. It is not related or tied to the scheduler/app server release level.

     

    Note: The latest agent release, currently Service Pack 4 can be used with any 11.3.x scheduler release.

     

    Here is an example of retrieving the agent version:

     

    $ pwd

    /opt/CA/WorkloadAutomationAE/SystemAgent/WA_AGENT

    -bash-3.00$ ./cybAgent -v

    CA Workload Automation Agent

       for SUN Solaris 32-bit

       Version R11.3, Service Pack 1, Maintenance Level 1, Build 413

     

     

    Enabled plug-in(s):

    - runner

    - router

    - filemon

    - objmon

    - filebrowser

    - ftp

     

     

    Copyright (c) 2009 CA.  All rights reserved.