From: Clément V. <cle...@gm...> - 2009-08-18 15:50:54
|
Hi everyone, Its' been a long time since I was looking for a Xen/KVM module able to manage the state (online, offline, etc…) of virtual machines… Since nobody has written something satisfying for Webmin concerning virtualization, I decided to write a module which fills my needs. It's named virt-manager and can handle the state of virtual machines through the virsh tool (listing, stopping, starting, suspending, etc…). As it is virsh based, I expect it to work on every system based on libvirt (including Xen and KVM). Unfortunately, I was only able to test this module on CentOS 5, I'm not sure it can work on other system… That is the main part of the module so don't expect something extraordinary (like installing machine, deploying ghost, etc…) : this is just a minimum adminstration tool. However, I though it would be sweet if you can just see the "physical" console of the VM directly though VNC. As the vfb of Xen (and KVM) is only listenning on localhost:5900+<machine_id> by default (and changing that is REALLY annoying), I wrote a simple port forwarding script so I can connect an Java VNC applet directly on Dom0 (via port 30000+<machine_id>) and see the DomU console without modifying its configuration. This last part is probably not as secure and as clean as I wanted it to be so you can just ignore it, delete it or decativate it. You can download the module directly on http://perso.nintendojo.fr/~mortal/virt-manager.tar.gz or a patch that applies to the webmin 1.480 source on http://perso.nintendojo.fr/~mortal/virt-manager.patch Hope this would help someone… -- Clément Véret |
From: Jamie C. <jca...@we...> - 2009-08-18 18:45:45
|
On 18/Aug/2009 08:50 Clément VERET <cle...@gm...> wrote .. > Hi everyone, > > Its' been a long time since I was looking for a Xen/KVM module able to > manage the state (online, offline, etc…) of virtual machines… Since > nobody has written something satisfying for Webmin concerning > virtualization, I decided to write a module which fills my needs. > > It's named virt-manager and can handle the state of virtual machines > through the virsh tool (listing, stopping, starting, suspending, > etc…). As it is virsh based, I expect it to work on every system based > on libvirt (including Xen and KVM). Unfortunately, I was only able to > test this module on CentOS 5, I'm not sure it can work on other > system… > > That is the main part of the module so don't expect something > extraordinary (like installing machine, deploying ghost, etc…) : this > is just a minimum adminstration tool. > > However, I though it would be sweet if you can just see the "physical" > console of the VM directly though VNC. As the vfb of Xen (and KVM) is > only listenning on localhost:5900+<machine_id> by default (and > changing that is REALLY annoying), I wrote a simple port forwarding > script so I can connect an Java VNC applet directly on Dom0 (via port > 30000+<machine_id>) and see the DomU console without modifying its > configuration. This last part is probably not as secure and as clean > as I wanted it to be so you can just ignore it, delete it or > decativate it. > > You can download the module directly on > http://perso.nintendojo.fr/~mortal/virt-manager.tar.gz or a patch that > applies to the webmin 1.480 source on > http://perso.nintendojo.fr/~mortal/virt-manager.patch > > Hope this would help someone… Wow, that's cool! You should submit it at http://www.webmin.com/third.html Does the patch modify any of the Webmin core code though, or just add your module? - Jamie |
From: Clément V. <cle...@gm...> - 2009-08-18 18:51:12
|
> Wow, that's cool! You should submit it at http://www.webmin.com/third.html I didn't I could submit it here… Sorry to have bothered you on the development list… > Does the patch modify any of the Webmin core code though, or just add > your module? It just add the module. -- Clément Véret |
From: Jamie C. <jca...@we...> - 2009-08-18 18:56:43
|
On 18/Aug/2009 11:51 Clément VERET <cle...@gm...> wrote .. > > Wow, that's cool! You should submit it at http://www.webmin.com/third.html > > I didn't I could submit it here… Sorry to have bothered you on the > development list… That's OK, it is good to find out about such an impressive module.. - Jamie |
From: Gary P. <ga...@ga...> - 2010-09-10 16:50:22
|
Clément VERET <clement.veret <at> gmail.com> writes: > > However, I though it would be sweet if you can just see the "physical" > console of the VM directly though VNC. As the vfb of Xen (and KVM) is > only listenning on localhost:5900+<machine_id> by default (and > changing that is REALLY annoying), I wrote a simple port forwarding > script so I can connect an Java VNC applet directly on Dom0 (via port > 30000+<machine_id>) and see the DomU console without modifying its > configuration. This last part is probably not as secure and as clean > as I wanted it to be so you can just ignore it, delete it or > decativate it. > First off, thanks for writing this module... great addition to webmin! I'm having difficulties getting the VNC applet to work and was wondering if you could point me towards in the right direction. The applet seems to load correctly, but then gives a "Network error: could not connect to server: myhost:30001" and a button to login again. I've looked for some kind of log messages, but can't seem to find anything. Again, thanks for the module! -Gary Parr |