I created a Debian Lenny virtual machine as described on the manual. How to control it?
It has no IP since my LAN has DHCP disabled. If it only had a static IP and SSHD enabled I could just PuTTY it.
I created a Debian Lenny virtual machine as described on the manual. How to control it?
It has no IP since my LAN has DHCP disabled. If it only had a static IP and SSHD enabled I could just PuTTY it.
Besides the gui/vnc consoles you can still use the equivlent of xm console
On the host console: xe vm-list to get the list of domins running (just note the uuid of the domain you want). list_domains will list the domain name and the uuid of the domains. Match up your uuid so you get the proper dom_id
then
xm console equivlent is /usr/lib/xen/bin/xenconsole dom_id
Its not in the root users $PATH though I think it ought to be. Of course you can symlink it or alter your path yourself but it would be a sensible default.
Example:
Say I want to connect to knox (a linux domU)
Now get domain ids
You can see the domain ID that matches the UUID of knox is 11. So we use xenconsole
With Citrix XenServer, you have the control interface called XenCenter with which you can connect to your hypervisor and do such things.
With OSS Xen, you can use the xm console command.
In case someone facing the initial problem with XenServer 7.1 and has to access the guest CLI without XenCenter, the answer of Nick Anderson is the right way:
use xenconsole to connect to the CLI of the guest on XenServer 7.1