Hi,

this post is a follow up to a discussion on this list beginnig of April.

Does anybody did setup a Linux-HA Cluster on a OpenVZ virtual system? I ran 
into trouble using the IPaddr2 resource.

Since a OpenVZ virtual machine is not able to set its own IP address the 
resource IP for the virtual address of the cluster will always fail.

- One solution was to set net_admin capabiliy to that virtual machine. But I 
did not succeed in trying that. If somebody succeeded, please mail me.

- The second suggestion was to setup new virtual devices for the node. See
http://wiki.openvz.org/Virtual_Ethernet_device
But I think this also will not work, because the underlying host does proxy 
arp for the virtual ip address. If the ip resource is moved to another node 
that underlying host will still do proxy arp and advertise the old node. Did 
anybody find a solution here?

- The third way I found was to rewrite the IPaddr2 RA a little bit so that it 
passes on the information about adding / removing the ip address to the 
underlying host which in turn does a:
vzctl set <veid> --ip_add <ip>

Any better solutions? Thank for a fruitful discussion.

-- 
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: [EMAIL PROTECTED]
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
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to