Difference between revisions of "Dom0 Installation on Debian"
Line 1: | Line 1: | ||
− | + | __NOTOC__ | |
− | + | <div class="thumbnail img-thumbnail">http://wiki.sc3.uis.edu.co/images/a/a8/Logo_sc33.png</div> | |
− | + | <p><div class="btn btn-primary"><i class="fa fa-long-arrow-left"></i> [[Xen on Debian]]</div></p> | |
− | |||
− | |||
− | |||
− | |||
− | |||
+ | <div class="col-md-14"> | ||
+ | <div class="panel panel-darker-white-border"> | ||
+ | <div class="panel-heading"> | ||
+ | <h3 class="panel-title"> Xen on Debian</h3> | ||
+ | </div> | ||
+ | <div class="panel-body"> | ||
+ | <p>'''This parameters were made for the Xen installation on Linux Debian over Intel machines or AMD 64 bits.'''</p> | ||
+ | <p>1) Install the adecuate software to enable it</p> | ||
{{Command|<nowiki> apt-get install xen-hypervisor-4.1-amd64 xen-tools xen-utils-4.1 xen-linux-system-amd64 </nowiki>}} | {{Command|<nowiki> apt-get install xen-hypervisor-4.1-amd64 xen-tools xen-utils-4.1 xen-linux-system-amd64 </nowiki>}} | ||
− | + | <p>Debian autoconfigurates grub in order to use the Xen hypervisor for booting the next time</p> | |
− | Debian autoconfigurates grub in order to use the Xen hypervisor for booting the next time | + | <p>2) Reboot the machine</p> |
− | |||
− | 2) Reboot the machine | ||
− | |||
{{Command|<nowiki> reboot </nowiki>}} | {{Command|<nowiki> reboot </nowiki>}} | ||
− | + | <p>3) Check if the machine has the dom0 kernel of Xen</p> | |
− | 3) Check if the machine has the dom0 kernel of Xen | ||
− | |||
{{Command|<nowiki> uname -srm </nowiki>}} | {{Command|<nowiki> uname -srm </nowiki>}} | ||
− | + | <p>You have to see somethimg like this</p> | |
− | You have to see somethimg like this | + | <p>Linux 3.2.0-4-amd64 x86_64</p> |
− | + | <p>Also, you can see if dom0 is running by running the following command:</p> | |
− | |||
− | |||
− | Also, you can see if dom0 is running by running the following command: | ||
− | |||
{{Command|<nowiki> xm list </nowiki>}} | {{Command|<nowiki> xm list </nowiki>}} | ||
− | + | <p>And the output will be | |
− | And the output will be | ||
− | |||
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 | ||
− | + | </p> | |
− | 4) Edit the /etc/xen/xend-config.sxp file and uncomment the follwing lines | + | <p>4) Edit the /etc/xen/xend-config.sxp file and uncomment the follwing lines</p> |
− | |||
{{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>}} | ||
− | + | <p>5) If you are using images on files, edit /etc/modules and change the "loop" module line in order to look like this</p> | |
− | 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]] | ||
+ | </p> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> |
Revision as of 16:35, 9 April 2015
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
Debian autoconfigurates grub in order to use the Xen hypervisor for booting the next time
2) Reboot the machine
3) Check if the machine has the dom0 kernel of Xen
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:
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
(network-script 'network-bridge netdev=eth0') (vif-script vif-bridge)
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
loop max_loop=64