OpenVZ Forum


Home » General » Support » Mount bind to merge split shared disk? (Recombining /var/lib/vz for active/active cluster failover)
Mount bind to merge split shared disk? [message #41370] Tue, 11 January 2011 13:19 Go to previous message
lastguru is currently offline  lastguru
Messages: 3
Registered: January 2011
Location: Riga, LV
Junior Member

Hi,

I am wondering if the following idea makes any sense, or maybe there are easier methods to do what I need.

I have two servers for which I need to provide active/active cluster high availability. To do this I will use DRBD system to replicate disk between the two nodes.

If I want OpenVZ virtual machines to migrate between the nodes without being copied, I would imagine using OCFS2 or other shared disk filesystem. This is, however, not possible as OpenVZ quotas can not be put on anything other than ext2/3/4.

My next idea was to maintain two separate ext4 filesystems for each node. In case one of the nodes fail, its filesystem would be mounted on the other. There is, however, one catch: as far as I know, OpenVZ can only work within /var/lib/vz. Right?

So to do this, is it possible to recombine single /var/lib/vz tree using mount bind to put root/VID and private/VID to their respective places within the already existing /var/lib/vz tree? So it would be two mount binds per container.

Does it make any sense? Will the quotas work? Will there be any other possible problems?
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Bash 4.2 problem?
Next Topic: -bash: fork: Cannot allocate memory
Goto Forum:
  


Current Time: Wed Jul 31 03:20:10 GMT 2024

Total time taken to generate the page: 0.02745 seconds