Validate the Traffic Routing Agent Configuration

Perform this task to check the Traffic Routing Agent (TRA) configuration settings for errors.

Procedure

Run the following command to validate the configuration of both Traffic Routing Agents in an HA pair. To check the configuration of only the local Traffic Routing Agent, use the -s option in the command:
kubectl exec -it engine_pod_name -n matrixx -- bash --login -c"validate_tra_config.py"

Results

Information similar to the following is written to the command line:
validate_tra_config.py
INFO: running /opt/tra/bin/validate_tra_config.py on node 1 (mtx-ibm5-bld01, 10.10.226.51) ...
INFO: passwordless ssh access to 127.0.0.1 is enabled
INFO: passwordless ssh access to 10.10.226.51 is enabled
INFO: passwordless ssh access to 10.10.226.52 is enabled
INFO: TRA cluster configured for point-to-point
INFO: address 10.10.224.51 is configured on interface enp6s1f0 used for VIP vip3
INFO: address 10.10.224.51 is configured on interface enp6s1f0 used for VIP vip2
INFO: file /opt/tra/conf/tra_config.xml is same on all nodes

INFO: running /opt/tra/bin/validate_tra_config.py on node 2 (mtx-ibm5-bld02, 10.10.226.52) ...
INFO: passwordless ssh access to 127.0.0.1 is enabled
INFO: passwordless ssh access to 10.10.226.51 is enabled
INFO: passwordless ssh access to 10.10.226.52 is enabled
INFO: TRA cluster configured for point-to-point
INFO: address 10.10.224.52 is configured on interface enp6s1f0 used for VIP vip3
INFO: address 10.10.224.52 is configured on interface enp6s1f0 used for VIP vip2