Notes on using xen in debian lenny

Make a xen image config

    xen-create-image --hostname=drclaw.toon-net.local --ip=192.168.2.15 --accounts --memory=512mb --size=8gb --role=udev

NOTE:

#hostname the machines name

#ip the ip address of the machine

#memory how much RAM you wish to allocate it

#size disk space of image

#role=udev setups udev on the image you might find you have issues with ssh and console on the image otherwise

#accounts = import non system –accounts into image from master server

Starting the image

    xm create /etc/xen/drclaw.toon-net.local.cfg

Console into the image

    xm console elmyra.toon-net.local

Turn off the image

    xm shutdown elmyra.toon-net.local
Share