OpenVZ Forum


Home » General » Support » DRBD+Heartbeat clustering question!
DRBD+Heartbeat clustering question! [message #29979] Sun, 04 May 2008 08:45 Go to previous message
zenny
Messages: 48
Registered: November 2006
Member
I have gone through http://wiki.openvz.org/HA_cluster_with_DRBD_and_Heartbeat and other relevant links there thoroughly.

1) The setup mentioned there seems to trigger to serve the secondary HN node in case either primary HN Node or any containers inside primary stops working, if I understand right.

But in OVZ case, what I have seen is mostly the containers stops working due to resource problem. In that case, the explained setup in the wiki may not help.

Let us assume that we have a primary HN 1 and a secondary HN 2 as pictured as in attachment (ovz-clustering.txt) with equal resources (CPU power and memory). Let us say one of the containers in primary HN 1 (say Container 1db) failed, then the primary HN 1 stops working and the secondary starts. But since the secondary also has the same resources, it will also stop as soon as it will be failed over from primary to secondary. Then the entire failover clustering setup collapses.

What I want to achieve is, in case Container 1a fails then Container 2a alone will be activated in secondary server whereas other containers in HN 1 and physical HN 1 remains running in the primary server. Thus, the resource allocation will not be consumed at once so that both of the server will not collapse at the same time.

Similarly, any instace of Container 1db failure will be load balanced by Container 2db without affecting any other containers in the primary HN 1 as well as HN1 itself.

Once the physical HN1 collapses then the entire secondary HN 2 will start serving.

Is this possible from the setup mentioned in the wiki or there are specific tweaks that is needed to accomplish this setup?

2) And what is the use of two ethernet cards in the setup? Is that merely for crossover cables to transfer data realtime between the primary and secondary hardware nodes? Can't it be achieve with a single card?

Thanking you in advance for your attention. Kindly make advise if I misunderstood the entire DRBD-Heartbeat concept. I wholeheartedly welcome any comments. Wink
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* how to create a mount script
Next Topic: vps's hangs
Goto Forum:
  


Current Time: Sun Oct 13 07:11:07 GMT 2024

Total time taken to generate the page: 0.10122 seconds