Changes

Jump to: navigation, search
Booting the HVM Guest
Using config file "./XenHVMGuest.cfg".
Started domain XenHVMGuest
</pre>
and the installation process from the designated media will begin.
 
== Connecting to the HVM domainU Guest Graphical Console ==
 
If SDL was chosen for the graphical console then the console should appear when the guest starts up. If, on the other hand, VNC was selected and the HVM domainU was not configured to automatically start ''vncviewer'' it is now necessary to connect manually. By default the VNC port is 5900 + the ID of the domain to which you wish to connect (which can be obtained using the ''xm list'' command). For example, to connect to domain ID 10:
 
<pre>
vncviewer localhost:5910
</pre>
 
In my experience this is not always the case and the best way to find out which port is being used is to run the following command:
 
<pre>
ps -ef | grep vnc
root 2992 2441 13 14:51 ? 00:00:00 /usr/lib/xen/bin/qemu-dm -d 11 -vcpus 1 -boot cd
-serial pty -acpi -domain-name XenHVMGuest -net nic,vlan=1,macaddr=00:16:3e:2e:10:b0,model=rtl8139
-net tap,vlan=1,bridge=xenbr0 -vnc 127.0.0.1:0 -vncviewer
</pre>
 
As we can see from the above output, the Xen guest named ''XenHVMGuest'' is accessible using 127.0.0.1:0. Using this information we would, therefore, connect as follows:
 
<pre>
vncviewer 127.0.0.1:0
</pre>
 
Once the installation of the guest operating system has completed be sure to reverse the boot order in the configuration file if you no longer wish to have the CD/DVD drive first:
 
<pre>
#-----------------------------------------------------------------------------
# boot on floppy (a), hard disk (c), Network (n) or CD-ROM (d)
# default: hard disk, cd-rom, floppy
boot="cd"
</pre>
 
 
<google>BUY_XEN_ESSENTIALS_BOTTOM</google>
 
 
<hr>
<table border="0" cellspacing="0" width="100%">
<tr>
<td width="20%">[[An Overview of Virtualization Techniques|Previous]]<td align="center">[[Xen Virtualization Essentials|Table of Contents]]<td width="20%" align="right">[[Installing and Running Windows XP or Vista as a Xen HVM domainU Guest|Next]]</td>
<tr>
<td width="20%">An Overview of Virtualization Techniques<td align="center"><td width="20%" align="right">Installing and Running Windows XP or Vista as a Xen HVM domainU Guest</td>
</table>
== Connecting to the HVM domainU Guest Graphical Console ==
1,798
edits

Navigation menu