[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Instalacja Xena



Witam

Instaluje Xena na PowerEdge T300. Guesta tworze przez xen-create-image

debian:~# cat /etc/xen/xen-tools.conf | sed '/ *#/d ; /^ *$/d'
dir = /home/xen
install-method = debootstrap
ip      =       10.254.1.251
gateway   = 10.254.1.1
netmask   = 255.255.255.0
passwd = 1
kernel      = /boot/vmlinuz-`uname -r`
mirror = http://ftp.pl.debian.org/debian/
ext3_options   = noatime,nodiratime,errors=remount-ro
ext2_options   = noatime,nodiratime,errors=remount-ro
xfs_options    = defaults
reiser_options = defaults
boot = 1

Proces konczy sie sukcesem

debian:~# xm create virt.cfg
Using config file "/etc/xen/virt.cfg".
Started domain virt

Tymczasem xm list wywala tylko:

Name ID Mem VCPUs State Time(s) Domain-0 0 7984 4 r----- 100.5

debian:~# xm console virt
Error: Domain 'virt' does not exist.

W logach mam takie krzaki:

debian:~# cat /var/log/xen/xend.log | tail -n15
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 444, in start
   raise XendError('VM already running')
XendError: VM already running
[2009-05-19 11:32:17 3127] DEBUG (XendDomainInfo:1897) XendDomainInfo.destroy: domid=4 [2009-05-19 11:32:17 3127] ERROR (XendDomainInfo:1425) Failed to restart domain 4.
Traceback (most recent call last):
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 1410, in _restart
   self.info)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomain.py", line 975, in domain_create_from_dict
   dominfo = XendDomainInfo.create_from_dict(config_dict)
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 109, in create_from_dict
   vm.start()
File "/usr/lib/xen-3.2-1/lib/python/xen/xend/XendDomainInfo.py", line 444, in start
   raise XendError('VM already running')
XendError: VM already running


Nie bardzo wiem jak to ugryźć.

Pozdrawiam


Reply to: