
?Hi, I was just thinking about Hyper-V, has anyone ever tried to create a driver for Hyper-V via WinRM (http://msdn.microsoft.com/en-us/library/aa384426(VS.85).aspx) I don't know if it is possible, and I have certainly not the skills to make one, but I think it can be a possibility no ? Regards, Arnaud

On Fri, Oct 29, 2010 at 05:57:22PM +0200, arnaud.champion@devatom.fr wrote:
?Hi,
I was just thinking about Hyper-V, has anyone ever tried to create a driver for Hyper-V via WinRM (http://msdn.microsoft.com/en-us/library/aa384426(VS.85).aspx) I don't know if it is possible, and I have certainly not the skills to make one, but I think it can be a possibility no ?
"WS-Management Protocol" points to http://msdn.microsoft.com/en-us/library/aa384470%28v=VS.85%29.aspx where "Web Services for Management (WS–Management)." points to http://www.dmtf.org/sites/default/files/standards/documents/DSP0226.pdf which says Page Not Found I find that lovely ... Matthias went through the huge work of developping SOAP code to talk to ESX, I wonder how much could be reused for the SOAP to talk to this. But it certainly requires someone dedicated for a long time, not sure we will get someone who really needs this. Daniel -- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

Hmm, I haven't the skill to do that, but I should be useful. Everyone who have seen the Microsoft tool that manage Hyper-V want another one :) My tool DAVIM can manage Hyper V, I use WMI, and WMI are managable via WinRM... -------------------------------------------------- From: "Daniel Veillard" <veillard@redhat.com> Sent: Friday, October 29, 2010 6:21 PM To: <arnaud.champion@devatom.fr> Cc: <libvir-list@redhat.com> Subject: Re: [libvirt] Hyper-V driver ?
On Fri, Oct 29, 2010 at 05:57:22PM +0200, arnaud.champion@devatom.fr wrote:
?Hi,
I was just thinking about Hyper-V, has anyone ever tried to create a driver for Hyper-V via WinRM (http://msdn.microsoft.com/en-us/library/aa384426(VS.85).aspx) I don't know if it is possible, and I have certainly not the skills to make one, but I think it can be a possibility no ?
"WS-Management Protocol" points to http://msdn.microsoft.com/en-us/library/aa384470%28v=VS.85%29.aspx where "Web Services for Management (WS–Management)." points to http://www.dmtf.org/sites/default/files/standards/documents/DSP0226.pdf
which says Page Not Found I find that lovely ...
Matthias went through the huge work of developping SOAP code to talk to ESX, I wonder how much could be reused for the SOAP to talk to this.
But it certainly requires someone dedicated for a long time, not sure we will get someone who really needs this.
Daniel
-- Daniel Veillard | libxml Gnome XML XSLT toolkit http://xmlsoft.org/ daniel@veillard.com | Rpmfind RPM search engine http://rpmfind.net/ http://veillard.com/ | virtualization library http://libvirt.org/

On 10/30/2010 03:21 AM, Daniel Veillard wrote: <snip>
"WS-Management Protocol" points to http://msdn.microsoft.com/en-us/library/aa384470%28v=VS.85%29.aspx where "Web Services for Management (WS–Management)." points to http://www.dmtf.org/sites/default/files/standards/documents/DSP0226.pdf
which says Page Not Found I find that lovely ...
Heh. The link you probably want is this one: http://www.dmtf.org/standards/wsman My understanding of the Web Services Management thing, is that it's not a Microsoft initiative, but is instead a "vendor neutral" effort, and somehow involves CIM.
Matthias went through the huge work of developping SOAP code to talk to ESX, I wonder how much could be reused for the SOAP to talk to this.
But it certainly requires someone dedicated for a long time, not sure we will get someone who really needs this.
Kind of wondering if our existing CIM stuff might "just work" with it already. Not something I know anything about though. :) http://libvirt.org/CIM/ <-- not much info here. :/ http://wiki.libvirt.org/page/Libvirt-cim_setup

Hi ! My name ist Michael Sievers. I am studying computer science at Paderborn/Germany. I worked together with Matthias Bolte on a project here at Paderborn, where we evaluated the possibility of controlling Microsoft Hyper-V using WS-Management through libvirt (which is actually called WinRM on Windows). At the end of the project I had a very minimalistic libvirt driver, which was just able to connect to Hyper-V and to power cycle a given VM. Unfortunately, the project stopped at this point and so did my efforts on this topic. Since developing a full fledged Hyper-V driver for libvirt a very time consuming effort I am currently searching for a way to do so which incorporates with my study. At this point I can tell you the following - it is possible to control Hyper-V using libvirt using WS-Management - this is actually the only way (as far as I know) to control Hyper-V from non-Windows hosts, as you can not use WMI (which is Hyper-V main API) from non Windows hosts directly - WS-Management is the bridge to talk to WMI from non-Windows hosts as there are implementations such as OpenWSman which you can use - doing complicated things in WS-Management (e.g. calling a function with reference parameters) is not well documented and that's why a pain to implement The last point was the main reason, why the development stopped after implementing the power cycling. Last week I talked to my professor about this and he told me, that maybe there is a company (unfortunately I can't tell you the name) which is willing to support this effort financially, which would give me to opportunity to resume development. But sadly this not for sure, yet. I will inform you (the libvirt mailing list) during the next two weeks about the results. Cheers Michael Sievers P.S. Sorry for sending this mail three times to libvir-list as I did not remembered that I once subscribed with a different email address. 2010/10/30 Justin Clift <jclift@redhat.com>:
On 10/30/2010 03:21 AM, Daniel Veillard wrote: <snip>
"WS-Management Protocol" points to http://msdn.microsoft.com/en-us/library/aa384470%28v=VS.85%29.aspx where "Web Services for Management (WS–Management)." points to http://www.dmtf.org/sites/default/files/standards/documents/DSP0226.pdf
which says Page Not Found I find that lovely ...
Heh. The link you probably want is this one:
http://www.dmtf.org/standards/wsman
My understanding of the Web Services Management thing, is that it's not a Microsoft initiative, but is instead a "vendor neutral" effort, and somehow involves CIM.
Matthias went through the huge work of developping SOAP code to talk to ESX, I wonder how much could be reused for the SOAP to talk to this.
But it certainly requires someone dedicated for a long time, not sure we will get someone who really needs this.
Kind of wondering if our existing CIM stuff might "just work" with it already. Not something I know anything about though. :)
http://libvirt.org/CIM/ <-- not much info here. :/ http://wiki.libvirt.org/page/Libvirt-cim_setup
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list

?Interesting... You a Hyper-V user ;) -------------------------------------------------- From: "Michael Sievers" <msievers83@googlemail.com> Sent: Saturday, October 30, 2010 2:48 PM To: <libvir-list@redhat.com> Subject: Re: [libvirt] Hyper-V driver ?
Hi !
My name ist Michael Sievers. I am studying computer science at Paderborn/Germany. I worked together with Matthias Bolte on a project here at Paderborn, where we evaluated the possibility of controlling Microsoft Hyper-V using WS-Management through libvirt (which is actually called WinRM on Windows).
At the end of the project I had a very minimalistic libvirt driver, which was just able to connect to Hyper-V and to power cycle a given VM.
Unfortunately, the project stopped at this point and so did my efforts on this topic.
Since developing a full fledged Hyper-V driver for libvirt a very time consuming effort I am currently searching for a way to do so which incorporates with my study.
At this point I can tell you the following
- it is possible to control Hyper-V using libvirt using WS-Management - this is actually the only way (as far as I know) to control Hyper-V from non-Windows hosts, as you can not use WMI (which is Hyper-V main API) from non Windows hosts directly - WS-Management is the bridge to talk to WMI from non-Windows hosts as there are implementations such as OpenWSman which you can use - doing complicated things in WS-Management (e.g. calling a function with reference parameters) is not well documented and that's why a pain to implement
The last point was the main reason, why the development stopped after implementing the power cycling.
Last week I talked to my professor about this and he told me, that maybe there is a company (unfortunately I can't tell you the name) which is willing to support this effort financially, which would give me to opportunity to resume development. But sadly this not for sure, yet.
I will inform you (the libvirt mailing list) during the next two weeks about the results.
Cheers
Michael Sievers
P.S.
Sorry for sending this mail three times to libvir-list as I did not remembered that I once subscribed with a different email address.
2010/10/30 Justin Clift <jclift@redhat.com>:
On 10/30/2010 03:21 AM, Daniel Veillard wrote: <snip>
"WS-Management Protocol" points to http://msdn.microsoft.com/en-us/library/aa384470%28v=VS.85%29.aspx where "Web Services for Management (WS–Management)." points to http://www.dmtf.org/sites/default/files/standards/documents/DSP0226.pdf
which says Page Not Found I find that lovely ...
Heh. The link you probably want is this one:
http://www.dmtf.org/standards/wsman
My understanding of the Web Services Management thing, is that it's not a Microsoft initiative, but is instead a "vendor neutral" effort, and somehow involves CIM.
Matthias went through the huge work of developping SOAP code to talk to ESX, I wonder how much could be reused for the SOAP to talk to this.
But it certainly requires someone dedicated for a long time, not sure we will get someone who really needs this.
Kind of wondering if our existing CIM stuff might "just work" with it already. Not something I know anything about though. :)
http://libvirt.org/CIM/ <-- not much info here. :/ http://wiki.libvirt.org/page/Libvirt-cim_setup
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
-- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list
participants (4)
-
arnaud.champion@devatom.fr
-
Daniel Veillard
-
Justin Clift
-
Michael Sievers