How To Run Fully-Virtualized Guests (HVM) With Xen 3.2 On Debian Lenny (x86_64) - Page 2
|
Most installers require you to reboot at the end of the installation and remove the installation media; this is not possible if you have specified an ISO image in the guest configuration file, and even if you use a CD - the reboot of the guest happens so fast that you cannot remove the CD before the guest boots again. This means the guest will boot from the CD or ISO file and start the installer again. If that happens, stop the guest... xm destroy xen1.example.com ... and edit the guest configuration file: vi /etc/xen/xen1.example.com.cfg Remove the CD drive from the boot line...
... and boot the guest again: xm create /etc/xen/xen1.example.com.cfg This time it should boot from its hard drive. Of course, you can now use VNC again to connect to the guest.
3 Using VNC When There Are Multiple GuestsIf you have multiple guests running at the same time, the guests obviously cannot all use port 5900 at the same time. Therefore the second guest will use port 5901, the third one port 5902, and so on. You can check the VNC ports that are currently in use by running netstat -tap server1:/etc/xen# netstat -tap In your VNC viewer, you must specify the new port (e.g. 192.168.0.100:5901): And voilà, here's the second guest, this time an Ubuntu 8.10 desktop: And here's our third guest, a Windows XP desktop:
4 TroubleshootingIt might happen that you start a guest, but cannot connect to it using VNC, and netstat -tap shows no new VNC port. In the log file of the guest in /var/log/xen/qemu-dm-*.log you might see something like this: I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0 Shut down one or two of the other guests, and afterwards it should be possible to start this guest again.
5 Important Xen CommandsHere are the most important Xen commands: xm create -c /path/to/config - Start a virtual machine.
6 Links
|







Recent comments
12 hours 8 min ago
13 hours 43 min ago
18 hours 3 min ago
21 hours 54 min ago
1 day 9 hours ago
1 day 15 hours ago
1 day 18 hours ago
1 day 19 hours ago
1 day 20 hours ago
1 day 20 hours ago