john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

Xen virtualization ubuntu

HYPERVISOR = xend (xen daemon) and xend-config.sxp Privileged Guest = dom0 (Domain 0) Virtual Machine domU (guest Domain) ... Guest config. File


sudo aptitude install xen-hypervisor (ubuntu-xen-server is deprecated) (selecting "xen-hypervisor-4.1-amd64" instead of the virtual package...)

bridge-utils{a} gawk{a} libsigsegv2{a} libxenstore3.0{a} qemu-keymaps{a} xen-hypervisor-4.1-amd64 xen-utils-4.1{a} xen-utils-common{a} xenstore-utils{a}

REBOOT YOUR CPU (to use the Xen kernel instead, if necessary hold SHIFT during boot to access the grub menu to choose xen-4.1)

sudo xm info (lots of info)

brctl show bridge name bridge id STP enabled interfaces virbr0 8000.000000000000 yes

sudo vi /etc/xen/xend-config.xsp

(xend-unix-server yes) (previously was # (xend-unix-server no) )

/etc/init.d/xend restart


aptitude install virt-manager (gui for managing guests) sudo virt-manager

localhost (xen) ... Domain-0 (running) Click on the computer logo with a star (create new VM) -> (i.e. from ISO)

HARD DRIVE (I prefer "thin allocation")

NETWORKING specify shared device name

Unable to complete install: 'POST operation failed: xend_post: error from xen daemon: (xend.err "Error creating domain: device model '/usr/lib64/xen/bin/qemu-dm' not found")'


xen create --help

apt-get install xenwatch xen-tools apt-get install virtinst virt-viewer virt-manager

vi ~/.bashrc , add the following line:

export VIRSH_DEFAULT_CONNECT_URI="xen:///"


  • « Grub reinstall on mbr error systemrescuecd
  • concurrency timeout kill process »

Published

Dec 31, 2011

Category

virtualization

~174 words

Tags

  • ubuntu 30
  • virtualization 87
  • xen 2