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 |