OpenVZ Forum


Home » General » Support » WebVZ OpenVZ Management Tool
WebVZ OpenVZ Management Tool [message #27477] Mon, 18 February 2008 11:38 Go to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
Dear All

I just finished developing WebVZ as I called it. It manages OpenVZ and the VEs

This tool lets you do the following:

1. Start, Stop, Restart, and Destroy Virtual Environments (VE)
2. Start, Stop, and Restart VZ service
3. Execute Commands inside the running VE and display the output on the same page.
4. Change the configuration of the VE.
5. Create VE.
6. list the stopped VE, the running VE and/or all of them.

I requested a space from sourceforge and I am waiting there reply.
In order to run it you need Ruby on Rails.

the followings are some screenshots from my computer.

It is running on Centos5, I did not try it on other distros.
Basically this version does the same as EasyVS except it is web. And I made it more friendly in terms of error handlings. Next versions will have more interesting features such as migration and checking the configurations and many more.

Sorry for the colours, I am not good at colorings.

I welcome any comment, criticism, correction, question, etc.

Screenshots are here
http://webvz.sourceforge.net/screenshots.html
Regards
Shuaib Zahda


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net

[Updated on: Thu, 27 March 2008 05:31]

Report message to a moderator

Re: WebVZ OpenVZ Management Tool [message #27483 is a reply to message #27477] Mon, 18 February 2008 13:11 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

I think it is useful for you and your project
http://wiki.openvz.org/Control_panels
Re: WebVZ OpenVZ Management Tool [message #27489 is a reply to message #27477] Mon, 18 February 2008 14:26 Go to previous messageGo to next message
HostVPS is currently offline  HostVPS
Messages: 1
Registered: October 2007
Junior Member
Hi Shuaib,

Great work! I look forward to seeing your project on SourceForge and providing some feedback on the project after I get a chance to try out WebVZ on one of our dev servers.

Regards,

Les

[Updated on: Mon, 18 February 2008 16:22]

Report message to a moderator

Re: WebVZ OpenVZ Management Tool [message #28497 is a reply to message #27477] Thu, 20 March 2008 17:32 Go to previous messageGo to next message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
Is this project dead? I see all the screen shots have been deleted?
Re: WebVZ OpenVZ Management Tool [message #28502 is a reply to message #28497] Fri, 21 March 2008 02:48 Go to previous messageGo to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
Dear

The project is not dead and the next version is coming soon with new features

the screenshots are here

http://webvz.sourceforge.net/screenshots.html

thanks


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net
Re: WebVZ OpenVZ Management Tool [message #28503 is a reply to message #27477] Fri, 21 March 2008 06:41 Go to previous messageGo to next message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
Thanx Smile
Re: WebVZ OpenVZ Management Tool [message #28780 is a reply to message #27477] Fri, 28 March 2008 09:53 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
Hi, I'm getting this error on every page: The kernel does not support OpenVZ.

OpenVZ kernel from git, Gentoo amd64 HN.
Re: WebVZ OpenVZ Management Tool [message #28788 is a reply to message #28780] Fri, 28 March 2008 11:33 Go to previous messageGo to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
Hello,

I did not test WebVZ on Gentoo.
if you recieve this messege it means your kernel is not openvz kernel.

Basically when you execute uname -r. in the output you are supposed to see the word "stab". If this word does not exist. WebVZ issues this error.

Thanks


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net
Re: WebVZ OpenVZ Management Tool [message #28789 is a reply to message #28788] Fri, 28 March 2008 11:39 Go to previous messageGo to next message
aTan is currently offline  aTan
Messages: 29
Registered: March 2008
Junior Member
It's bad, because I use git version:
uname -r
2.6.24-gc6504c8d-dirty
Re: WebVZ OpenVZ Management Tool [message #28793 is a reply to message #28789] Fri, 28 March 2008 13:16 Go to previous messageGo to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
Well, I will need to handle that in the coming version.

Basically, I am not pretty sure about all the versions of openvz.
so if someone call list them down, that will be great.





WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net
Re: WebVZ OpenVZ Management Tool [message #28826 is a reply to message #28789] Sat, 29 March 2008 14:16 Go to previous messageGo to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
I have fixed this problem. How can I send it to you. can you send me your email address.

Razz


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net
Re: WebVZ OpenVZ Management Tool [message #29522 is a reply to message #28826] Tue, 15 April 2008 17:11 Go to previous messageGo to next message
dahas is currently offline  dahas
Messages: 14
Registered: April 2008
Junior Member
I need that fix too
Im using Git compiled version of kernel too.
At uname -r i get this
2.6.24-core2
That I wish to name my kernel Sad i guess must me another way to find if the kernlel is openvz compatible or not like looking in /proc/config.gz on modern kernel version you can find the setting for OpenVZ specific kernel.
Thanks
P.S if is a patch you can atach to this post only if his size not past 2Mb

[Updated on: Tue, 15 April 2008 17:12]

Report message to a moderator

Re: WebVZ OpenVZ Management Tool [message #29523 is a reply to message #29522] Tue, 15 April 2008 17:37 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

@shuaib85:
check if /proc/vz/ exist, if yes then a OpenVZ Kernel is running
or
use the /proc/vz/version, to determine which OpenVZ Version is booted.

Re: WebVZ OpenVZ Management Tool [message #29535 is a reply to message #29523] Wed, 16 April 2008 03:46 Go to previous messageGo to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
Dear

I have fixed this problem and i have released webvz 1.5 which has the fix. Moreover, WebVZ 1.5 has login module the user name is admin and the password is admin123 I advise you to add another user for security.

just download the new release and it will work fine.

http://webvz.sourceforge.net/download.html

I wish this solved your problem

Smile


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net
Re: WebVZ OpenVZ Management Tool [message #29571 is a reply to message #27477] Thu, 17 April 2008 10:15 Go to previous messageGo to next message
SoftDux is currently offline  SoftDux
Messages: 55
Registered: November 2007
Location: Johannesburg, South Afric...
Member
hey, this is a nice control panel.

How do I let it auto start when the server reboots?
And how do I map it to a domain name, and not the IP?
Re: WebVZ OpenVZ Management Tool [message #29603 is a reply to message #29571] Fri, 18 April 2008 04:30 Go to previous messageGo to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
SoftDux wrote on Thu, 17 April 2008 06:15

hey, this is a nice control panel.

How do I let it auto start when the server reboots?
And how do I map it to a domain name, and not the IP?



to start Webrick on boot is like running any other linux applucation on boot. The following link explains the way.
http://www.linux.com/base/ldp/howto/HighQuality-Apps-HOWTO/b oot.html

to map the IP to a hostname. I am not sure you are running webvz withing your LAN or it is accessible from the Internet.

If it is in the LAN. You need to add that in your local DNS server. or if it was between two to three machines you can add a line in each machine in /etc/hosts

I wish this helps

Thanks for using webvz


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net
Re: WebVZ OpenVZ Management Tool [message #29695 is a reply to message #29535] Mon, 21 April 2008 17:16 Go to previous messageGo to next message
dahas is currently offline  dahas
Messages: 14
Registered: April 2008
Junior Member
Hi
Like i say in previous post i get that using 1.5 version on CentOS 5.1 x64.
My kernel is Vanlila 2.6.24 with ovz004 patch and extra fix for UDP.
[2008-04-21 23:01:38] INFO  WEBrick 1.3.1
[2008-04-21 23:01:38] INFO  ruby 1.8.5 (2006-08-25) [x86_64-linux]
[2008-04-21 23:01:38] INFO  WEBrick::HTTPServer#start: pid=18594 port=3000

This is the start up of WebVZ
Ok step by step i do this I point my browser to http://127.0.0.1:3000 I get the welcome page then access the Containers, ask me to login use admin and admin123 i get loged in then click again on Containers and i get the message
  Notice

The kernel does not support OpenVZ. 

Thas all.
I will do again all this steps and past the log from console
127.0.0.1 - - [21/Apr/2008:23:10:12 EEST] "GET /login/sign_in HTTP/1.1" 200 1463
http://127.0.0.1:3000/ -> /login/sign_in
127.0.0.1 - - [21/Apr/2008:23:10:32 EEST] "POST /login/sign_in HTTP/1.1" 302 88
http://127.0.0.1:3000/login/sign_in -> /login/sign_in
127.0.0.1 - - [21/Apr/2008:23:10:32 EEST] "GET / HTTP/1.1" 200 2616
http://127.0.0.1:3000/login/sign_in -> /

This is the Login log
127.0.0.1 - - [21/Apr/2008:23:11:24 EEST] "GET /container/list_vps?status=all HTTP/1.1" 302 88
http://127.0.0.1:3000/ -> /container/list_vps?status=all
127.0.0.1 - - [21/Apr/2008:23:11:24 EEST] "GET / HTTP/1.1" 200 2634
http://127.0.0.1:3000/ -> /


And after i click second time on Containers and get the strange notice about kernel.
Here is the vzlist respons.
[root@vbox ~]# vzlist 
      VEID      NPROC STATUS  IP_ADDR         HOSTNAME                        
       101         64 running xx.xx.126.124  ubuntu-7-10.virtualnet.ro       
       102          4 running xx.xx.126.123  slack-12-0.virtualnet.ro        
[root@vbox ~]# 

If i can provide more info to get this fixed just give me the point from wher to colect that.
Thanks
Re: WebVZ OpenVZ Management Tool [message #29698 is a reply to message #29695] Mon, 21 April 2008 18:50 Go to previous messageGo to next message
curx
Messages: 739
Registered: February 2006
Location: Nürnberg, Germany
Senior Member

webvz checks if "uname -r" has stab, ovz or gc (???) in the kernel release string.

After apply the patch above, webvz checks if /proc/vz exist.

Hope this helps.
Re: WebVZ OpenVZ Management Tool [message #29699 is a reply to message #29603] Mon, 21 April 2008 20:39 Go to previous messageGo to next message
dahas is currently offline  dahas
Messages: 14
Registered: April 2008
Junior Member
I guess to this
Quote:

And how do I map it to a domain name, and not the IP?
the correct question was how to point only to single ip not to all.
If is any option from start to make him to answer only from localhost or local lan ip not to all.
Re: WebVZ OpenVZ Management Tool [message #29703 is a reply to message #29699] Tue, 22 April 2008 05:03 Go to previous messageGo to next message
shuaib85 is currently offline  shuaib85
Messages: 59
Registered: September 2007
Member
""If is any option from start to make him to answer only from localhost or local lan ip not to all.""

Dahas I do not understand what you are trying to do!! can you explain further

what is the output of 'uname -r'?

if you did not get the fix done from curx can you send me your email so i send you webvz with the fix

curx: Thanks for the fix. What are the openvz kernel beside the 3 that I used?

Thanks


WebVZ: OpenVZ Web Management Tool
http://webvz.sourceforge.net
Re: WebVZ OpenVZ Management Tool [message #29711 is a reply to message #29698] Tue, 22 April 2008 14:41 Go to previous messageGo to next message
dahas is currently offline  dahas
Messages: 14
Registered: April 2008
Junior Member
Thanks for the patch it works good now.
Re: WebVZ OpenVZ Management Tool [message #31983 is a reply to message #29698] Wed, 16 July 2008 19:46 Go to previous message
phamre is currently offline  phamre
Messages: 1
Registered: July 2008
Junior Member
hello.
when i click on conteiners i get this message..

Notice

The kernel does not support OpenVZ.

im running ubuntu server 8.04

uname -r says this: 2.6.24-19-openvz
and /proc/vz exist..

any idea how i can fix this?
Previous Topic: no external network
Next Topic: drbd with 2.6.24
Goto Forum:
  


Current Time: Sat Nov 16 10:10:57 GMT 2024

Total time taken to generate the page: 0.03234 seconds