<div dir="ltr">Well,<br><br>From what I understand is that there will be a 3rd party handling the communication of the Layer 3 routing (if I got you well), however the only thing available right now is the physical nodes, I am also aware that such setup would increase thee probability of a split-brain situation, I also did not understand the part (need this in order to migrate the IP addresses the services are published on between your two geographical locations), you mean if a box is dead it will still have the capability to migrate the services to the other one ?<br>
<br>I am also thinking about about DNS based load-balancing, may be creating DNS records at different DNS service providers and have each one a different A record but I'vnt thought about how sessions/cookies/ssl/ftp would be handled through this way ?<br>
<br><br>Thanks so much!<br><br><br><div class="gmail_quote">On Fri, Nov 21, 2008 at 6:01 AM, Nikolas Lam <span dir="ltr"><<a href="mailto:nlam87346@library.usyd.edu.au">nlam87346@library.usyd.edu.au</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c"><br>
On Fri, 2008-11-21 at 03:54 +0200, Brain Stormer wrote:<br>
> Hello,<br>
><br>
> Could any component from the `Red Hat Cluster Suite` be utilized to<br>
> achieve a geographical load-balancing and high-availability system ?<br>
><br>
> I know how to do load-balancing/high-availability when both nodes are<br>
> allocated in the same network however it happens that I have 2 nodes<br>
> allocated in different places with different IP pool so I think<br>
> calling it geographical is the proper word.<br>
><br>
> Also if the `Red Hat Cluster Suite` does not have anything related to<br>
> that, its might be helpful to know other techniques to achieve such<br>
> goal.<br>
><br>
> Any input is appreciated!<br>
<br>
</div></div>I think the only thing that RHCS can't provide is an LVS director with<br>
layer 3 routing capabilities. You need this in order to migrate the IP<br>
addresses the services are published on between your two geographical<br>
locations. Once you can do this, your directors can encapsulate packets<br>
from the client back to your real servers using the ip-ip kernel module.<br>
My institution runs directors with keepalived and quagga OSPF routers on<br>
them.<br>
<br>
The rest can be done with standard RHCS, the only other non-standard<br>
thing you'll have to think about involves the multicasting of cluster<br>
communications. The main gotcha with this is that you have to set up an<br>
iptables rule to mangle the routing TTL of the multicast cluster<br>
communications packets to a large enough number of hops (the default is<br>
1, which means it won't get outside your LAN) to get from one site to<br>
the other via the longest reasonable route.<br>
<br>
e.g.<br>
<br>
 iptables -A OUTPUT -d <destination_multicast_addr> -j TTL --ttl-set 30<br>
<br>
Think about the security of multicast routing these communications as<br>
well.<br>
<br>
The new CLVM RAID 1 coming in RHEL5.3 probably means that you can do all<br>
this without expensive proprietary back-end storage mirroring too.<br>
<br>
A couple of other points:<br>
* it really helps if you have good control of all the infrastructure<br>
between the two sites<br>
* the risk of split-brain is certainly higher than having all cluster<br>
nodes in the one datacentre.<br>
<br>
Regards,<br>
<br>
Nik<br>
<font color="#888888"><br>
<br>
<br>
<br>
--<br>
Linux-cluster mailing list<br>
<a href="mailto:Linux-cluster@redhat.com">Linux-cluster@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/linux-cluster" target="_blank">https://www.redhat.com/mailman/listinfo/linux-cluster</a><br>
</font></blockquote></div><br></div>