stop_tra_node.py

The stop_tra_node.py script stops a Traffic Routing Agent in any HA cluster. Run this script as the tra user on the server hosting the Traffic Routing Agent node to stop the Traffic Routing Agent.

Syntax

stop_tra_node.py NodeId [-h] [-v] [-p] [-u username][-w seconds] [--no_log_file]

Options

The stop_tra_node.py script has the following options:

nodeId
The ID of the Traffic Routing Agent server to stop.
-h, --help
Help about the script options.
-p, --use_proc
Stops 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.
-v, --verbose
Verbose output.
-u username, --user username
When this option is set, run the script as the specified user. The default is the current logged in user.
--no_log_file
Do not log messages from the utility to the /var/log/tra/tra_util.log file. Only print messages to stdout.

Stop Node ID 2

stop_tra_node.py 2
INFO:  stopping node 2...
INFO:  node 2 is stopped