[libvirt-users] management tools for kvm

I have been installing kvm guests on a number of hosts and have been managing them through a single virt manager on one of the hosts. I am looking for a tool that will allow me to manage them from a windows workstation, possibly using a web interface. Everything I've looked at and read about seems to require a linux workstation to install on, like oVirt or ConVirt. I am looking for a product that can run on a windows workstation using either firefox or ie. dave

Am 28.07.2011 15:23, schrieb David M. Barlieb:
I have been installing kvm guests on a number of hosts and have been managing them through a single virt manager on one of the hosts. I am looking for a tool that will allow me to manage them from a windows workstation, possibly using a web interface. Everything I’ve looked at and read about seems to require a linux workstation to install on, like oVirt or ConVirt. I am looking for a product that can run on a windows workstation using either firefox or ie.
Same here! S

On Thu, Jul 28, 2011 at 04:46:44PM +0200, Stefan G. Weichinger wrote:
I am looking for a product that can run on a windows workstation using either firefox or ie.
I'd expect sometime soon to see someone develop a basic version of that using Libvirt-php (http://libvirt.org/php/). Depending how you've got things set up DRBD-MC (a Java app) is getting to the point of usefulness (http://www.drbd.org/download/drbd-mc/). It works best if you're using DRBD & Pacemaker with your VMs, but it's possible to use just the VM-management features. Whit

Am 28.07.2011 17:06, schrieb Whit Blauvelt:
Depending how you've got things set up DRBD-MC (a Java app) is getting to the point of usefulness (http://www.drbd.org/download/drbd-mc/). It works best if you're using DRBD & Pacemaker with your VMs, but it's possible to use just the VM-management features.
That looks promising at first glance, but maybe a bit too much for installing it on the customers WinXP-box. The customers I need this for would be overwhelmed, even with the "operator"-mode of DRBD-MC. But I will review this closer ... I am looking for something like http://virt-manager.et.redhat.com/ for XP, just to give the customer a way to interact with his virtual boxes, to check if they are running and press "Start" if they somehow crashed or something (I monitor the VMs via script, yes, but you know ...) Giving them putty and "virsh list" and "virsh start" is a poor thing, especially as noobs don't see the value and power behind the virtualization host. A GUI-centric windows-user isn't impressed by a plain shell command ;-) Thanks, Stefan

On 07/28/2011 11:11 AM, Stefan G. Weichinger wrote:
Am 28.07.2011 17:06, schrieb Whit Blauvelt:
Depending how you've got things set up DRBD-MC (a Java app) is getting to the point of usefulness (http://www.drbd.org/download/drbd-mc/). It works best if you're using DRBD& Pacemaker with your VMs, but it's possible to use just the VM-management features.
That looks promising at first glance, but maybe a bit too much for installing it on the customers WinXP-box. The customers I need this for would be overwhelmed, even with the "operator"-mode of DRBD-MC. But I will review this closer ...
I am looking for something like
http://virt-manager.et.redhat.com/
for XP,
Should be doable - there are existing ports of python, ssh, libvirt, and other prereqs to virt-manager all built for mingw, such that it should be possible to use virt-manager directly on windows. -- Eric Blake eblake@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org

Am 28.07.2011 19:23, schrieb Eric Blake:
Should be doable - there are existing ports of python, ssh, libvirt, and other prereqs to virt-manager all built for mingw, such that it should be possible to use virt-manager directly on windows.
Interesting. I'd be happy to hear from someone how much effort this needs. You know, I shouldn't have to install dozens of pkgs to the XP-box, taking hrs of work maybe ;-) Maybe I give it a try on a test-XP tmrw. Thanks, S

Maybe give them $200 netbook Ubuntu control system... or run a linux control station in Virtual Box on XP? David. On Thu, 28 Jul 2011, Stefan G. Weichinger wrote:
Am 28.07.2011 19:23, schrieb Eric Blake:
Should be doable - there are existing ports of python, ssh, libvirt, and other prereqs to virt-manager all built for mingw, such that it should be possible to use virt-manager directly on windows.
Interesting. I'd be happy to hear from someone how much effort this needs. You know, I shouldn't have to install dozens of pkgs to the XP-box, taking hrs of work maybe ;-)
Maybe I give it a try on a test-XP tmrw.
Thanks, S
_______________________________________________ libvirt-users mailing list libvirt-users@redhat.com https://www.redhat.com/mailman/listinfo/libvirt-users

