Table of Contents

VM server install(squeeze)

Installation of operating system and setup

Making sure squeeze knows where to go for updates

Updating and installing necessary packages to create a VM server

Configuring our VM server

Initial setup and changes

Editing xen-tools.conf

  # /etc/xen-tools/xen-tools.conf
  #
  
  ##
  ## Virtual Machine configuration
  ##
  dir             = /xen
  install-method  = debootstrap
  
  ##
  ## Disk and Sizing options
  ##
  size            = 2Gb      # Disk image size.
  memory          = 128Mb    # Memory size
  swap            = 128Mb    # Swap size
  fs              = ext3     # use the EXT3 filesystem for the disk image.
  dist            = squeeze  # Default distribution to install.
  images          = full
  
  ##
  ## Network configuration
  ##
  dhcp            = 1
  gateway         = 10.80.3.1
  netmask         = 255.255.255.0
  
  ##
  ## Password configuration
  ##
  passwd          = 1
  
  ##
  ## Package Mirror configuration
  ##
  arch            = i386
  mirror          = http://mirror/debian/
  mirror_squeeze  = http://mirror/debian/
  
  ##
  ## Filesystem settings
  ##
  ext3_options    = noatime,nodiratime,errors=remount-ro
  ext2_options    = noatime,nodiratime,errors=remount-ro
  xfs_options     = defaults
  reiser_options  = defaults
  
  ##
  ## Xen VM boot settings
  ##
  pygrub          = 1
  
  ##
  ## Xen VM settings
  ##
  serial_device   = hvc0
  disk_device     = xvda
  
  ##
  ## Xen configuration files
  ##
  output          = /xen/conf
  extension       = .cfg

Changes to grub

   # Disable OS prober to prevent virtual machines on logical volumes from
   # appearing in the boot menu.
   GRUB_DISABLE_OS_PROBER=true
  
  XENDOMAINS_SAVE=/var/lib/xen/save
  

gets changed to:

  
  XENDOMAINS_SAVE=""
  

Then change the XENDOMAINS_RESTORE line to:

  
  XENDOMAINS_RESTORE=false

Final tweaks

Initial setup and changes

References