Configuration

High Availability: Network of Virtual Services

This topology provides a highly available service with minimal
hardware requirements. See the overview.
for information on how this setup works.

The documentation that follows assumes that all nodes on the network
are set up with correct interfaces and routes for each network they
are connected to as per the diagram above. The default route
for the real-servers is assumed to be the router, but may be
an alternate route if available.

This ensures that the real-server will accept traffic for
all of 192.168.0.0/24 as local. This updated
/etc/ha.d/haresources file includes this change.
To effect the change, restart heartbeat on both real-servers.

/etc/init.d/heartbeat restart

After a few moments heartbeat should add the virtual addresses to eth0 and
lo on the master. This can be verified using the ip command.
output has been truncated show only the eth0 interface.
You can verify that came up using the ip
command. The following output has been truncated to
only show information for lo:0.

Note: The netmask of 255.255.255.0 on the lo:0
interface indicates that this interface will accept traffic for all of the
addresses in
network 192.168.0.0 netmask 255.255.255.0.
This behaviour is peculiar to the
loopback interface (lo) and aliases.

Debian is a registered trademark of Software in the Public Interest, Inc.
Red Hat, the Red Hat Shadowman logo and Fedora are
registered trademarks of Red Hat, Inc.
Red Hat may also be refered to as RedHat on this site.
Linux is a registered trademark of Linus Torvalds.
All other trademarks are the property of their respective owners.