OpenVZ Forum


Home » General » Support » Mount bind to merge split shared disk? (Recombining /var/lib/vz for active/active cluster failover)
Re: Mount bind to merge split shared disk? [message #42200 is a reply to message #42187] Wed, 16 March 2011 23:24 Go to previous message
lastguru is currently offline  lastguru
Messages: 3
Registered: January 2011
Location: Riga, LV
Junior Member

Hi,

Yeah, I actually got it working. I have two DRBD partitions - one is mounted on HN1 in /var/lib/vz1 and another one - on HN2 in /var/lib/vz2. I have configured /etc/vz/vz.conf to have the default directories inside the mentioned partitions. When the failover is happening, I have a simple script that copies latest known container configs inside the other node and mounts the second directory. As the config from the other HN has the second directory listed (just as was previously said in this thread), they are starting correctly on that node.

Till now everything works fine. If you have any problems, you can ping me - I would be interested.

Regards,
Dmitry
 
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 07:12:53 GMT 2024

Total time taken to generate the page: 0.02677 seconds