XCP-ng
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    VM Calling API to send messages to Hypervisor

    Scheduled Pinned Locked Moved Development
    10 Posts 3 Posters 812 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • L Offline
      LonnieTC
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • olivierlambertO Offline
        olivierlambert Vates 🪐 Co-Founder CEO
        last edited by

        Why not using XO for that?

        1 Reply Last reply Reply Quote 0
        • L Offline
          LonnieTC
          last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • olivierlambertO Offline
            olivierlambert Vates 🪐 Co-Founder CEO
            last edited by

            1. Xen Orchestra, yes. It's connected to XAPI, and there's no agent on the host.
            2. I don't understand: Xen Orchestra is running anywhere you want. In a VM if you want to.
            3. Please explain more your use case before going further. XAPI is very powerful, but really, it took us years to master it for XO.
            1 Reply Last reply Reply Quote 0
            • L Offline
              LonnieTC
              last edited by

              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.

              1. Start /Stop a VM
              2. Import/Delete a VM

              Really nothing more for it to do, but will be in a VM itself to control the other VM's

              1 Reply Last reply Reply Quote 0
              • olivierlambertO Offline
                olivierlambert Vates 🪐 Co-Founder CEO
                last edited by olivierlambert

                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.

                1 Reply Last reply Reply Quote 0
                • L Offline
                  LonnieTC
                  last edited by

                  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?

                  borzelB 1 Reply Last reply Reply Quote 0
                  • borzelB Offline
                    borzel XCP-ng Center Team @LonnieTC
                    last edited by

                    @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?

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      LonnieTC
                      last edited by

                      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

                      1 Reply Last reply Reply Quote 0
                      • olivierlambertO Offline
                        olivierlambert Vates 🪐 Co-Founder CEO
                        last edited by

                        From Vbox to XCP-ng: export in OVA then import with XO.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post