Setting the environment and starting the Unified Agents

The Unified Agent enables the distributed management of the cluster. Set the $SYBASE environment variables and start a Unified Agent on each node that will host instances in the cluster.

If another application is already using port 9999 see step 3.

StepsStarting the Unified Agents

From the $SYBASE directory of each instance:

  1. Source the SYBASE environment script.

  2. Start the Unified Agent:

    $SYBASE_UA/bin/uafstartup.sh &
    

    NoteThe Unified Agent creates $SYBASE_UA/nodes/<node_name>/log/agent.log, and sends agent output to that file.

  3. To optionally specifying the UAF port number where port_number = any available network port

    $SYBASE_UA/bin/uafstartup.sh -port port_number
    

    If you use this option you must use the same port number for all agents.

StepsShutting down the Unified Agent

  1. To shutdown a UAF agent running on a specific port number, enter the following:

    $SYBASE_UA/bin/uafshutdown.sh -port port_number
    

    For example, to shutdown a UAF agent that is started on port number 12345:

    $SYBASE_UA/bin/uafshutdown.sh -port 12345
    

    NoteOn HP – do not cancel your Unified Agent process by using Ctrl-C to terminate a parent Java process on a running server, as this also kills any Adaptive Server and other auxilary server instances that the agent started.