The parent.config file identifies the parent proxies used in an cache hierarchy. Use this file to perform the following configuration:
Traffic Server uses the parent.config file only when the parent caching option is enabled (refer to Configuring Traffic Server to Use a Parent Cache).
After you modify the parent.config file, run the traffic_line -x command to apply your changes. When you apply the changes to one node in a cluster, Traffic Server automatically applies the changes to all other nodes in the cluster.
Each line in the parent.config file must contain a parent caching rule. Traffic Server recognizes three space-delimited tags:
primary_destination=value secondary_specifier=value action=value
The following list shows the possible primary destinations and their allowed values.
The secondary specifiers are optional in the parent.config file. The following list shows the possible secondary specifiers and their allowed values.
A request URL method. It can be one of the following:
The following list shows the possible actions and their allowed values.
One of the following values:
One of the following values:
The following rule configures a parent cache hierarchy consisting of Traffic Server (which is the child) and two parents, p1.x.com and p2.x.com. Traffic Server forwards the requests it cannot serve to the parent servers p1.x.com and p2.x.com in a round-robin fashion:
round_robin=true
dest_domain=. method=get parent="p1.x.com:8080; p2.y.com:8080" round_robin=true
The following rule configures Traffic Server to route all requests containing the regular expression politics and the path /viewpoint directly to the origin server (bypassing any parent hierarchies): url_regex=politics prefix=/viewpoint go_direct=true
Every line in the parent.config file must contain either a parent= or go_direct= directive.