Cheap IP takeover
Directing traffic to one of several machines is fairly straightforward when using round-robin DNS. But what happens when one of those servers becomes unavailable? Here's one scheme for monitoring the health of another server, and standing in for it if it fails.
First, we need to make a distinction between the server's "real" IP address, and the IP (or IPs) from which it actually serves public content. For this example, we'll be referring to two servers, Pinky and Brain. Pinky uses the IP address 22.214.171.124 for its "real" IP on eth0, and also has an IP alias of 126.96.36.199 on eth0:0. Brain uses 188.8.131.52 on eth0, and 184.108.40.206 on eth0:0.
[ Read more ]
Reading our newsletter every Monday will keep you up-to-date with security news.
Receive a daily digest of the latest security news.