ONLamp.com: Cheap IP Takeover
Apr 07, 2003, 13:00 (5 Talkback[s])
(Other stories by Rob Flickenger)
"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 208.201.239.12
for its 'real' IP on eth0, and also has an IP alias of
208.201.239.36 on eth0:0. Brain uses 208.201.239.13 on eth0, and
208.201.239.37 on eth0:0..."
Complete
Story
Related Stories: