47
Chapter 6
Traffic Server Clusters
3. Edit the following variables:
4. Save and close the
records.config
file.
5. Run the command
traffic_line -L
to restart the
traffic_manager
process on the local node.
Deleting nodes from a cluster
To delete a node from the Traffic Server cluster, you need to edit a configuration variable on the node you
want to delete. Follow the procedure below.
To delete a node from a cluster:
1. Stop Traffic Server on the node you want to delete.
2. Open the
records.config
file located in Traffic Server’s
config
directory with Vi.
3. Edit the following variable:
4. Save and close the
records.config
file.
5. Restart the Traffic Server.
Virtual IP failover
The Traffic Server virtual IP failover feature enables Traffic Server to maintain a pool of virtual IP addresses
that it assigns to the nodes in the cluster as necessary. These virtual IP addresses are virtual only in the sense
that they are not tied to a specific machine; Traffic Server can assign them to any of its nodes. To the outside
world, these virtual IP addresses are the addresses of the Traffic Server cluster.
Variable
Description
proxy.config.cluster.type
Set this variable to:
•
1 for full-clustering mode
•
2 for management-only mode
Clustering modes are described in
Understanding Traffic
Server clusters‚ on page 45
.
proxy.config.proxy_name
Set this variable to the name of Traffic Server cluster. All
nodes in a cluster must use the same name.
proxy.config.cluster.mc_group_addr
Set this variable to specify the multicast address for cluster
communications. All nodes in a cluster must use the same
multicast address.
proxy.config.cluster.rsport
Set this variable to specify the reliable service port. The
reliable service port is used to send data between the nodes in
the cluster. All nodes in a cluster must use the same reliable
service port. The default value is 8098.
proxy.config.cluster.mcport
Set this variable to specify the multicast port. The multicast
port is used for node identification. All nodes in a cluster
must use the same multicast port. The default port number is
8099.
proxy.config.cluster.ethernet_interface
Set this variable to specify the network interface for cluster
traffic. All nodes in a cluster must use the same network
interface.
Variable
Description
proxy.config.cluster.type
Set this variable to 3 to turn off clustering.