16
allow quick and simple VM creation for use with XenServer product features such as XenMotion, Dynamic
Memory Control, and High Availability.
Warning:
Demo Linux VMs should not be used for running production workloads.
The VMs are instantiated by running the vm-install command on the CLI, or by cloning the template using
XenCenter. For example, using the CLI on Linux:
xe vm-install template-name="Demo Linux VM" new-name-label=<demo>
When you first boot the VM you are prompted for a root password, a VNC password (for graphical use), and
a hostname. You will need to add a network interface if you installed the VM using the CLI.
Note:
The Demo Linux VM template is only available if you install the separate Linux pack (that is, the linux.iso).
Installing Debian Lenny
Debian Lenny is installed using the standard Debian installer, which supports installation into a PV VM
(performance optimized). Use XenCenter or the xe CLI to install Debian Lenny either from a CD, ISO library,
or from a network repository over FTP or HTTP.
Before installing Debian Lenny from a network repository, follow Debian's instructions for preparing for
network installations, including how to set up a mirror. Full installations from network repositories are not
completely supported. While you can load the kernel and RAM disk from repository, the Debian installation
program requires that you specify an HTTP or FTP URL.
Information on installing Debian Lenny using XenCenter is available in the XenCenter help — to get started,
run the New VM wizard. The rest of this section provides information about installing Debian Lenny using
the CLI.
Note:
If you want to perform a Debian Lenny installation from the CD, you might find helpful tips in the "Debian
Lenny" article on the Citrix Developer Network. See If you want to perform a Debian Lenny installation from
the DVD, then you must obtain a suitable Debian Lenny DVD image that is compatible with XenServer. The
standard images Debian provides are not compatible with XenServer. For details on how to obtain this DVD
image, see the Debian Lenny article on the Citrix Developer Network (http://community.citrix.com/display/
xs/Debian+Lenny .
Installing a Debian Lenny VM from a network repository (using the CLI)
1. Create a VM from the Debian Lenny template. The UUID of the VM is returned:
xe vm-install template=Debian\ Lenny\ 5.0 new-name-label=<lenny-vm>
2. Specify the installation repository — this should be a standard Debian mirror with at least the packages
required to install the base system and the additional packages you plan to select during the Debian
installer:
xe vm-param-set uuid=<UUID> other-config:install-repository=<path_to_repository>
An example of a valid repository path is http://ftp.<xx>debian.org/debian where <xx> is your
country code (see the Debian mirror list for a list of these). For multiple installations Citrix recommends