seit einigen Tagen bin ich dabei
auf einem AMD XEN unter Debian laufen zu lassen
was bisher alles passt
nun der XEN Server läuft ansich optimal!hostsystem:/etc/xen# uname -a
Linux hostsystem 2.6.26-2-xen-amd64 #1 SMP Mon Oct 19 04:39:01 UTC 2009 x86_64 GNU/Linux
2 DomU's sind schon am werkeln, (Debian als DomU system)
aber jetz wollte ich ihn um einen Windows 2k8 x64 Server erweitern via HVM (was der prozessor auch unterstützt!)
nun nach dem start via xm create win.conf sollte ich ins VNC kommen...
nur das geht nicht da python abgeraucht ist...hostsystem:/home/xen/GREEN/win# xm create win.conf
Using config file "./win.conf".
VNC= 1
Started domain win2k8
hostsystem:/home/xen/GREEN/win# ps -A | grep defunc
10697 ? 00:00:00 python <defunct>
hostsystem:/home/xen/GREEN/win#
nach einigen stunden suche via google bin ich keinen deut schlauer was das sein könnte...
meine win.conf sieht wie folgt aus
nach der suche der logs bin ich nur auf den xend.log gestoßenkernel="/usr/lib/xen-3.2-1/boot/hvmloader"
builder="hvm"
memory="1024"
name="win2k8"
vcpus=1
pae=0
acpi=0
apic=0
disk = [ 'file:/home/xen/GREEN/win/disk.img,hda,w', 'file:/home/xen/GREEN/win/data.img,hdb,w', 'file:/home/xen/GREEN/win/win2k8rc2.img,hdc:cdrom,r' ]
vif = [ 'type=ioemu', 'bridge=xenbr0' ]
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
device_model = '/usr/lib/xen-3.2.1/bin/qemu-dm'
boot='cd'
sdl=0
vnc=1
vncviewer=1
vncpasswd="winsrv"
stdvga=0
seria='pty'
ne2000=0
aber aus dieser wurde ich auch nicht schlau...
Nun frage ich euch alle hier,[2009-10-31 16:09:13 2865] DEBUG (XendDomainInfo:84) XendDomainInfo.create(['vm', ['name', 'win2k8'], ['memory', '1024'], ['on_poweroff', 'destroy'], ['on_reboot', 'restart'], ['on_crash', 'restart'], ['vcpus', 1], ['on_xend_start', 'ignore'], ['on_xend_stop', 'ignore'], ['image', ['hvm', ['kernel', '/usr/lib/xen-3.2-1/boot/hvmloader'], ['args', 'VNC_VIEWER=127.0.1.1:5501 '], ['pae', 0], ['vcpus', 1], ['boot', 'cd'], ['fda', ''], ['fdb', ''], ['timer_mode', 0], ['localtime', 0], ['serial', ''], ['stdvga', 0], ['isa', 0], ['nographic', 0], ['soundhw', ''], ['vnc', 1], ['vncunused', 1], ['sdl', 0], ['xauthority', '/root/.Xauthority'], ['rtc_timeoffset', '0'], ['monitor', 0], ['acpi', 0], ['apic', 0], ['usb', 0], ['usbdevice', ''], ['keymap', ''], ['pci', []], ['guest_os_type', 'default'], ['device_model', '/usr/lib/xen-3.2.1/bin/qemu-dm'], ['vncpasswd', 'XXXXXXXX']]], ['device', ['vbd', ['uname', 'file:/home/xen/GREEN/win/disk.img'], ['dev', 'hda'], ['mode', 'w']]], ['device', ['vbd', ['uname', 'file:/home/xen/GREEN/win/win2k8rc2.img'], ['dev', 'hdc:cdrom'], ['mode', 'r']]], ['device', ['vif', ['bridge', 'xenbr0']]]])
[2009-10-31 16:09:13 2865] DEBUG (XendDomainInfo:1618) XendDomainInfo.constructDomain
[2009-10-31 16:09:13 2865] DEBUG (balloon:132) Balloon: 1067708 KiB free; need 2048; done.
[2009-10-31 16:09:13 2865] DEBUG (XendDomain:443) Adding Domain: 7
[2009-10-31 16:09:13 2865] DEBUG (XendDomainInfo:1703) XendDomainInfo.initDomain: 7 256
[2009-10-31 16:09:13 2865] DEBUG (image:232) Stored a VNC password for vfb access
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: boot, val: cd
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: fda, val: None
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: fdb, val: None
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: soundhw, val: None
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: localtime, val: 0
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: serial, val: None
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: std-vga, val: 0
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: isa, val: 0
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: acpi, val: 0
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: usb, val: 0
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: usbdevice, val: None
[2009-10-31 16:09:13 2865] DEBUG (image:476) args: pci, val: []
[2009-10-31 16:09:13 2865] DEBUG (XendDomainInfo:1738) _initDomain:shadow_memory=0x0, memory_static_max=0x40000000, memory_static_min=0x0.
[2009-10-31 16:09:13 2865] DEBUG (balloon:132) Balloon: 1066416 KiB free; need 1065984; done.
[2009-10-31 16:09:13 2865] INFO (image:139) buildDomain os=hvm dom=7 vcpus=1
[2009-10-31 16:09:13 2865] DEBUG (image:523) domid = 7
[2009-10-31 16:09:13 2865] DEBUG (image:524) image = /usr/lib/xen-3.2-1/boot/hvmloader
[2009-10-31 16:09:13 2865] DEBUG (image:525) store_evtchn = 2
[2009-10-31 16:09:13 2865] DEBUG (image:526) memsize = 1024
[2009-10-31 16:09:13 2865] DEBUG (image:527) vcpus = 1
[2009-10-31 16:09:13 2865] DEBUG (image:528) acpi = 0
[2009-10-31 16:09:13 2865] DEBUG (image:529) apic = 0
[2009-10-31 16:09:13 2865] INFO (XendDomainInfo:1514) createDevice: vfb : {'vncpasswd': 'XXXXXXXX', 'vncunused': 1, 'other_config': {'vncunused': 1, 'vncpasswd': 'XXXXXXXX', 'type': 'vnc'}, 'type': 'vnc', 'uuid': '829906ba-9279-3c15-d88a-3d65c0cb945f'}
[2009-10-31 16:09:13 2865] DEBUG (DevController:118) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/vfb/7/0'} to /local/domain/7/device/vfb/0.
[2009-10-31 16:09:13 2865] DEBUG (DevController:120) DevController: writing {'vncunused': '1', 'domain': 'win2k8', 'frontend': '/local/domain/7/device/vfb/0', 'uuid': '829906ba-9279-3c15-d88a-3d65c0cb945f', 'vncpasswd': 'XXXXXXXX', 'state': '1', 'online': '1', 'frontend-id': '7', 'type': 'vnc'} to /local/domain/0/backend/vfb/7/0.
[2009-10-31 16:09:13 2865] INFO (XendDomainInfo:1514) createDevice: vbd : {'uuid': '1084dff8-53a1-0492-f532-52d4792d7078', 'bootable': 1, 'driver': 'paravirtualised', 'dev': 'hda', 'uname': 'file:/home/xen/GREEN/win/disk.img', 'mode': 'w'}
[2009-10-31 16:09:13 2865] DEBUG (DevController:118) DevController: writing {'backend-id': '0', 'virtual-device': '768', 'device-type': 'disk', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/768'} to /local/domain/7/device/vbd/768.
[2009-10-31 16:09:13 2865] DEBUG (DevController:120) DevController: writing {'domain': 'win2k8', 'frontend': '/local/domain/7/device/vbd/768', 'uuid': '1084dff8-53a1-0492-f532-52d4792d7078', 'dev': 'hda', 'state': '1', 'params': '/home/xen/GREEN/win/disk.img', 'mode': 'w', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/768.
[2009-10-31 16:09:13 2865] INFO (XendDomainInfo:1514) createDevice: vbd : {'uuid': '7c5d76de-f0d7-7e06-ccee-d1cc0607a071', 'bootable': 0, 'driver': 'paravirtualised', 'dev': 'hdc:cdrom', 'uname': 'file:/home/xen/GREEN/win/win2k8rc2.img', 'mode': 'r'}
[2009-10-31 16:09:13 2865] DEBUG (DevController:118) DevController: writing {'backend-id': '0', 'virtual-device': '5632', 'device-type': 'cdrom', 'state': '1', 'backend': '/local/domain/0/backend/vbd/7/5632'} to /local/domain/7/device/vbd/5632.
[2009-10-31 16:09:13 2865] DEBUG (DevController:120) DevController: writing {'domain': 'win2k8', 'frontend': '/local/domain/7/device/vbd/5632', 'uuid': '7c5d76de-f0d7-7e06-ccee-d1cc0607a071', 'dev': 'hdc', 'state': '1', 'params': '/home/xen/GREEN/win/win2k8rc2.img', 'mode': 'r', 'online': '1', 'frontend-id': '7', 'type': 'file'} to /local/domain/0/backend/vbd/7/5632.
[2009-10-31 16:09:13 2865] INFO (XendDomainInfo:1514) createDevice: vif : {'bridge': 'xenbr0', 'mac': '00:16:3e:34:f2:16', 'uuid': 'f9f8138a-d7bf-c5db-9e74-a1b696650dfa'}
[2009-10-31 16:09:13 2865] DEBUG (DevController:118) DevController: writing {'backend-id': '0', 'mac': '00:16:3e:34:f2:16', 'handle': '0', 'state': '1', 'backend': '/local/domain/0/backend/vif/7/0'} to /local/domain/7/device/vif/0.
[2009-10-31 16:09:13 2865] DEBUG (DevController:120) DevController: writing {'bridge': 'xenbr0', 'domain': 'win2k8', 'handle': '0', 'uuid': 'f9f8138a-d7bf-c5db-9e74-a1b696650dfa', 'script': '/etc/xen/scripts/vif-bridge', 'mac': '00:16:3e:34:f2:16', 'frontend-id': '7', 'state': '1', 'online': '1', 'frontend': '/local/domain/7/device/vif/0'} to /local/domain/0/backend/vif/7/0.
[2009-10-31 16:09:13 2865] INFO (image:289) spawning device models: /usr/lib/xen-3.2.1/bin/qemu-dm ['/usr/lib/xen-3.2.1/bin/qemu-dm', '-d', '7', '-domain-name', 'win2k8', '-vnc', '0.0.0.0:0,password', '-vncunused', '-vcpus', '1', '-boot', 'cd', '-net', 'nic,vlan=1,macaddr=00:16:3e:34:f2:16,model=rtl8139', '-net', 'tap,vlan=1,bridge=xenbr0', '-M', 'xenfv']
[2009-10-31 16:09:13 2865] INFO (image:293) device model pid: 10697
[2009-10-31 16:09:13 2865] DEBUG (XendDomainInfo:2195) Storing VM details: {'on_xend_stop': 'ignore', 'shadow_memory': '9', 'uuid': '80b96b6d-04b7-37bb-8d9e-40ac10fba223', 'on_reboot': 'restart', 'start_time': '1257001753.86', 'on_poweroff': 'destroy', 'on_xend_start': 'ignore', 'on_crash': 'restart', 'xend/restart_count': '0', 'vcpus': '1', 'vcpu_avail': '1', 'image': "(hvm (kernel /usr/lib/xen-3.2-1/boot/hvmloader) (args 'VNC_VIEWER=127.0.1.1:5501 ') (acpi 0) (apic 0) (boot cd) (device_model /usr/lib/xen-3.2.1/bin/qemu-dm) (isa 0) (localtime 0) (monitor 0) (nographic 0) (pae 0) (rtc_timeoffset 0) (sdl 0) (stdvga 0) (usb 0) (vnc 1) (timer_mode 0) (vncpasswd XXXXXX) (vncunused 1) (xauthority /root/.Xauthority) (pci ()) (guest_os_type default) (notes (SUSPEND_CANCEL 1)))", 'name': 'win2k8'}
[2009-10-31 16:09:13 2865] DEBUG (XendDomainInfo:1008) Storing domain details: {'console/port': '3', 'name': 'win2k8', 'console/limit': '1048576', 'store/port': '2', 'vm': '/vm/80b96b6d-04b7-37bb-8d9e-40ac10fba223', 'domid': '7', 'image/suspend-cancel': '1', 'cpu/0/availability': 'online', 'memory/target': '1048576', 'control/platform-feature-multiprocessor-suspend': '1', 'store/ring-ref': '262142', 'console/type': 'ioemu'}
[2009-10-31 16:09:13 2865] DEBUG (DevController:118) DevController: writing {'state': '1', 'backend-id': '0', 'backend': '/local/domain/0/backend/console/7/0'} to /local/domain/7/device/console/0.
[2009-10-31 16:09:13 2865] DEBUG (DevController:120) DevController: writing {'domain': 'win2k8', 'frontend': '/local/domain/7/device/console/0', 'uuid': 'eac97868-42e6-38f5-5b2c-10d8efbf2c14', 'frontend-id': '7', 'state': '1', 'location': '3', 'online': '1', 'protocol': 'vt100'} to /local/domain/0/backend/console/7/0.
[2009-10-31 16:09:13 2865] DEBUG (XendDomainInfo:1092) XendDomainInfo.handleShutdownWatch
[2009-10-31 16:09:13 2865] DEBUG (DevController:151) Waiting for devices vif.
[2009-10-31 16:09:14 2865] DEBUG (DevController:156) Waiting for 0.
[2009-10-31 16:09:14 2865] DEBUG (DevController:595) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
[2009-10-31 16:09:14 2865] DEBUG (DevController:595) hotplugStatusCallback /local/domain/0/backend/vif/7/0/hotplug-status.
[2009-10-31 16:09:14 2865] DEBUG (DevController:609) hotplugStatusCallback 1.
[2009-10-31 16:09:14 2865] DEBUG (DevController:151) Waiting for devices vbd.
[2009-10-31 16:09:14 2865] DEBUG (DevController:156) Waiting for 768.
[2009-10-31 16:09:14 2865] DEBUG (DevController:595) hotplugStatusCallback /local/domain/0/backend/vbd/7/768/hotplug-status.
[2009-10-31 16:09:15 2865] DEBUG (DevController:595) hotplugStatusCallback /local/domain/0/backend/vbd/7/768/hotplug-status.
[2009-10-31 16:09:15 2865] DEBUG (DevController:609) hotplugStatusCallback 1.
[2009-10-31 16:09:15 2865] DEBUG (DevController:156) Waiting for 5632.
[2009-10-31 16:09:15 2865] DEBUG (DevController:595) hotplugStatusCallback /local/domain/0/backend/vbd/7/5632/hotplug-status.
[2009-10-31 16:09:15 2865] DEBUG (DevController:609) hotplugStatusCallback 1.
[2009-10-31 16:09:15 2865] DEBUG (DevController:151) Waiting for devices irq.
[2009-10-31 16:09:15 2865] DEBUG (DevController:151) Waiting for devices vkbd.
[2009-10-31 16:09:15 2865] DEBUG (DevController:151) Waiting for devices vfb.
[2009-10-31 16:09:15 2865] DEBUG (DevController:151) Waiting for devices console.
[2009-10-31 16:09:15 2865] DEBUG (DevController:156) Waiting for 0.
[2009-10-31 16:09:15 2865] DEBUG (DevController:151) Waiting for devices pci.
[2009-10-31 16:09:15 2865] DEBUG (DevController:151) Waiting for devices ioports.
[2009-10-31 16:09:15 2865] DEBUG (DevController:151) Waiting for devices tap.
[2009-10-31 16:09:15 2865] DEBUG (DevController:151) Waiting for devices vtpm.
[2009-10-31 16:09:15 2865] INFO (XendDomain:1165) Domain win2k8 (7) unpaused.
ob jemand rauslesen kann woran das liegen könnte?
bzw. mir weiterhelfen kann!
Danke im vorraus
Grüße Martin