Am Freitag, 25. April 2008 15:27 schrieb Dejan Muhamedagic:
> Hi,
>
> On Fri, Apr 25, 2008 at 10:48:32AM +0200, Michael Schwartzkopff wrote:
> > 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.
>
> I think I can recall that there was a discussion, but no details :-)
> At any rate, long time ago I had a three node test cluster on
> Debian Etch with virtual IP addresses (using IPaddr). Haven't
> tested the setup much, but haven't noticed any problems either.
> In particular, the IPaddr resources didn't fail.
>
> Or did I misunderstand your question?

I think so.

Did you setup the complete openvz virtual machine as resource of the cluster 
or did you setup the heartbeat software inside the virtual machine and the ip 
address as a resource of that node? First setup should work. My question is 
related to the second setup.

Reason: As far as I tried the ip command does not work inside a virtual 
machine.

-- 
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