2011/7/28 Stefan G. Weichinger <lists@xunil.at>:
Am 28.07.2011 19:23, schrieb Eric Blake:
Should be doable - there are existing ports of python, ssh, libvirt, and other prereqs to virt-manager all built for mingw, such that it should be possible to use virt-manager directly on windows.
Interesting. I'd be happy to hear from someone how much effort this needs. You know, I shouldn't have to install dozens of pkgs to the XP-box, taking hrs of work maybe ;-)
Maybe I give it a try on a test-XP tmrw.
Thanks, S
I have that basically working, see https://github.com/photron/msys_setup That's a bunch of scripts that build libvirt using mingw on Windows. It also covers virt-manager, but there are still many things to port and fix until virt-manager works properly on Windows, as it assume a Linux specific things in some places. But virsh is working and tested with TCP and TLS transport. SSH transport wasn't tested yet, so I don't know if it work properly, maybe. At some point there will probably be an installer for libvirt and virt-manager for Windows, but we're not there yet. A prebuild installer for libvirt and virsh can be found here http://libvirt.org/windows.html Unfortunately it's a bit outdated. -- Matthias Bolte http://photron.blogspot.com

Am 28.07.2011 19:50, schrieb Matthias Bolte:
I have that basically working, see
Wow, amazing!
That's a bunch of scripts that build libvirt using mingw on Windows. It also covers virt-manager, but there are still many things to port and fix until virt-manager works properly on Windows, as it assume a Linux specific things in some places.
Oh, that's unfortunate (for me).
But virsh is working and tested with TCP and TLS transport. SSH transport wasn't tested yet, so I don't know if it work properly, maybe.
At some point there will probably be an installer for libvirt and virt-manager for Windows, but we're not there yet. A prebuild installer for libvirt and virsh can be found here
http://libvirt.org/windows.html
Unfortunately it's a bit outdated.
Will check that soon, maybe tmrw. Only having virsh on windows seems a bit pointless for my needs, as a putty-session to my linux-hosts does the same CLI-based stuff ... or am I wrong? If I were more of a coder I would maybe be able to hack something on top of that, small binary showing "domain importantVM is running" and giving the chance to start/stop it. Not more. Just think of the boss at your customers site. They need their server and they should be able to simply start it when the power went down or somthing, and for some reason libvirt does not start the domain even as it has been set to autostart (I have one of those!). -> I have a quickanddirty-solution in form of a (crontabbed) shell-script: grep "virsh list" for "my vm is running", if error, "virsh start" it and mail the admin (me). This helps ... and keeps my phone quiet in the morning ... I know there are way more sophisticated tools out of the cluster-toolbox, but for my small customers this is overkill most of the time. Greets and thanks, Stefan

The 28/07/11, Stefan G. Weichinger wrote:
Am 28.07.2011 19:50, schrieb Matthias Bolte:
Only having virsh on windows seems a bit pointless for my needs, as a putty-session to my linux-hosts does the same CLI-based stuff ... or am I wrong?
If I were more of a coder I would maybe be able to hack something on top of that, small binary showing "domain importantVM is running" and giving the chance to start/stop it. Not more.
Just think of the boss at your customers site. They need their server and they should be able to simply start it when the power went down or somthing, and for some reason libvirt does not start the domain even as it has been set to autostart (I have one of those!).
We have the exact same needs. We want our customers to be able to just start/stop VMs and check the state of the machines. Honestly, I've been disappointed in the past by the libvirt API changing too fast (breaking our "snapshot-to-the-NAS" tool). This is why I rely on virsh commands rather than libvirt directly, for now. I've already started something using the same backend logic but it's not finished and too dirty to be published. I wonder if libvirt-php couldn't add some very simple API (not moving so far) for our particular use case. If so, I may start a (very simple) web interface. I guess it would be enough for most users. -- Nicolas Sebrecht
participants (7)
-
David Ehle
-
David M. Barlieb
-
Eric Blake
-
Matthias Bolte
-
Nicolas Sebrecht
-
Stefan G. Weichinger
-
Whit Blauvelt