Traffic Router Administration

Installing Traffic Router

The following are requirements to ensure an accurate set up:

  • CentOS 6
  • 4 vCPUs
  • 8GB RAM
  • Successful install of Traffic Ops
  • Successful install of Traffic Monitor
  • Administrative access to the Traffic Ops
  • Physical address of the site
  • perl-JSON
  • perl-WWW-Curl
  1. Enter the Traffic Router server into Traffic Ops.
  2. Make sure the FQDN of the Traffic Monitor is resolvable in DNS.
  3. Install a traffic router: sudo yum install traffic_router.
  4. Edit /opt/traffic_router/conf/ and put in the correct online Traffic Monitor(s) for your CDN.


# list of ips or hostnames delimited by semicolon (;);

# Instead of using the traffic_monitor.bootstrap.hosts property as a bootstrap
# source before switching to ONLINE Monitors in the TrConfig, always
# use the hosts listed for TrConfig and TrStates. Defaults to false.
traffic_monitor.bootstrap.local = false

# url that should normally point to this file

# Frequency for reloading this file
  1. Start Tomcat: sudo service tomcat start, and test lookups with dig and curl against that server.
  2. Snapshot CRConfig
  • This instantly associates production traffic on the servers. They need to be online when you change the DNS records.
  1. Add the correct DNS entries to the SOA records for the CDN on which you are working.
  2. Add the servers to the NS and SOA records for your domain.

Configuring Traffic Router

  1. From Misc > Profiles, verify the following:
  • The Traffic Router information.
  • The profile is set correctly.
  • The Status is set to OFFLINE.
  1. Verify the functionality of the DNS entry for the Traffic Router.
  2. Click Tools > Generate ISO.
  3. Complete the necessary fields.
  4. Click Download ISO.

Troubleshooting and log files

Traffic Router log files are in /opt/traffic_router/var/log/, and tomcat log files are in /opt/tomcat/logs/.