> My question now is how to handle this from the POV of the service
> provider, specifically the change of IP. As I see it, we have two
> choices.
>> 1) Manipulate the LVM disk on the standby server after is it has been
> updated to give it the correct IP.
>> 2) Run the domUs in rfc1918 space, and use iptables on the dom0s to
> route packets as needed.
>> 1) has the advantage of simplifying the dom0, whereas 2) has the
> advantage of simplifying the sync process.
>> Opinions? And especially, is there a 3) (or even a 4) ) that hasn't
> occurred to me?
How about having a domU that does the iptables stuff and all the
"application" domUs live in rfc1918 space? The "virtual router"
domU could be identical on both sites if it had some smart way
of figuring out where it was running. For example, ping the
upstream router IP address for both providers and see which has
the lower TTL.
Later,
Kenn
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!