About the author

Photo of sanduhrs
sanduhrs

Xen3.0 - xen-tools

Eine flüchtige Anleitung für die Benutzung der Xen-Tools.

Neues image erstellen:

xen-create-image --hostname=vm01 --dir=/home/xen \
  --size=2Gb --swap=128Mb --memory=64Mb \
  --ip=192.168.0.200 --gateway=192.168.0.1 --netmask=255.255.255.0

Erstelltes oder vorhandenes image anpassen:

mkdir /mnt/tmp
mount -t ext3 -o loop /etc/xen/domains/vm01/disk.img /mnt/tmp
chroot /mnt/tmp /bin/bash
# Änderungen vornehmen
exit
umount /mnt/tmp

Neue Instanz starten:

xm create vm01.cfg -c

Vorhandenes image duplizieren:

xen-duplicate-image --dir=/home/xen \
  --from=vm01 --hostname=vm02 \
  --ip=192.168.0.201 --gateway=192.168.0.1 --netmask=255.255.255.0

Alle vorhandenen images anzeigen:

xen-list-images  --dir=/home/xen

Vorhandenes image löschen:

xen-delete-image --dir=/home/xen vm01

Image updaten:

xen-update-image --dir=/home/xen vm01

Ach übrigens:

On Debian systems, you
edit /etc/modules.conf and add "options loop max_loop=64", and "rmmod loop"
"modprobe loop" .

Ausführlichere Informationen auf http://www.steve.org.uk/Software/xen-tools/
Auch interessant:
http://www.xensource.com/
http://julien.danjou.info/xen.html
http://www.enomalism.com/
http://www.howtoforge.com/perfect_xen_setup_debian_ubuntu
http://lists.xensource.com/archives/html/xen-users/2006-01/msg01301.html

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <img>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

Website powered by lovely Drupal · Microformats · XML Feed · Valid XHTML, CSS · No www.