Time for action – joining a cache hierarchy
Let's add two proxy servers to our Squid configuration file:
cache_peer parent.example.com parent 3128 3130 default cache_peer sib.example.com sibling 3128 3130 proxy-only
So, according to this configuration, parent.example.com
is a parent proxy server and sib.example.com
is a sibling proxy server.
What just happened?
We just learned how to add a proxy server or neighbors to our Squid configuration file, so that our proxy server can be a part of a cache hierarchy.
Now, let's have a look at the options which can be used to control ICP or HTCP communication.
ICP options
When we configure a peer with ICP communication, we must configure the icp_port
and icp_access
directives properly. Next, we'll have a look at the ICP-related options for the cache_peer
directive.
no-query
If we use the option no-query
, then Squid will never send any ICP queries to this peer.
multicast-responder
The option multicast-responder
specifies that this peer is a member of a multicast...