start_tra_node.py

The start_tra_node.py script starts the specified Traffic Routing Agent software stack. Run this script as the tra user on the server hosting any Traffic Routing Agent node you want to start.

Syntax

start_tra_node.py nodeId [-h] [-v] [-u username][-w seconds]

Options

The start_tra_node.py script has the following options:

nodeId
The ID of the Traffic Routing Agent server to start.
-h, --help
Help about the script options.
-p, --use_proc
Starts a Traffic Routing Agent with the Process Controller instead of systemd. If a Traffic Routing Agent is started with this option, it must also be stopped with this option.
-u username, --user username
When this option is set, run the script as the specified user. The default is the current logged in user.
-w seconds, --wait seconds
Wait the specified number of seconds before validating the start-up status of all nodes in the cluster.
--no_log_file
Do not log messages from the utility to the /var/log/tra/tra_util.log file. Only print messages to stdout.

Start and Wait Until the HA State is Active

Start the local Traffic Routing Agent and wait for the state of the SNMP cluster service to have an HA state of Active before returning a confirmation that the software stack has started, for example:
start_tra_node.py -w 1 -t 10