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

    Xen Orchestra CLI

    Scheduled Pinned Locked Moved Solved Xen Orchestra
    7 Posts 2 Posters 1.9k Views 2 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.
    • S Offline
      Spardok
      last edited by

      Hello

      I am currently running a Xen Orchestra VM on top of XCP-NG. After about an hour or so of being able to access the web interface I am no longer able to.

      I know you can get a shell connection to the Xen Orchestra VM by sshing into it. But as trying to access the web interface doesn't work, neither does ssh anymore (not surprising).

      My question is how do I go about accessing the VM through the physical server? I can see that the VM is still running but I want to see if the IP address somehow switched or if its throwing out some error. I know Xen Orchestra has status logs via the CLI but you have to be sshd into the VM.

      Thank you for any help.

      1 Reply Last reply Reply Quote 0
      • stormiS Offline
        stormi Vates 🪐 XCP-ng Team
        last edited by

        You can get information about a given VM with xe vm-param-list uuid=<your VM uuid>.

        And list VMs with xe vm-list.

        S 1 Reply Last reply Reply Quote 1
        • S Offline
          Spardok @stormi
          last edited by

          @stormi

          Thank you for the quick response.

          So I can tell its running but I didn't notice anything in the list that states the IP address for it. Do you know if I can just get a shell on it through the master server's terminal?

          1 Reply Last reply Reply Quote 0
          • stormiS Offline
            stormi Vates 🪐 XCP-ng Team
            last edited by

            You may try xe console vm-uuid=<your vm uuid>.

            It will only work if the VM is currently able to provide a text terminal to you.

            Else, you could install another XOA (on this host or somewhere else), or temporarily use XCP-ng Center.

            S 1 Reply Last reply Reply Quote 1
            • S Offline
              Spardok @stormi
              last edited by Spardok

              @stormi

              Oh, I was under the impression if I use XCP-ng Center it would interfere with Orchestra. If that's the case could I just leave Center on it in case this happens again or would that cause issues down the line?

              Because I am getting a "no text console available" error.

              1 Reply Last reply Reply Quote 0
              • stormiS Offline
                stormi Vates 🪐 XCP-ng Team
                last edited by

                Both are clients of XAPI so they shouldn't interfere. You can have several instances of Xen Orchestra connected to the same pool, or Xen Orchestra + XCP-ng Center as a fallback.

                S 1 Reply Last reply Reply Quote 1
                • S Offline
                  Spardok @stormi
                  last edited by

                  @stormi

                  Awesome! Thanks again for your help stormi.

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