LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices


Reply
  Search this Thread
Old 04-09-2014, 08:09 AM   #1
cyrustam
LQ Newbie
 
Registered: Mar 2014
Posts: 1

Rep: Reputation: Disabled
Migrate Xen 4.1.4 guest to Xen 4.3.2


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
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Learning Xen: Converting Existing Non-Xen Hypervisor Images for Use in Xen LXer Syndicated Linux News 0 08-24-2013 10:00 AM
xen migrate error linux obsessed Linux - Virtualization and Cloud 1 03-03-2012 10:53 AM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 11-05-2006 12:21 PM
LXer: Managing Xen With Xen-Tools, Xen-Shell, And Argo LXer Syndicated Linux News 0 10-21-2006 11:33 PM
How to run RHEL 4 as guest in Xen(SLES 10 XEN) darshanbv Linux - Software 1 06-26-2006 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud

All times are GMT -5. The time now is 11:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration