AutoSys Workload Automation

 View Only
  • 1.  Upgrade AutoSys 11.0 to AE 11.3.6 SP7 some legacy Agent failed.

    Posted Feb 04, 2020 05:20 AM
    Hello,

    I am updating autosys from version 11.0 to 11.3.6 SP7.
    I already have AE 11.3.6 SP7 and WCC installed. Everything is working fine.
    I already test the DB migration procedure and it worked fine.
    Production is currently running on 11.0 with 23 agents.

    The problem I have is that from AE 11.3.6 SP7 I defined these 23 as legacy agent, of these 23 agents 3 are giving me problems.
    I must solve this connection problem with agents 11.0, while migrating them agent to the new version.
    When I tried ran Job in this 3 legacy agents from AE 11.3.6, the job remain in starting condition

    This is the version I'm testing.
    $ autoflags -a
    1589 SOLAR ORA 11.3.6 SP7 84fa3f96 proauto02 proauto02.nh.inet

    Here can see a machine and job definition one ran fine and another agent and job failed.


    $ autoping -M prescltol00c -S


    CAUAJM_I_50023 AutoPinging Machine [prescltol00c]
    CAUAJM_I_50031 Checking the Agent's connectivity to the Application Server.
    CAUAJM_I_50025 AutoPing WAS SUCCESSFUL.

    $ autoping -M prosclfac03c -S


    CAUAJM_I_50023 AutoPinging Machine [prosclfac03c]
    CAUAJM_I_50031 Checking the Agent's connectivity to the Application Server.
    CAUAJM_E_50037 ERROR: Agent failed to communicate with Application Server.
    CAUAJM_E_50041 ERROR: Agent returned < >.
    CAUAJM_E_50026 ERROR: AutoPing WAS NOT SUCCESSFUL.

    $ autoping -M prosclfac03c


    CAUAJM_I_50023 AutoPinging Machine [prosclfac03c]
    CAUAJM_I_50025 AutoPing WAS SUCCESSFUL.

    insert_job: Test_Maq_prosclfac03c job_type: CMD
    box_name: Test_Maq
    command: ls -l
    machine: prosclfac03c
    owner: autosys@proauto02
    permission:
    date_conditions: 0
    std_out_file: "/tmp/Test_Maq_prosclfac03c.out"
    std_err_file: "/tmp/Test_Maq_prosclfac03c.err"
    alarm_if_fail: 1
    alarm_if_terminated: 1
    $
    $
    $
    autorep -J Test_Maq_prescltol00c$ -q


    /* ----------------- Test_Maq_prescltol00c ----------------- */

    insert_job: Test_Maq_prescltol00c job_type: CMD
    box_name: Test_Maq
    command: ls -l
    machine: prescltol00c
    owner: autosys@proauto02
    permission:
    date_conditions: 0
    std_out_file: "/tmp/Test_Maq_prescltol00c.out"
    std_err_file: "/tmp/Test_Maq_prescltol00c.err"
    alarm_if_fail: 1
    alarm_if_terminated: 1


    $ autorep -M prosclfac03c -q


    /* ----------------- prosclfac03c ----------------- */

    insert_machine: prosclfac03c
    type: r
    factor: 1.00
    node_name: prosclfac03c
    $
    $ autorep -M prescltol00c -q


    /* ----------------- prescltol00c ----------------- */

    insert_machine: prescltol00c
    type: r
    factor: 1.00
    node_name: prescltol00c
    $

    $ sendevent -E FORCE_STARTJOB -J Test_Maq_prosclfac03c
    $ sendevent -E FORCE_STARTJOB -J Test_Maq_prescltol00c
    $ autosyslog -E


    Monitoring CA WAAE Scheduler Log:
    /auto/opt/CA/WorkloadAutomationAE/autouser.COL/out/event_demon.COL

    *** To break out type control-c (^c) ***

    [02/03/2020 11:17:00] ----------------------------------------
    [02/03/2020 11:17:01] CAUAJM_I_80021 The agent inventory service has evaluated the statuses of 25 machine(s) in 0.151709 seconds.
    [02/03/2020 11:17:34] CAUAJM_I_40245 EVENT: FORCE_STARTJOB JOB: Test_Maq_prosclfac03c
    [02/03/2020 11:17:35] CAUAJM_I_40245 EVENT: CHANGE_STATUS STATUS: STARTING JOB: Test_Maq_prosclfac03c MACHINE: prosclfac03c
    [02/03/2020 11:17:36] CAUAJM_I_10082 [prosclfac03c connected for Test_Maq_prosclfac03c 13135.49446316.3]
    [02/03/2020 11:17:42] CAUAJM_I_40245 EVENT: FORCE_STARTJOB JOB: Test_Maq_prescltol00c
    [02/03/2020 11:17:43] CAUAJM_I_40245 EVENT: CHANGE_STATUS STATUS: STARTING JOB: Test_Maq_prescltol00c MACHINE: prescltol00c
    [02/03/2020 11:17:44] CAUAJM_I_10082 [prescltol00c connected for Test_Maq_prescltol00c 13129.49446316.3]
    [02/03/2020 11:17:45] CAUAJM_I_40245 EVENT: CHANGE_STATUS STATUS: RUNNING JOB: Test_Maq_prescltol00c MACHINE: prescltol00c
    [02/03/2020 11:17:45] CAUAJM_I_40245 EVENT: CHANGE_STATUS STATUS: SUCCESS JOB: Test_Maq_prescltol00c MACHINE: prescltol00c EXITCODE: 0
    [02/03/2020 11:18:00] ----------------------------------------
    [02/03/2020 11:18:02] CAUAJM_I_80021 The agent inventory service has evaluated the statuses of 25 machine(s) in 0.151933 seconds.
    [02/03/2020 11:19:00] ----------------------------------------
    ^C$
    $
    $
    $ autorep -J Test_Maq_prosclfac03c

    Job Name Last Start Last End ST/Ex Run/Ntry Pri/Xit
    ________________________________________________________________ ____________________ ____________________ _____ ________ _______
    Test_Maq_prosclfac03c ----- ----- ST 49446316/3
    $ autorep -J Test_Maq_prescltol00c

    Job Name Last Start Last End ST/Ex Run/Ntry Pri/Xit
    ________________________________________________________________ ____________________ ____________________ _____ ________ _______
    Test_Maq_prescltol00c 02/03/2020 11:17:44 02/03/2020 11:17:45 SU 49446316/3 0
    $



    the job remain in ST status.

    Thanks Very Much for your help.



  • 2.  RE: Upgrade AutoSys 11.0 to AE 11.3.6 SP7 some legacy Agent failed.
    Best Answer

    Posted Feb 05, 2020 02:08 AM
    Hi Monica,
    the job is remaining with ST status because the Agent is unable to contact the Application server.  this is confirmed with the autoping -S result.
    The job starts because the Scheduler can connect with the Agent, but the agent cannot report that the job is running.
    Things to check, name resolution, network ports (must be open bidirectionally), if using SSA make sure it is configured correctly.
    regards
    Paul


  • 3.  RE: Upgrade AutoSys 11.0 to AE 11.3.6 SP7 some legacy Agent failed.

    Posted Feb 05, 2020 07:05 AM

    And you haven't upgraded the agents why ?

     

     

     

    Steve C.

     



    Nothing in this message is intended to constitute an electronic signature unless a specific statement to the contrary is included in this message.

    Confidentiality Note: This message is intended only for the person or entity to which it is addressed. It may contain confidential and/or privileged material. Any review, transmission, dissemination or other use, or taking of any action in reliance upon this message by persons or entities other than the intended recipient is prohibited and may be unlawful. If you received this message in error, please contact the sender and delete it from your computer.





  • 4.  RE: Upgrade AutoSys 11.0 to AE 11.3.6 SP7 some legacy Agent failed.

    Posted Feb 05, 2020 07:38 AM
    I will check the ports and name resolutions.
    I have not migrated agents yet because I must migrate the database first. The first step is to migrate the DB and second step the agents.