DTC-Xen Installation

DTC-Xen / Dom0 Howtos

DTC-Xen / DomU Howtos


DTC Howtos




Devel docs

Wiki - i18n

Wiki - Meta

Automated HVM Setup with dtc-xen

If you are using Debian Squeeze, Ensure you have qemu-dm installed apt-get install xen-qemu-dm-4.0

0/ Check that /dev/-------YOUR-VG0-NAME-------/xen05 exist, if swap is not created it will display an error on the console, but it doesn't really mater.

1/ Upload a real iso image of windows (preferably windows 2003 64 bits web or enterprise edition if you wish to use Microsoft products, or any iso like freebsd 32 bits, etc.), in: /var/lib/dtc-xen/ttyssh_home/xen05 or use a KVM cdrom redirection.

For each iso image that you will upload, dtc-xen will generate a virtual cdrom. This way you can use more than one "CD" at a time.

2/ Click again on the "Installation" tab to show the new upload image in the popup

3/ Choose the iso image with the popup

4/ Enter a password for VNC

5/ Validate

At this stage you can check /etc/xen/xen05 that DTC have order DTC-Xen to create:

   kernel = "/usr/lib/xen/boot/hvmloader"
   builder = 'hvm'
   memory = 512
   name = "xen05"
   vif = [ 'type=ioemu, mac=-------EXAMPLE-MAC-------, ip=-------THE-IP-OF-YOUR-VPS-------' ]
   disk=[ 'phy:/dev/mapper/-------YOUR-VG0-NAME-------xen05,ioemu:hda,w','file:/var/lib/dtc-xen/ttyssh_home/xen05/-------EXAMPLE-ISO-IMAGE-------.iso,hdc:cdrom,r' ]
   vfb = [ "type=vnc,vncdisplay=21,vncpasswd=-------YOUR-PASSWORD-HERE-------" ]

6/ Boot up

7/ Connect with VNC client on the IP of your dom0

Connect to the VNC port 5921 (as you see above the VNC port is 21) and install your operating system. You can shutdown / kill / boot as you wish to do so. You can use the popup to change the ISO to boot from, or select to boot from hard drive. You will need to re-enter a password each time.

8/ Install visualized drivers

If using windows, you can use the GPL-PV drivers that are totally free. Some other OS are also provider paravirtualized drivers.

You can as well use the Citrix drivers that have been released as open source.

9/ Install a remote connection on the server

  • If using windows, server right click on "My computer" go in the properties and activate remote desktop connection. You also need to open the firewall for it.
  • If using Unix, we recommend using FreeNX that is very fast and has support for remote printing, file sharing, sound and video, and all this over ssh which is quite secure.

10/ Disable VNC

Once you have installed the remote connection best is to disable VNC totally.

Page last modified on August 10, 2012, at 08:00 AM EST