Xen Project Q&A Forum: First Line Help for Simple Questions

This is your chance to ask questions and provide answers about basic use of the Xen Project software. For debugging problems and for more complex issues, consider using the xen-users mailing list instead. You can find information about xen-users under "HELP | Mailing Lists" in the navigation bar above.

Issue

how to migrate pv guest from Xen 4.1.4 -> 4.3.2

posted in Hypervisor
Wednesday, April 09 2014, 11:55 PM
CyrusTam
CyrusTam
Offline
0
Hi All,

I have a Fedora 17 running Xen 4.1.4-4 and 5 PV Fedora17 domainU, it is running fine,

# xl info
host : xen01
release : 3.3.4-5.fc17.x86_64
version : #1 SMP Mon May 7 17:29:34 UTC 2012
machine : x86_64
nr_cpus : 12
nr_nodes : 1
cores_per_socket : 6
threads_per_core : 2
cpu_mhz : 2000
hw_caps : bfebfbff:2c100800:00000000:00003f40:13bee3ff:00000000:00000001:00000000
virt_caps : hvm hvm_directio
total_memory : 24498
free_memory : 4150
free_cpus : 0
xen_major : 4
xen_minor : 1
xen_extra : .4
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset : unavailable
xen_commandline : placeholder dom0_max_vcpus=4 dom0_vcpus_pin
cc_compiler : gcc version 4.7.2 20120921 (Red Hat 4.7.2-2) (GCC)
cc_compile_by : mockbuild
cc_compile_domain : [unknown]
cc_compile_date : Wed Feb 6 21:24:13 UTC 2013
xend_config_format : 4


I have a new machine with more memory and cpu
I installed Fedora 20 with Xen 4.3.2-1, domainU running PV Fedora20 without any problem.

# xl info
host : xen02
release : 3.11.10-301.fc20.x86_64
version : #1 SMP Thu Dec 5 14:01:17 UTC 2013
machine : x86_64
nr_cpus : 32
max_cpu_id : 63
nr_nodes : 2
cores_per_socket : 8
threads_per_core : 2
cpu_mhz : 2194
hw_caps : bfebfbff:2c100800:00000000:00003f00:17bee3ff:00000000:00000001:00000000
virt_caps : hvm hvm_directio
total_memory : 98269
free_memory : 5486
sharing_freed_memory : 0
sharing_used_memory : 0
outstanding_claims : 0
free_cpus : 0
xen_major : 4
xen_minor : 3
xen_extra : .2
xen_caps : xen-3.0-x86_64 xen-3.0-x86_32p hvm-3.0-x86_32 hvm-3.0-x86_32p hvm-3.0-x86_64
xen_scheduler : credit
xen_pagesize : 4096
platform_params : virt_start=0xffff800000000000
xen_changeset :
xen_commandline : placeholder dom0_max_vcpus=6 dom0_vcpus_pin
cc_compiler : gcc (GCC) 4.8.2 20131212 (Red Hat 4.8.2-7)
cc_compile_by : mockbuild
cc_compile_domain : [unknown]
cc_compile_date : Tue Feb 18 21:00:14 UTC 2014
xend_config_format : 4


now I want to migrate these five PV FC17 to new machine,

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"
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
Parsing config from fc17.cfg
Daemon running with PID 4778
#



# 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



am i missing something??

Thanks

Cyrus
Responses (1)
  • Accepted Answer

    Thursday, April 10 2014, 02:11 PM - #permalink
    0
    Greetings CyrusTam,

    Given that this is likely to take a little back-and-forth conversation to debug, I suggest taking this to the xen-users mailing list. There are more people there who are capable of helping you step through the debugging of this situation.

    You can find more information about accessing xen-users here:

    http://xenproject.org/mailing-list.html

    Russ
    The reply is currently minimized Show
Your Reply