Imprimir post Imprimir post
 

Xen 4.0 no Debian Squeeze, com Ext4

Posted by Eriberto on jun 22, 2010 in Debian, Debian Squeeze, Sistema Operacional, Virtualização, Xen |
0 votos Seja o primeiro a votar!!

Depois de algum tempo, o Xen 4 engrenou no Debian Squeeze sem tantos malabarismos. A mágica do APT-GET acontece novamente.

Depois de passar um dia ralando para fazer tudo funcionar e me adaptar aos novos dispositivos e malícias, escrevi um artigo no meu wiki sobre o assunto. Comecei no dia 15 de junho mas só tive tempo para terminar hoje. Assim sendo, para quem precisar, fica aqui a URL:

http://www.eriberto.pro.br/wiki/index.php?title=Xen_4.0_no_Debian_Squeeze

ou

http://tiny.cc/xen_squeeze

Tags:, , , , , , , , , , , , , , , ,

1 Comment

Edson
jun 28, 2010 at 6:40 pm

Parabéns pelo artigo, aprendi muito sobre xen com ele e tem muito material no seu blog…

Então fiz a instalação normal seguindo seu artigo
http://www.eriberto.pro.br/wiki/index.php?title=Xen_4.0_no_Debian_Squeeze

mas para dar boot pelo novo kernel tive que fazer essas alterações

#!/bin/bash
exec tail -n +3 $0

menuentry “Debian GNU/Linux, XEN 4 with Linux 2.6.32-5-xen-686″ –class debian –class gnu-linux –class gnu –class os {

insmod ext2
set root=’(hd0,1)’
multiboot /boot/xen-4.0-i386.gz
module /boot/vmlinuz-2.6.32-5-xen-686 dummy=dummy root=/dev/sda1 ro quiet
module /boot/initrd.img-2.6.32-5-xen-686

}

com alteração

#!/bin/bash
exec tail -n +3 $0

menuentry “Debian GNU/Linux, XEN 4 with Linux 2.6.32-5-xen-686″ –class debian –class gnu-linux –class gnu –class os {
insmod ext2
set root=’(hd0,1)’
search –no-floppy –fs-uuid –set 330d7d62-a08e-4251-b9a7-b409ebe87f28
multiboot /boot/xen-4.0-i386.gz
linux /boot/vmlinuz-2.6.32-5-xen-686 dummy=dummy root=UUID=330d7d62-a08e-4251-b9a7-b409ebe87f28 ro quiet
initrd /boot/initrd.img-2.6.32-5-xen-686
}

inicio normal, mas não esta estartando o xend e nem o xendomains
ai executei na linha de comando
xend start
e aparece isso

root@xen-squeeze:~# xend start
WARNING! Can’t find hypervisor information in sysfs!
ERROR Internal error: Could not obtain handle on privileged command interface (2 = No such file or directory)
Traceback (most recent call last):
File “/usr/lib/xen-default/bin/xend”, line 38, in
from xen.xend.server import SrvDaemon
File “/usr/lib/xen-4.0/bin/../lib/python/xen/xend/server/SrvDaemon.py”, line 26, in
import relocate
File “/usr/lib/xen-4.0/bin/../lib/python/xen/xend/server/relocate.py”, line 28, in
from xen.xend import XendDomain
File “/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendDomain.py”, line 36, in
from xen.xend import XendOptions, XendCheckpoint, XendDomainInfo
File “/usr/lib/xen-4.0/bin/../lib/python/xen/xend/XendCheckpoint.py”, line 20, in
from xen.xend import balloon, sxp, image
File “/usr/lib/xen-4.0/bin/../lib/python/xen/xend/image.py”, line 46, in
xc = xen.lowlevel.xc.xc()
xen.lowlevel.xc.Error: (1, ‘Internal error’, ‘Could not obtain handle on privileged command interface (2 = No such file or directory)’)
root@xen-squeeze:~#

Tem alguma idéa desde ja agradeço…


 

Reply

Copyright © 2010 Eriberto Blog All rights reserved. Acessos desde 19 mai. 08: 162421
Desk Mess Mirrored v1.1.1 theme from BuyNowShop.com.