[Linux-HA] Again: Any successful cluster inside (!) of a openvz virtual machine?

Michael Schwartzkopff misch at multinet.de
Thu Jun 12 04:10:03 MDT 2008


Hi,

does anybody run successfully run a heartbeat cluster inside a openvz virtual 
machine? Due to the nature of openvz virtual machines I have a problem with 
IPaddr2 resources.

The problem is running heartbeat inside the virtual machine and NOT setting up 
a virtual machine as a resource of heartbeat.

Let me explain the problem: Inside openvz virtual machine there are two 
different network devices venet and veth.

As far as I understood the documentation, using venet devices you cannot 
change the ip address inside the virtual machine. So no chance to set up a 
cluster using IPaddr2 resource the easy way. I have a ugly workaround, but 
that is not the topic here.

Using veth device you can change the IP address inside the virtual machine. 
But  you have to set up proxy arp on the host machine and also the host has 
to know about routing to that machine. If the IP address resource inside the 
virtual machine is moved away to an other virtual machine located on the same 
host or another one, the original host will still advertise its MAC address 
for the vitual IP adress of the cluster and will route the packets to the 
virtual machine not serving the IP address any more.

Did I understand OpenVZ documentation right?
Is there any way out of this dilemma using heartbeat inside openvz vitual 
machines?

Greetings,

-- 
Dr. Michael Schwartzkopff
MultiNET Services GmbH
Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany
Tel: +49 - 89 - 45 69 11 0
Fax: +49 - 89 - 45 69 11 21
mob: +49 - 174 - 343 28 75

mail: misch at multinet.de
web: www.multinet.de

Sitz der Gesellschaft: 85630 Grasbrunn
Registergericht: Amtsgericht München HRB 114375
Geschäftsführer: Günter Jurgeneit, Hubert Martens

---

PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B
Skype: misch42


More information about the Linux-HA mailing list