Changes between Initial Version and Version 1 of install_debian_xen


Ignore:
Timestamp:
Nov 20, 2007, 6:50:04 PM (16 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • install_debian_xen

    v1 v1  
     1=== Setup xen ===
     2
     3 * Install with:
     4
     5{{{
     6apt-get install xen-hypervisor-3.0.3-1-i386 xen-linux-system-2.6.18-4-xen-686 libc6-xen
     7}}}
     8
     9 * Edit /boot/grub/menu.1st
     10
     11{{{
     12## Xen hypervisor options to use with the default Xen boot option
     13# xenhopt=dom0_mem=131072
     14}}}
     15
     16 * run update-grub and reboot
     17
     18 * Install bridge-utils and xen-tools
     19
     20{{{
     21aptitude install bridge-utils xen-tools
     22/etc/init.d/xend restart
     23}}}
     24
     25 * Edit /etc/xen-tools/xen-tools.conf. Apply the following diffs:
     26
     27{{{
     280 gramsci:/etc/xen-tools# diff -u xen-tools.conf.orig xen-tools.conf
     29--- xen-tools.conf.orig 2007-05-27 19:59:38.000000000 -0400
     30+++ xen-tools.conf      2007-05-27 20:01:15.000000000 -0400
     31@@ -35,6 +35,7 @@
     32#
     33##
     34# lvm = skx-vg
     35+lvm = vg_gramsci0
     36
     37
     38#
     39@@ -61,7 +62,7 @@
     40##
     41#
     42# copy = /path/to/pristine/image
     43-# debootstrap = 1
     44+debootstrap = 1
     45# rpmstrap = 1
     46# tar = /path/to/img.tar
     47#
     48@@ -95,7 +96,7 @@
     49swap   = 128Mb    # Swap size
     50# noswap = 1      # Don't use swap at all for the new system.
     51fs     = ext3     # use the EXT3 filesystem for the disk image.
     52-dist   = sarge    # Default distribution to install.
     53+dist   = etch     # Default distribution to install.
     54image  = sparse   # Specify sparse vs. full disk images.
     55
     56#
     57@@ -154,8 +155,8 @@
     58#
     59# Default kernel and ramdisk to use for the virtual servers
     60#
     61-kernel = /boot/vmlinuz-2.6.16-2-xen-686
     62-initrd = /boot/initrd.img-2.6.16-2-xen-686
     63+kernel = /boot/vmlinuz-2.6.18-4-xen-686
     64+initrd = /boot/initrd.img-2.6.18-4-xen-686
     65
     66#
     67#  The architecture to use when using debootstrap or rpmstrap.
     681 gramsci:/etc/xen-tools#
     69}}}
     70
     71 * Create new xen instances with:
     72
     73{{{
     74xen-create-image --size=5Gb --swap=512Mb --gateway=209.51.180.17 --netmask=255.2
     7555.255.240 --ip=209.51.180.24 --hostname=mendes
     76}}}
     77
     78 Change settings as needed.
     79