OpenVZ Forum


Home » General » Support » IPVS in a VE
IPVS in a VE [message #9519] Mon, 08 January 2007 16:39 Go to next message
Merlin83b is currently offline  Merlin83b
Messages: 5
Registered: January 2007
Junior Member
I've modprobed ip_vs from VE0 and it shows up in lsmod.

Running ipvsadm from VE0 is fine, but running from VE1 gives the following error:

[root@vps1 ~]# ipvsadm --help
Can't initialize ipvs: Permission denied (you must be root)
Are you sure that IP Virtual Server is built in the kernel or as module?


Do I need to specify that VE1 is allowed access somewhere? If so, where might I do this?
Re: IPVS in a VE [message #9543 is a reply to message #9519] Tue, 09 January 2007 09:28 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Hello,

ip_vs is not virualized...
Why do you need it?

Thanks,
Vasily.
Re: IPVS in a VE [message #9545 is a reply to message #9519] Tue, 09 January 2007 09:47 Go to previous messageGo to next message
Merlin83b is currently offline  Merlin83b
Messages: 5
Registered: January 2007
Junior Member
Hi Vasily,

I'm playing with an LVS setup, and using a single box split up with OpenVZ rather than lots of seperate boxes seemed like a good solution. I guess I'll have to run the LVS on a seperate box, unless this is a relatively quick fix?
Re: IPVS in a VE [message #9546 is a reply to message #9545] Tue, 09 January 2007 10:16 Go to previous messageGo to next message
Vasily Tarasov is currently offline  Vasily Tarasov
Messages: 1345
Registered: January 2006
Senior Member
Yes, I suppose you have to run the LVS on seperate boxes. Rolling Eyes
Re: IPVS in a VE [message #9547 is a reply to message #9519] Tue, 09 January 2007 10:18 Go to previous messageGo to next message
Merlin83b is currently offline  Merlin83b
Messages: 5
Registered: January 2007
Junior Member
That's a shame, it would have made a wonderful dev environment. Oh well, I suppose one/two LVS boxes and all the realservers on the OpenVZ box will have to do.
Re: IPVS in a VE [message #11424 is a reply to message #9519] Fri, 23 March 2007 09:33 Go to previous message
fgomes is currently offline  fgomes
Messages: 29
Registered: August 2006
Junior Member
I'll have the director running on separate machines, do you know if I can have the realservers on virtual machines, if I use LVS in LVS-DR mode? In LVS-DR mode I also needs the kernel of realservers to be patched with LVS, can this be problematic with OpenVZ?

Thanks!

Fernando
Previous Topic: *SOLVED* routing problem
Next Topic: *SOLVED* unknow error setting kernel parameters
Goto Forum:
  


Current Time: Tue Sep 10 12:17:02 GMT 2024

Total time taken to generate the page: 0.04768 seconds