Difference between revisions of "Dom0 Installation on Debian"

From Supercomputación y Cálculo Científico UIS
Line 52: Line 52:
  
  
[[Category:Virtualization]]
+
[[Category:Paravirtualization]]

Revision as of 15:25, 20 August 2014

Es:Instalación del Dominio0 en Debian

Back to: Xen on Debian

This parameters were made for the Xen installation on Linux Debian over Intel machines or AMD 64 bits.


1) Install the adecuate software to enable it

apt-get install xen-hypervisor-4.1-amd64 xen-tools xen-utils-4.1 xen-linux-system-amd64


Debian autoconfigurates grub in order to use the Xen hypervisor for booting the next time

2) Reboot the machine

reboot


3) Check if the machine has the dom0 kernel of Xen

uname -srm


You have to see somethimg like this

Linux 3.2.0-4-amd64 x86_64

Also, you can see if dom0 is running by running the following command:

xm list


And the output will be

       Name                                        ID   Mem VCPUs      State   Time(s)
       Domain-0                                     0  7926     8     r-----     20.0

4) Edit the /etc/xen/xend-config.sxp file and uncomment the follwing lines

File: /etc/xen/xend-config.sxp
        (network-script 'network-bridge netdev=eth0')
        (vif-script vif-bridge)
NOTE:
 Reboot the daemon before doing any change on this file 


5) If you are using images on files, edit /etc/modules and change the "loop" module line in order to look like this

File: /etc/modules
        loop max_loop=64