xen-tools project is a collection of scripts which allow you to manipulate virtual images for the Xen virtualization software.
With the tools installed, you may create new instances of Debian, complete with networking, OpenSSH, and user accounts, with one simple command. Images may also be easily updated, listed, or deleted.
Creating A New Image:
The script will contains a full manual written using the perl documentation system, perldoc, which you can read by executing:
This manual describes the operation of the script, and the supported options. (Each of the available options may be setup in a configuration file for ease of use.)
As a very simple example the following command willcreate an image using DHCP to obtain its networking information. The primary disk will 2Gb with 128Mb memory and swap:
xen-create-image --hostname='vm01' --dir=/home/xen
--size=2Gb --swap=128Mb --memory=128Mb --dhcp
If you wish to give the instance a static IP address then provide the information with the following flags:
The IP address to give the instance.
The IP address of the gateway machine.
The broadcast address to use.
The network the image is upon.
The netmask to use.
Here are some key features of "xen-tools":
· Create new Xen instances of Debian Sarge, in minutes. (xen-create-image)
· Duplicate an existing image, whilst updating the networking information. (xen-duplicate-image)
· List all existing images with their networking details (xen-list-images)
· Delete previously created instances. (xen-delete-image)
· Update the images you've created with apt-get, without booting them. (xen-update-image)
What's New in This Release: [ read full changelog ]
· This release updates the creation of Xen guests that are installed upon physical volumes, and corrects numerous other minor issues.