Difference between revisions of "Dom0 Installation on Debian"
From Supercomputación y Cálculo Científico UIS
(3 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
− | + | Back to [[Xen on Debian]] | |
− | Back to | ||
+ | === Dom0 Installation on Debian === | ||
'''This parameters were made for the Xen installation on Linux Debian over Intel machines or AMD 64 bits.''' | '''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 | 1) Install the adecuate software to enable it | ||
Line 14: | Line 12: | ||
2) Reboot the machine | 2) Reboot the machine | ||
− | |||
{{Command|<nowiki> reboot </nowiki>}} | {{Command|<nowiki> reboot </nowiki>}} | ||
3) Check if the machine has the dom0 kernel of Xen | 3) Check if the machine has the dom0 kernel of Xen | ||
− | |||
{{Command|<nowiki> uname -srm </nowiki>}} | {{Command|<nowiki> uname -srm </nowiki>}} | ||
You have to see somethimg like this | You have to see somethimg like this | ||
− | + | <p>Linux 3.2.0-4-amd64 x86_64</p> | |
− | |||
− | |||
Also, you can see if dom0 is running by running the following command: | Also, you can see if dom0 is running by running the following command: | ||
− | |||
{{Command|<nowiki> xm list </nowiki>}} | {{Command|<nowiki> xm list </nowiki>}} | ||
− | |||
And the output will be | And the output will be | ||
− | + | {{File|..|<pre><nowiki> | |
Name ID Mem VCPUs State Time(s) | Name ID Mem VCPUs State Time(s) | ||
Domain-0 0 7926 8 r----- 20.0 | Domain-0 0 7926 8 r----- 20.0 | ||
− | + | </nowiki></pre>}} | |
4) Edit the /etc/xen/xend-config.sxp file and uncomment the follwing lines | 4) Edit the /etc/xen/xend-config.sxp file and uncomment the follwing lines | ||
− | |||
{{File|/etc/xen/xend-config.sxp|<pre><nowiki> | {{File|/etc/xen/xend-config.sxp|<pre><nowiki> | ||
(network-script 'network-bridge netdev=eth0') | (network-script 'network-bridge netdev=eth0') | ||
(vif-script vif-bridge) | (vif-script vif-bridge) | ||
</nowiki></pre>}} | </nowiki></pre>}} | ||
− | |||
{{Note|<pre><nowiki> Reboot the daemon before doing any change on this file </nowiki></pre>}} | {{Note|<pre><nowiki> Reboot the daemon before doing any change on this file </nowiki></pre>}} | ||
− | + | 5) If you are using images on files, edit /etc/modules and change the "loop" module line in order to look like this: | |
− | 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|<pre><nowiki> | {{File|/etc/modules|<pre><nowiki> | ||
loop max_loop=64 | loop max_loop=64 | ||
</nowiki></pre>}} | </nowiki></pre>}} | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Paravirtualization]] | [[Category:Paravirtualization]] |
Latest revision as of 21:28, 21 June 2016
Back to Xen on Debian
Dom0 Installation 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
File: ..
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