[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] how to migrate pv guest from Xen 4.1.4 -> 4.3.2
solved by upgrade the kernel in FC17 PV domU rpm -iUvh kernel-3.9.10-100.fc17.x86_64.rpm thanks On Tue, Apr 15, 2014 at 4:47 PM, Cyrus Tam <cyrustam@xxxxxxxxx> wrote: > Hi Wei, > > thanks for your reply, > I changed the "on_crach=preserve" and xl create -c fc17.cfg > I can see the "pygrub" menu, after the timeout it hang, > then "xl list" > > #xl list > Name ID Mem VCPUs State > Time(s) > Domain-0 0 64859 6 r----- > 6441.8 > fc17 11 4096 1 ---sc- > 0.4 > > > # cat xl-fc17.log > Waiting for domain fc17 (domid 11) to die [pid 5420] > Domain 11 has shut down, reason code 3 0x3 > Action for shutdown reason code 3 is preserve > Done. Exiting now > > > > Then I tried "unpause" the domU during the pygrub menu > > #xl create -c fc17.cfg > > # xl list > Name ID Mem VCPUs State > Time(s) > fc17 12 0 0 --p--- > 0.0 > > I can see the pygrub menu, before the pygrun menu timeout, i run "xl > unpause fc17" > then the domU can boot up normally > > # xl list > Name ID Mem VCPUs State > Time(s) > Domain-0 0 64859 6 r----- > 6456.1 > fc17 12 4096 4 -b---- > 12.9 > > > > do you know what is the problem ? > > Thank you > Cyrus > > > > > > > On Mon, Apr 14, 2014 at 5:32 PM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote: >> [...] >>> >>> I using dd to dump the logical volume to new machine, and try to start the >>> domainU, but it crash repeatedly. >>> >>> # cat fc17.cfg >>> name = "fc17" >>> memory = 4096 >>> vcpus = 4 >>> bootloader = "pygrub" >>> localtime = 0 >>> on_poweroff = "destroy" >>> on_reboot = "restart" >>> on_crash = "restart" >> >> You can change on_crash to "preserved" to prevent it from restarting. >> >>> vfb = [ 'type=vnc,vncdisplay=6,vnclisten=0.0.0.0,vncpasswd=password' ] >>> vnc = 1 >>> vncunused = 0 >>> vncdisplay = 3 >>> disk = [ "phy:/dev/vg01/vg01_fc17,xvda,w" ] >>> vif = [ "bridge=xenbrdum,script=vif-bridge" ] >>> parallel = "none" >>> serial = "none" >>> >>> >>> >>> # xl create fc17.cfg >> >> ... and use 'xl create -c fc17.cfg' to connect to DomU to get some >> output. >> >>> Parsing config from fc17.cfg >>> Daemon running with PID 4778 >> >> Xen seems to be quite happy about this domain. So I guess this is >> something related to pygrub and guest kernel. Need to get more log. >> >>> # >>> >>> >>> >>> # xl vncviewer fc17 >>> fc17 is an invalid domain identifier (rc=-6) >>> >>> >>> # xl list >>> Name ID Mem VCPUs State Time(s) >>> Domain-0 0 81244 6 r----- 1857.5 >>> fc17 22 0 0 --p--- 0.0 >>> >>> # xl list >>> Name ID Mem VCPUs State Time(s) >>> Domain-0 0 81244 6 r----- 1859.7 >>> fc17 22 4096 1 --psc- 0.4 >>> >>> >>> # cat qemu-dm-fc17.log >>> domid: 5 >> >> I think this is a stale log file. It says domid 5 but 'xl list' says >> domid is 22. >> >> >> Wei. _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxx http://lists.xen.org/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |