VM Calling API to send messages to Hypervisor
-
Hi All,
I am thinking a bit about the XCP-ng API and am wondering if a VM can send a message to the hypervisor to start, or stop, another specific VM. Just exploring capabilities of XCP-ng.
Any thoughts?
Thanks -
Why not using XO for that?
-
Is XO meaning the "xen orchestra". If so, then that may not work as part of the project is an application that will be running from within a VM as well and that VM will control others via messages to the hypervisor. At least, that is the current idea that I need to work through.
https://xapi-project.github.io/xen-api/
and
https://xenproject.org/developers/teams/xen-api/Does XCP-ng also utilize the same type of API call as the standard Xen? Can I use the same calls?
If so, then my next step will be to see if I can message the XCP-ng hypervisor from within a VM.
Thanks Again.
-
- Xen Orchestra, yes. It's connected to XAPI, and there's no agent on the host.
- I don't understand: Xen Orchestra is running anywhere you want. In a VM if you want to.
- Please explain more your use case before going further. XAPI is very powerful, but really, it took us years to master it for XO.
-
The XO has too much functionality and way too advanced for what I need in this prototype.
This is a type of "desktop" that will be in C/C++ that only has a few simple tasks for the VM's to be called.
- Start /Stop a VM
- Import/Delete a VM
Really nothing more for it to do, but will be in a VM itself to control the other VM's
-
Again, please explain more about the use case, ie functionally speaking. If you don't share what do you want to do, it's really hard to give you any advice.
-
Well, I just installed XO Community Edition so that I can get a feel for things and learn a bit before going to the next level.
Now, I would like to find out how to setup some test VM's to play around with for a while.
Is there any easy way to migrate my Virtualbox VM (Linux host) into an XCP-ng VM?
-
@LonnieTC And whats your use case? What is the thing you want to do? Whats your goal? QA? Automated test environment?
Why can't you just say it?
-
It's a prototype concept but has to do with cloud computing to increase user productivity. I have not wanted to mention much about it yet because it is still evolving in form, but once it could be initially ready then I will be able to clarify it more when I see how it is going to come out.
Sorry to be vague on the project prototype, but the full outline is still not laid out since it is a work in progress, but I have an overall idea as to what I would like to achieve.
Beyond that, it is still a research and development prototype project under way.
Thanks again -
From Vbox to XCP-ng: export in OVA then import with XO.