Suffin, Charlie
2009-Nov-12 21:49 UTC
[Xen-users] Windows PV driver live-migration support
Is anyone working on live-migration support for Windows PV domains? I am a developer, and I am evaluating the possibility of improving upon the Windows drivers. I installed a recent copy of the PV drivers (0.10.0.130) from the installation packages pointed at in the wiki (http://wiki.xensource.com/xenwiki/XenWindowsGplPv) and was not able to get a Windows 2003 domain to properly restore after a migration. There were numerous popup boxes on the console about not being able to remove devices, etc. I also found some verbiage in win-pvdrivers.hg/doc/TODO.txt (cloned from the repository) which indicated that this support wasn''t completed (yet). I am not quite sure what my expectations should be. Is there any documentation for this code or a project-plan which I can consult? I didn''t find anything on the wiki that would help me answer my questions about what is or isn''t supported and what is being actively worked on (and by whom). Apologies in advance if I''m asking newbie questions that have already been asked and answered. If you can point me to any useful threads on this subject, please do so. Thanks in advance. -- Charlie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2009-Nov-12 23:00 UTC
RE: [Xen-users] Windows PV driver live-migration support
> > Is anyone working on live-migration support for Windows PV domains? I > am a developer, and I am evaluating the possibility of improving upon > the Windows drivers. > > I installed a recent copy of the PV drivers (0.10.0.130) from the > installation packages pointed at in the wiki > (http://wiki.xensource.com/xenwiki/XenWindowsGplPv) and was not ableto> get a Windows 2003 domain to properly restore after a migration.There> were numerous popup boxes on the console about not being able toremove> devices, etc. I also found some verbiage in > win-pvdrivers.hg/doc/TODO.txt (cloned from the repository) which > indicated that this support wasn''t completed (yet). I am not quitesure> what my expectations should be. > > Is there any documentation for this code or a project-plan which I can > consult? I didn''t find anything on the wiki that would help me answer > my questions about what is or isn''t supported and what is beingactively> worked on (and by whom). > > Apologies in advance if I''m asking newbie questions that have already > been asked and answered. If you can point me to any useful threads on > this subject, please do so. >That particular problem should be fixed in 0.10.0.134. There may be other bugs that stop it working but that one at least should be fixed. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Klaus Steinberger
2009-Nov-13 08:13 UTC
RE: [Xen-users] Windows PV driver live-migration support
Hi James,> That particular problem should be fixed in 0.10.0.134. There may be > other bugs that stop it working but that one at least should be fixed.A nice to have: When you release a new driver version, it would be very nice to have a (short) list of the new features and bugs fixed in this version. Sincerly, Klaus _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keith Coleman
2009-Nov-13 18:56 UTC
Re: [Xen-users] Windows PV driver live-migration support
On Thu, Nov 12, 2009 at 6:00 PM, James Harper <james.harper@bendigoit.com.au> wrote:>> >> Is anyone working on live-migration support for Windows PV domains? I >> am a developer, and I am evaluating the possibility of improving upon >> the Windows drivers. >> >> I installed a recent copy of the PV drivers (0.10.0.130) from the >> installation packages pointed at in the wiki >> (http://wiki.xensource.com/xenwiki/XenWindowsGplPv) and was not able > to >> get a Windows 2003 domain to properly restore after a migration. > There >> were numerous popup boxes on the console about not being able to > remove >> devices, etc. I also found some verbiage in >> win-pvdrivers.hg/doc/TODO.txt (cloned from the repository) which >> indicated that this support wasn''t completed (yet). I am not quite > sure >> what my expectations should be. >> >> Is there any documentation for this code or a project-plan which I can >> consult? I didn''t find anything on the wiki that would help me answer >> my questions about what is or isn''t supported and what is being > actively >> worked on (and by whom). >> >> Apologies in advance if I''m asking newbie questions that have already >> been asked and answered. If you can point me to any useful threads on >> this subject, please do so. >> > > That particular problem should be fixed in 0.10.0.134. There may be > other bugs that stop it working but that one at least should be fixed. >Charlie, There are reports of recent gplpv drivers supporting live migration on old xen versions. Some changes in xen 3.4 broke gplpv live migration/restore functionality. There is a workaround but it has not been applied. More info: http://lists.xensource.com/archives/html/xen-users/2009-10/msg00978.html http://lists.xensource.com/archives/html/xen-devel/2009-09/msg01095.html Keith Coleman _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Suffin, Charlie
2009-Nov-13 21:04 UTC
RE: [Xen-users] Windows PV driver live-migration support
> On Thu, Nov 12, 2009 at 6:00 PM, James Harper > <james.harper@bendigoit.com.au> wrote: > >> > >> Is anyone working on live-migration support for Windows PV domains? > I > >> am a developer, and I am evaluating the possibility of improving > upon > >> the Windows drivers. > >> > >> I installed a recent copy of the PV drivers (0.10.0.130) from the > >> installation packages pointed at in the wiki > >> (http://wiki.xensource.com/xenwiki/XenWindowsGplPv) and was not able > > to > >> get a Windows 2003 domain to properly restore after a migration. > > There > >> were numerous popup boxes on the console about not being able to > > remove > >> devices, etc. I also found some verbiage in > >> win-pvdrivers.hg/doc/TODO.txt (cloned from the repository) which > >> indicated that this support wasn''t completed (yet). I am not quite > > sure > >> what my expectations should be. > >> > >> Is there any documentation for this code or a project-plan which I > can > >> consult? I didn''t find anything on the wiki that would help me > answer > >> my questions about what is or isn''t supported and what is being > > actively > >> worked on (and by whom). > >> > >> Apologies in advance if I''m asking newbie questions that have > already > >> been asked and answered. If you can point me to any useful threads > on > >> this subject, please do so. > >> > > > > That particular problem should be fixed in 0.10.0.134. There may be > > other bugs that stop it working but that one at least should be > fixed. > > > > Charlie, > > There are reports of recent gplpv drivers supporting live migration on > old xen versions. Some changes in xen 3.4 broke gplpv live > migration/restore functionality. There is a workaround but it has not > been applied. > > More info: > http://lists.xensource.com/archives/html/xen-users/2009- > 10/msg00978.html > http://lists.xensource.com/archives/html/xen-devel/2009- > 09/msg01095.html > > > Keith ColemanKeith, James, Thank you very much for your responses. James, I have been testing version 0.10.0.134 today with very good results. Clearly, whatever was causing my live-migration problems has been fixed. Keith, thanks for cluing me in on those other discussions. Sounds to me like there is some uncertainty about the expected behavior which is unresolved. I will stay tuned to that. Best wishes. -- Charlie _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2009-Nov-14 02:20 UTC
RE: [Xen-users] Windows PV driver live-migration support
> Charlie, > > There are reports of recent gplpv drivers supporting live migration on > old xen versions. Some changes in xen 3.4 broke gplpv live > migration/restore functionality. There is a workaround but it has not > been applied. > > More info: >http://lists.xensource.com/archives/html/xen-users/2009-10/msg00978.html>http://lists.xensource.com/archives/html/xen-devel/2009-09/msg01095.html>I just put in a very crude version of that workaround... I''ll upload it if anyone can give it a bit more testing. James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keith Coleman
2009-Nov-14 08:02 UTC
Re: [Xen-users] Windows PV driver live-migration support
On Fri, Nov 13, 2009 at 9:20 PM, James Harper <james.harper@bendigoit.com.au> wrote:>> Charlie, >> >> There are reports of recent gplpv drivers supporting live migration on >> old xen versions. Some changes in xen 3.4 broke gplpv live >> migration/restore functionality. There is a workaround but it has not >> been applied. >> >> More info: >> > http://lists.xensource.com/archives/html/xen-users/2009-10/msg00978.html >> > http://lists.xensource.com/archives/html/xen-devel/2009-09/msg01095.html >> > > I just put in a very crude version of that workaround... I''ll upload it > if anyone can give it a bit more testing. > > James >James, Thank you for working on this issue. Restore is still failing for me. I will mail details and logs in the morning. Keith Coleman _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keith Coleman
2009-Nov-16 08:08 UTC
Re: [Xen-users] Windows PV driver live-migration support
On Sat, Nov 14, 2009 at 3:02 AM, Keith Coleman <list.keith@scaltro.com> wrote:> On Fri, Nov 13, 2009 at 9:20 PM, James Harper > <james.harper@bendigoit.com.au> wrote: >>> Charlie, >>> >>> There are reports of recent gplpv drivers supporting live migration on >>> old xen versions. Some changes in xen 3.4 broke gplpv live >>> migration/restore functionality. There is a workaround but it has not >>> been applied. >>> >>> More info: >>> >> http://lists.xensource.com/archives/html/xen-users/2009-10/msg00978.html >>> >> http://lists.xensource.com/archives/html/xen-devel/2009-09/msg01095.html >>> >> >> I just put in a very crude version of that workaround... I''ll upload it >> if anyone can give it a bit more testing. >> >> James >> > > James, > > Thank you for working on this issue. Restore is still failing for me. > I will mail details and logs in the morning. > > > Keith Coleman >I have attached log files. Here are the details of my setup: xen 3.4.1 dom0: official xen 2.6.18 domU: fresh install of win2003 ent 32bit sp2 with gplpv_2003x32_0.10.0.138.msi a2:~# xm create win2-hvm Using config file "/etc/xen/win2-hvm". Started domain win2 (id=140) a2:~# xentop -d1 a2:~# xm save win2 win2.save a2:~# xm restore win2.save Error: /usr/lib64/xen/bin/xc_restore 4 142 2 3 1 1 1 failed Usage: xm restore <CheckpointFile> [-p] Restore a domain from a saved state. -p, --paused Do not unpause domain after restoring it a2:~# Let me know if you need more information or have something else for me to test. Keith Coleman _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Miguel Sanchez
2009-Nov-16 11:45 UTC
Re: [Xen-users] Windows PV driver live-migration support
James Harper escribio'':>> Charlie, >> >> There are reports of recent gplpv drivers supporting live migration on >> old xen versions. Some changes in xen 3.4 broke gplpv live >> migration/restore functionality. There is a workaround but it has not >> been applied. >> >> More info: >> >> > http://lists.xensource.com/archives/html/xen-users/2009-10/msg00978.html > > http://lists.xensource.com/archives/html/xen-devel/2009-09/msg01095.html > > > I just put in a very crude version of that workaround... I''ll upload it > if anyone can give it a bit more testing. > > James > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >Live migrating still doesn''t work for me with the driver 0.10.0.138 for a 32 bits win2003 vm. These are the contents for each xend.log file, migrating host: [2009-11-16 12:24:48 5406] DEBUG (XendCheckpoint:110) [xc_save]: /usr/lib64/xen/bin/xc_save 57 10 0 0 5 [2009-11-16 12:24:48 5406] INFO (XendCheckpoint:417) ERROR Internal error: Can''t create lock file for suspend event channel [2009-11-16 12:24:48 5406] INFO (XendCheckpoint:417) [2009-11-16 12:24:48 5406] INFO (XendCheckpoint:417) xc_save: suspend event channel initialization failedusing slow path [2009-11-16 12:25:02 5406] INFO (XendCheckpoint:417) Saving memory pages: iter 1 95% 1: sent 396288, skipped 2540, delta 14779ms, dom0 24%, target 0%, sent 878Mb/s, dirtied 6Mb/s 2990 pages [2009-11-16 12:25:02 5406] INFO (XendCheckpoint:417) Saving memory pages: iter 2 37% 2: sent 2979, skipped 12, delta 81ms, dom0 37%, target 1%, sent 1205Mb/s, dirtied 41Mb/s 102 pages [2009-11-16 12:25:02 5406] INFO (XendCheckpoint:417) Saving memory pages: iter 3 0% 3: sent 102, skipped 0, delta 11ms, dom0 100%, target 0%, sent 303Mb/s, dirtied 134Mb/s 45 pages [2009-11-16 12:25:02 5406] INFO (XendCheckpoint:417) Saving memory pages: iter 4 0% 4: sent 45, skipped 0, Start last iteration [2009-11-16 12:25:03 5406] DEBUG (XendCheckpoint:388) suspend [2009-11-16 12:25:03 5406] DEBUG (XendCheckpoint:113) In saveInputHandler suspend [2009-11-16 12:25:03 5406] DEBUG (XendCheckpoint:115) Suspending 10 ... [2009-11-16 12:25:03 5406] DEBUG (XendDomainInfo:511) XendDomainInfo.shutdown(suspend) [2009-11-16 12:25:03 5406] DEBUG (XendDomainInfo:1709) XendDomainInfo.handleShutdownWatch [2009-11-16 12:25:03 5406] INFO (XendDomainInfo:1895) Domain has shutdown: name=migrating-lisa id=10 reason=suspend. [2009-11-16 12:25:03 5406] INFO (XendCheckpoint:121) Domain 10 suspended. [2009-11-16 12:25:03 5406] INFO (image:479) signalDeviceModel:restore dm state to running [2009-11-16 12:25:03 5406] INFO (XendCheckpoint:417) SUSPEND shinfo 000f2000 [2009-11-16 12:25:03 5406] DEBUG (XendCheckpoint:130) Written done [2009-11-16 12:25:03 5406] INFO (XendCheckpoint:417) delta 610ms, dom0 17%, target 3%, sent 2Mb/s, dirtied 29Mb/s 546 pages [2009-11-16 12:25:03 5406] INFO (XendCheckpoint:417) Saving memory pages: iter 5 0%ERROR Internal error: Error when writing to state file (2) (104 = Connection reset by peer) [2009-11-16 12:25:03 5406] INFO (XendCheckpoint:417) Save exit rc=1 [2009-11-16 12:25:03 5406] ERROR (XendCheckpoint:164) Save failed on domain lisa (10) - resuming. Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 132, in save forkHelper(cmd, fd, saveInputHandler, False) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 405, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_save 57 10 0 0 5 failed [2009-11-16 12:25:03 5406] DEBUG (XendDomainInfo:2780) XendDomainInfo.resumeDomain(10) [2009-11-16 12:25:03 5406] DEBUG (XendDomainInfo:2821) XendDomainInfo.resumeDomain: completed [2009-11-16 12:25:03 5406] ERROR (xmlrpclib2:178) Internal error handling xend.domain.migrate Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/util/xmlrpclib2.py", line 131, in _marshaled_dispatch response = self._dispatch(method, params) File "/usr/lib64/python2.4/SimpleXMLRPCServer.py", line 406, in _dispatch return func(*params) File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 1381, in domain_migrate sock.shutdown(2) File "<string>", line 1, in shutdown error: (107, ''Transport endpoint is not connected'') target host: [2009-11-16 12:24:48 5366] INFO (XendCheckpoint:243) restore hvm domain 3, apic=1, pae=1 [2009-11-16 12:24:48 5366] DEBUG (image:322) No VNC passwd configured for vfb access [2009-11-16 12:24:48 5366] DEBUG (image:809) args: boot, val: dc [2009-11-16 12:24:48 5366] DEBUG (image:809) args: fda, val: None [2009-11-16 12:24:48 5366] DEBUG (image:809) args: fdb, val: None [2009-11-16 12:24:48 5366] DEBUG (image:809) args: soundhw, val: None [2009-11-16 12:24:48 5366] DEBUG (image:809) args: localtime, val: 1 [2009-11-16 12:24:48 5366] DEBUG (image:809) args: serial, val: [''pty''] [2009-11-16 12:24:48 5366] DEBUG (image:809) args: std-vga, val: 0 [2009-11-16 12:24:48 5366] DEBUG (image:809) args: isa, val: 0 [2009-11-16 12:24:48 5366] DEBUG (image:809) args: acpi, val: 1 [2009-11-16 12:24:48 5366] DEBUG (image:809) args: usb, val: 0 [2009-11-16 12:24:48 5366] DEBUG (image:809) args: usbdevice, val: tablet [2009-11-16 12:24:48 5366] INFO (image:745) Need to create platform device.[domid:3] [2009-11-16 12:24:48 5366] DEBUG (XendCheckpoint:261) restore:shadow=0xe, _static_max=0x60000000, _static_min=0x0, [2009-11-16 12:24:48 5366] DEBUG (balloon:166) Balloon: 25821280 KiB free; need 1591296; done. [2009-11-16 12:24:48 5366] DEBUG (XendCheckpoint:278) [xc_restore]: /usr/lib64/xen/bin/xc_restore 16 3 3 4 1 1 1 [2009-11-16 12:24:48 5366] INFO (XendCheckpoint:417) xc_domain_restore start: p2m_size = 100000 [2009-11-16 12:24:48 5366] INFO (XendCheckpoint:417) Reloading memory pages: 0% [2009-11-16 12:25:03 5366] INFO (XendCheckpoint:417) Failed allocation for dom 3: 12 extents of order 0 [2009-11-16 12:25:03 5366] INFO (XendCheckpoint:417) ERROR Internal error: Failed to allocate memory for batch.! [2009-11-16 12:25:03 5366] INFO (XendCheckpoint:417) [2009-11-16 12:25:03 5366] INFO (XendCheckpoint:417) Restore exit with rc=1 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:2724) XendDomainInfo.destroy: domid=3 [2009-11-16 12:25:03 5366] ERROR (XendDomainInfo:2738) XendDomainInfo.destroy: domain destruction failed. Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2731, in destroy xc.domain_pause(self.domid) Error: (3, ''No such process'') [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:2204) No device model [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:2206) Releasing devices [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:2219) Removing vif/0 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:2219) Removing vbd/768 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:2219) Removing vbd/5632 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:2219) Removing vfb/0 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:2219) Removing console/0 [2009-11-16 12:25:03 5366] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 [2009-11-16 12:25:03 5366] ERROR (XendDomain:1149) Restore failed Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 1147, in domain_restore_fd return XendCheckpoint.restore(self, fd, paused=paused, relocating=relocating) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 282, in restore forkHelper(cmd, fd, handler.handler, True) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 405, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_restore 16 3 3 4 1 1 1 failed Regards --- Miguel _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2009-Nov-16 11:48 UTC
RE: [Xen-users] Windows PV driver live-migration support
> Live migrating still doesn''t work for me with the driver 0.10.0.138for> a 32 bits win2003 vm. These are the contents for each xend.log file, > > migrating host:What about just a save and restore? That''s all I''m able to test unfortunately, so if that works for you but live migration doesn''t then at least I''ll know what problem I''m chasing. Thanks James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Miguel Sanchez
2009-Nov-16 12:14 UTC
Re: [Xen-users] Windows PV driver live-migration support
James Harper escribió:>> Live migrating still doesn''t work for me with the driver 0.10.0.138 >> > for > >> a 32 bits win2003 vm. These are the contents for each xend.log file, >> >> migrating host: >> > > What about just a save and restore? That''s all I''m able to test > unfortunately, so if that works for you but live migration doesn''t then > at least I''ll know what problem I''m chasing. > > Thanks > > James > > _______________________________________________ > Xen-users mailing list > Xen-users@lists.xensource.com > http://lists.xensource.com/xen-users >No, it doesn''t work likewise. Here you have the result, # xm restore /tmp/lisa.sav Error: /usr/lib64/xen/bin/xc_restore 52 12 3 4 1 1 1 failed Usage: xm restore <CheckpointFile> [-p] Restore a domain from a saved state. -p, --paused Do not unpause domain after restoring it xend.log: [2009-11-16 13:08:47 5406] DEBUG (XendDomainInfo:226) XendDomainInfo.restore([''domain'', [''domid'', ''11''], [''on_crash'', ''restart''], [''uuid'', ''ce96b99b-a571-a694-7e12-73e664d47419''], [''bo otloader_args''], [''vcpus'', ''2''], [''name'', ''lisa''], [''on_poweroff'', ''destroy''], [''on_reboot'', ''restart''], [''cpus'', [[''1'', ''2'', ''3'', ''4'', ''5'', ''6'', ''7''], [''1'', ''2'', ''3'', ''4'', ''5'', ''6'', '' 7'']]], [''bootloader''], [''maxmem'', ''1536''], [''memory'', ''1536''], [''shadow_memory'', ''14''], [''vcpu_avail'', ''3''], [''features''], [''on_xend_start'', ''ignore''], [''on_xend_stop'', ''ignore''], [''st art_time'', ''1258372068.96''], [''cpu_time'', ''40.343097028''], [''online_vcpus'', ''2''], [''image'', [''hvm'', [''kernel''], [''videoram'', ''4''], [''hpet'', ''0''], [''stdvga'', ''0''], [''loader'', ''/usr/lib/ xen/boot/hvmloader''], [''vncconsole'', ''0''], [''serial'', ''pty''], [''vncunused'', ''1''], [''xen_platform_pci'', ''1''], [''boot'', ''dc''], [''rtc_timeoffset'', ''2''], [''pci'', []], [''pae'', ''1''], [''vpt_a lign'', ''1''], [''hap'', ''1''], [''viridian'', ''0''], [''acpi'', ''1''], [''localtime'', ''1''], [''timer_mode'', ''1''], [''vnc'', ''1''], [''nographic'', ''0''], [''guest_os_type'', ''default''], [''pci_msitranslate '', ''1''], [''apic'', ''1''], [''sdl'', ''0''], [''monitor'', ''0''], [''usbdevice'', ''tablet''], [''device_model'', ''/usr/lib64/xen/bin/qemu-dm''], [''keymap'', ''es''], [''pci_power_mgmt'', ''0''], [''usb'', ''0''] , [''xauthority'', ''/root/.Xauthority''], [''isa'', ''0''], [''display'', ''localhost:10.0''], [''notes'', [''SUSPEND_CANCEL'', ''1'']]]], [''status'', ''2''], [''state'', ''-b----''], [''store_mfn'', ''1044476''] , [''device'', [''vif'', [''bridge'', ''eth0''], [''uuid'', ''ef4d0a37-142d-1684-ebb6-6123acfe2956''], [''script'', ''/etc/xen/scripts/vif-bridge''], [''mac'', ''00:06:5B:13:71:A3''], [''type'', ''netfront''] , [''backend'', ''0'']]], [''device'', [''vbd'', [''uuid'', ''80285f49-9ca5-402d-b46e-ac4a4f44e31d''], [''bootable'', ''1''], [''dev'', ''hda:disk''], [''uname'', ''phy:vgvirt/vmlisa''], [''mode'', ''w''], [''back end'', ''0''], [''bootable'', ''1''], [''VDI'']]], [''device'', [''vbd'', [''uuid'', ''bbb6709a-03dc-253f-fc43-b857358df299''], [''bootable'', ''0''], [''dev'', ''hdc:cdrom''], [''mode'', ''r''], [''backend'', ''0''], [''bootable'', ''0''], [''VDI'']]], [''device'', [''vfb'', [''vncunused'', ''1''], [''vnc'', ''1''], [''uuid'', ''64219645-8f96-3c07-24fa-7106d021bc14''], [''location'', ''127.0.0.1:5900'']]], [''device'', [''con sole'', [''protocol'', ''vt100''], [''location'', ''4''], [''uuid'', ''38204f3d-dcfb-e291-54ff-adb04127f919'']]]]) [2009-11-16 13:08:47 5406] DEBUG (XendDomainInfo:2296) XendDomainInfo.constructDomain [2009-11-16 13:08:47 5406] DEBUG (balloon:166) Balloon: 30016736 KiB free; need 4096; done. [2009-11-16 13:08:47 5406] DEBUG (XendDomain:452) Adding Domain: 12 [2009-11-16 13:08:47 5406] DEBUG (XendDomainInfo:3052) Storing VM details: {''on_xend_stop'': ''ignore'', ''shadow_memory'': ''14'', ''uuid'': ''ce96b99b-a571-a694-7e12-73e664d47419'', ''on_reboot'' : ''restart'', ''start_time'': ''1258372068.96'', ''on_poweroff'': ''destroy'', ''bootloader_args'': '''', ''on_xend_start'': ''ignore'', ''on_crash'': ''restart'', ''xend/restart_count'': ''0'', ''vcpus'': ''2'', ''vcpu_avail'': ''3'', ''bootloader'': '''', ''image'': ''(hvm (kernel ) (videoram 4) (hpet 0) (stdvga 0) (loader /usr/lib/xen/boot/hvmloader) (vncconsole 0) (serial pty) (vncunused 1) (xen_platf orm_pci 1) (boot dc) (rtc_timeoffset 2) (pci ()) (pae 1) (vpt_align 1) (hap 1) (viridian 0) (acpi 1) (localtime 1) (timer_mode 1) (vnc 1) (nographic 0) (guest_os_type default) (pci_msi translate 1) (apic 1) (sdl 0) (monitor 0) (usbdevice tablet) (device_model /usr/lib64/xen/bin/qemu-dm) (keymap es) (pci_power_mgmt 0) (usb 0) (xauthority /root/.Xauthority) (isa 0) (di splay localhost:10.0) (notes (SUSPEND_CANCEL 1)))'', ''name'': ''lisa''} [2009-11-16 13:08:47 5406] INFO (XendDomainInfo:2160) createDevice: vfb : {''vncunused'': ''1'', ''other_config'': {''vncunused'': ''1'', ''vnc'': ''1''}, ''vnc'': ''1'', ''uuid'': ''64219645-8f96-3c07-24f a-7106d021bc14'', ''location'': ''127.0.0.1:5900''} [2009-11-16 13:08:47 5406] DEBUG (DevController:95) DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/vfb/12/0''} to /local/domain/12/device/v fb/0. [2009-11-16 13:08:47 5406] DEBUG (DevController:97) DevController: writing {''vncunused'': ''1'', ''domain'': ''lisa'', ''frontend'': ''/local/domain/12/device/vfb/0'', ''uuid'': ''64219645-8f96-3c07 -24fa-7106d021bc14'', ''frontend-id'': ''12'', ''state'': ''1'', ''location'': ''127.0.0.1:5900'', ''online'': ''1'', ''vnc'': ''1''} to /local/domain/0/backend/vfb/12/0. [2009-11-16 13:08:47 5406] INFO (XendDomainInfo:2160) createDevice: console : {''protocol'': ''vt100'', ''location'': ''4'', ''uuid'': ''38204f3d-dcfb-e291-54ff-adb04127f919''} [2009-11-16 13:08:47 5406] DEBUG (DevController:95) DevController: writing {''state'': ''1'', ''backend-id'': ''0'', ''backend'': ''/local/domain/0/backend/console/12/0''} to /local/domain/12/devi ce/console/0. [2009-11-16 13:08:47 5406] DEBUG (DevController:97) DevController: writing {''domain'': ''lisa'', ''frontend'': ''/local/domain/12/device/console/0'', ''uuid'': ''38204f3d-dcfb-e291-54ff-adb04127 f919'', ''frontend-id'': ''12'', ''state'': ''1'', ''location'': ''4'', ''online'': ''1'', ''protocol'': ''vt100''} to /local/domain/0/backend/console/12/0. [2009-11-16 13:08:47 5406] INFO (XendDomainInfo:2160) createDevice: vbd : {''uuid'': ''80285f49-9ca5-402d-b46e-ac4a4f44e31d'', ''bootable'': ''1'', ''driver'': ''paravirtualised'', ''dev'': ''hda:dis k'', ''uname'': ''phy:vgvirt/vmlisa'', ''mode'': ''w'', ''backend'': ''0''} [2009-11-16 13:08:47 5406] DEBUG (DevController:95) DevController: writing {''backend-id'': ''0'', ''virtual-device'': ''768'', ''device-type'': ''disk'', ''state'': ''1'', ''backend'': ''/local/domain/0 /backend/vbd/12/768''} to /local/domain/12/device/vbd/768. [2009-11-16 13:08:47 5406] DEBUG (DevController:97) DevController: writing {''domain'': ''lisa'', ''frontend'': ''/local/domain/12/device/vbd/768'', ''uuid'': ''80285f49-9ca5-402d-b46e-ac4a4f44e3 1d'', ''bootable'': ''1'', ''dev'': ''hda'', ''state'': ''1'', ''params'': ''vgvirt/vmlisa'', ''mode'': ''w'', ''online'': ''1'', ''frontend-id'': ''12'', ''type'': ''phy''} to /local/domain/0/backend/vbd/12/768. om'', ''mode'': ''r'', ''backend'': ''0''} /0/backend/vbd/12/5632''} to /local/domain/12/device/vbd/5632. 299'', ''bootable'': ''0'', ''dev'': ''hdc'', ''state'': ''1'', ''params'': '''', ''mode'': ''r'', ''online'': ''1'', ''frontend-id'': ''12'', ''type'': ''''} to /local/domain/0/backend/vbd/12/5632. ac'': ''00:06:5B:13:71:A3'', ''type'': ''netfront'', ''backend'': ''0''} end/vif/12/0''} to /local/domain/12/device/vif/0. /domain/0/backend/vif/12/0. '': ''ioemu'', ''cpu/1/availability'': ''online'', ''store/port'': ''3''} [2009-11-16 13:08:48 5406] INFO (XendCheckpoint:243) restore hvm domain 12, apic=1, pae=1 [2009-11-16 13:08:48 5406] DEBUG (image:322) No VNC passwd configured for vfb access [2009-11-16 13:08:48 5406] DEBUG (image:809) args: boot, val: dc [2009-11-16 13:08:48 5406] DEBUG (image:809) args: fda, val: None [2009-11-16 13:08:48 5406] DEBUG (image:809) args: fdb, val: None [2009-11-16 13:08:48 5406] DEBUG (image:809) args: soundhw, val: None [2009-11-16 13:08:48 5406] DEBUG (image:809) args: localtime, val: 1 [2009-11-16 13:08:48 5406] DEBUG (image:809) args: serial, val: [''pty''] [2009-11-16 13:08:48 5406] DEBUG (image:809) args: std-vga, val: 0 [2009-11-16 13:08:48 5406] DEBUG (image:809) args: isa, val: 0 [2009-11-16 13:08:48 5406] DEBUG (image:809) args: acpi, val: 1 [2009-11-16 13:08:48 5406] DEBUG (image:809) args: usb, val: 0 [2009-11-16 13:08:48 5406] DEBUG (image:809) args: usbdevice, val: tablet [2009-11-16 13:08:48 5406] INFO (image:745) Need to create platform device.[domid:12] [2009-11-16 13:08:48 5406] DEBUG (XendCheckpoint:261) restore:shadow=0xe, _static_max=0x60000000, _static_min=0x0, [2009-11-16 13:08:48 5406] DEBUG (balloon:166) Balloon: 30015304 KiB free; need 1591296; done. [2009-11-16 13:08:48 5406] DEBUG (XendCheckpoint:278) [xc_restore]: /usr/lib64/xen/bin/xc_restore 52 12 3 4 1 1 1 [2009-11-16 13:08:48 5406] INFO (XendCheckpoint:417) xc_domain_restore start: p2m_size = 100000 [2009-11-16 13:08:48 5406] INFO (XendCheckpoint:417) Reloading memory pages: 0% [2009-11-16 13:09:01 5406] INFO (XendCheckpoint:417) Failed allocation for dom 12: 33 extents of order 0 [2009-11-16 13:09:01 5406] INFO (XendCheckpoint:417) ERROR Internal error: Failed to allocate memory for batch.! [2009-11-16 13:09:01 5406] INFO (XendCheckpoint:417) [2009-11-16 13:09:01 5406] INFO (XendCheckpoint:417) Restore exit with rc=1 [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2724) XendDomainInfo.destroy: domid=12 [2009-11-16 13:09:01 5406] ERROR (XendDomainInfo:2738) XendDomainInfo.destroy: domain destruction failed. Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomainInfo.py", line 2731, in destroy xc.domain_pause(self.domid) Error: (3, ''No such process'') [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2204) No device model [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2206) Releasing devices [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2219) Removing vif/0 [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vif, device = vif/0 [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2219) Removing vbd/768 [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/768 [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2219) Removing vbd/5632 [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vbd, device = vbd/5632 [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:2219) Removing vfb/0 [2009-11-16 13:09:01 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = vfb, device = vfb/0 [2009-11-16 13:09:02 5406] DEBUG (XendDomainInfo:2219) Removing console/0 [2009-11-16 13:09:02 5406] DEBUG (XendDomainInfo:1134) XendDomainInfo.destroyDevice: deviceClass = console, device = console/0 [2009-11-16 13:09:02 5406] ERROR (XendDomain:1149) Restore failed Traceback (most recent call last): File "/usr/lib64/python2.4/site-packages/xen/xend/XendDomain.py", line 1147, in domain_restore_fd return XendCheckpoint.restore(self, fd, paused=paused, relocating=relocating) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 282, in restore forkHelper(cmd, fd, handler.handler, True) File "/usr/lib64/python2.4/site-packages/xen/xend/XendCheckpoint.py", line 405, in forkHelper raise XendError("%s failed" % string.join(cmd)) XendError: /usr/lib64/xen/bin/xc_restore 52 12 3 4 1 1 1 failed -- -------------------------------------------------------------------- Administrador de Sistemas Centro de Cálculo e-mail: ntadmin [en] fi.upm.es Facultad de Informática Universidad Politécnica de Madrid -------------------------------------------------------------------- _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Robert Dunkley
2009-Nov-17 14:01 UTC
RE: [Xen-users] Windows PV driver live-migration support
No luck for me either, live migration is broken with 10.0.0.138 on my config. Migration does complete as far as Xen is concerned but Windows sits there without even ping for about 2 minutes, eventually ping returns but still cannot connect on RDP and the console just shows the desktop wallpaper and nothing else (No Error or BSOD). My Config: Dom 0: Centos 5.2 Xen 3.31 Dom U: 2 NICs 2 Hard Disks Server 2003 SP2 I386 Does anyone know what might cause this behaviour? No software at all is installed on Windows, only SP2, updates and the 10.0.0.138 drivers. Thanks, Rob -----Original Message----- From: xen-users-bounces@lists.xensource.com [mailto:xen-users-bounces@lists.xensource.com] On Behalf Of James Harper Sent: 16 November 2009 11:49 To: Miguel Sanchez Cc: xen-users@lists.xensource.com Subject: RE: [Xen-users] Windows PV driver live-migration support> Live migrating still doesn''t work for me with the driver 0.10.0.138for> a 32 bits win2003 vm. These are the contents for each xend.log file, > > migrating host:What about just a save and restore? That''s all I''m able to test unfortunately, so if that works for you but live migration doesn''t then at least I''ll know what problem I''m chasing. Thanks James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users The SAQ Group Registered Office: 18 Chapel Street, Petersfield, Hampshire GU32 3DZ SAQ is the trading name of SEMTEC Limited. Registered in England & Wales Company Number: 06481952 http://www.saqnet.co.uk AS29219 SAQ Group Delivers high quality, honestly priced communication and I.T. services to UK Business. Broadband : Domains : Email : Hosting : CoLo : Servers : Racks : Transit : Backups : Managed Networks : Remote Support. ISPA Member _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Keith Coleman
2009-Nov-17 22:09 UTC
Re: [Xen-users] Windows PV driver live-migration support
On Tue, Nov 17, 2009 at 9:01 AM, Robert Dunkley <Robert@saq.co.uk> wrote:> No luck for me either, live migration is broken with 10.0.0.138 on my > config. Migration does complete as far as Xen is concerned but Windows > sits there without even ping for about 2 minutes, eventually ping > returns but still cannot connect on RDP and the console just shows the > desktop wallpaper and nothing else (No Error or BSOD). > > My Config: > Dom 0: > Centos 5.2 > Xen 3.31 > > Dom U: > 2 NICs > 2 Hard Disks > Server 2003 SP2 I386 > > Does anyone know what might cause this behaviour? No software at all is > installed on Windows, only SP2, updates and the 10.0.0.138 drivers. >Pings are probably working the entire time but your network gear is slow to learn about the move. I suspect disk access is blocked which causes your RDP and console symptoms. Keith Coleman _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Harper
2009-Nov-18 22:24 UTC
RE: [Xen-users] Windows PV driver live-migration support
> > No luck for me either, live migration is broken with 10.0.0.138 on my > config. Migration does complete as far as Xen is concerned but Windows > sits there without even ping for about 2 minutes, eventually ping > returns but still cannot connect on RDP and the console just shows the > desktop wallpaper and nothing else (No Error or BSOD). > > My Config: > Dom 0: > Centos 5.2 > Xen 3.31 > > Dom U: > 2 NICs > 2 Hard Disks > Server 2003 SP2 I386 > > Does anyone know what might cause this behaviour? No software at allis> installed on Windows, only SP2, updates and the 10.0.0.138 drivers. >I have done several live migrations now with Xen 3.4.2 and GPLPV .138. Someone was having problems with migration with 3.4.1 and the issues were resolved under 3.4.2... James _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users