AutoSys Workload Automation

  • 1.  Job completed but status in WCC is pending machine...

    Posted Jul 18, 2013 08:55 AM
    Hi all,

    I've one doubt about WCC, There is a job that was completed but it not appears in WCC

    I tried to check the agent status of the server that contain this job, but the agent status is "OffLine"

    Is there some command or service in windows for set the agent status to "OnLine"?

    Below some images with the errors in WCC and WAAE Command Prompt

    I hope that helps

    Any doubt, please let me know

    Thank you

    Carlos


  • 2.  RE: Job completed but status in WCC is pending machine...

    Posted Jul 19, 2013 01:26 AM
    Hi Carlos,

    If the machine is unexpectedly OFFLINE check to ensure that the agent service is running and check for any communication issues.

    Here is the command to set the machine to ONLINE status:

    sendevent -E MACH_ONLINE -n <machine>

    to toggle it OFFLINE the command would be:

    sendevent -E MACH_OFFLINE -n <machine>

    The agent service must be running in order for this command to have any effect.

    Regards,
    Mark Hanson


  • 3.  RE: Job completed but status in WCC is pending machine...

    Posted Jul 19, 2013 07:32 AM
    Hi Mark

    Thanks for reply me,

    I tried to execute the commands that you sent to me and i realized that the agent status in WCC changed quickly for "Restart" but after some minutes it returned to previous state "pending machine"

    Do you know the name of the windows service that i can check on the host that contains this job?

    Greetings,

    Carlos


  • 4.  RE: Job completed but status in WCC is pending machine...
    Best Answer

    Posted Jul 22, 2013 08:34 AM
      |   view attached
    Hi,

    I opened a request for CA Support and now it works.

    Root cause: Agent name was wrong;
    Solution: We changed the agent name using some commands, as you can see in the image below.

    Thank you