Automic Workload Automation

Expand all | Collapse all

Modify the system variable's value

  • 1.  Modify the system variable's value

    Posted 04-07-2016 02:15 PM
    Hi All,

    We are using Automic version 11.1.1.
    We have installed unix agent (and Oracle Retail agent) on 2 unix servers in cluster (RAC).
    The Automation Engine is installed on Windows server.
    We want to be able to restart the agent on the second server when the first server is down.

    The variable &UC_IP_ADDR can show the IP address of the agent which is running the job.
    In this job I want to test the agent's host alive or not and if it is the case to modify the value of system variable &UC_IP_ADDR with the IP value of the available server in cluster.
    Is this scenario feasible or not?

    How can I change the variable value &UC_IP_ADDR during the run of job?

    Thank you for your answers,

  • 2.  Modify the system variable's value

    Posted 04-11-2016 05:02 AM
    The variable &UC_IP_ADDR is used by the job messenger daemon in the header, trailer, and restart includes, as well as in a few other places. Changing it might cause unexpected behavior. Can you use a user-defined variable instead, e.g., &NODE_IP_ADDR#?