Xen Orchestra CLI
-
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.
-
You can get information about a given VM with
xe vm-param-list uuid=<your VM uuid>
.And list VMs with
xe vm-list
. -
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?
-
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.
-
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.
-
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.
-
Awesome! Thanks again for your help stormi.