I have a basic XCP system installed, with local storage. I am trying to migrate a VMWare image created in VMWare Server 2. I''ve converted the disk to .img, which is on an external USB EXT4 formatted HDD, connected to the XCP server. I am trying to follow the instructions here http://forums.citrix.com/thread.jspa?threadID=151210&tstart=0 * Import img file o xe vm-import -s "xen_pool_ master" -u root -p "root_pass" filename="raw_image.img" sr-uuid="SR-UUID from above" (this will take a while to complete) I''m guessing I need to mount the USB HDD in the XCP CLI, and found the hard way no EXT4, so reformatting the USB drive, recopying the VMDK, reconverting to .img.... Could anyone get me on track? Also, how do I find where exactly the virtual disks are stored within the XCP filesystem? Thanks, Erich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Troup
2010-Feb-26 06:43 UTC
Re: [Xen-users] XCP - Need help with VMWare to XCP migration
This might help you http://www.citrix.com/English/ss/downloads/details.asp?downloadId=1862307&productId=683148 ----- Original Message ----- From: "Erich" <soundy@gmail.com> To: xen-users@lists.xensource.com Sent: Friday, 26 February, 2010 5:02:49 PM Subject: [Xen-users] XCP - Need help with VMWare to XCP migration I have a basic XCP system installed, with local storage. I am trying to migrate a VMWare image created in VMWare Server 2. I''ve converted the disk to .img, which is on an external USB EXT4 formatted HDD, connected to the XCP server. I am trying to follow the instructions here http://forums.citrix.com/thread.jspa?threadID=151210&tstart=0 * Import img file o xe vm-import -s "xen_pool_ master" -u root -p "root_pass" filename="raw_image.img" sr-uuid="SR-UUID from above" (this will take a while to complete) I''m guessing I need to mount the USB HDD in the XCP CLI, and found the hard way no EXT4, so reformatting the USB drive, recopying the VMDK, reconverting to .img.... Could anyone get me on track? Also, how do I find where exactly the virtual disks are stored within the XCP filesystem? Thanks, Erich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Troup
2010-Feb-27 02:56 UTC
Re: [Xen-users] XCP - Need help with VMWare to XCP migration
No it works perfectly with XCP. Try using the IP address of the XCP server. You need to use the root / administration password for the XCP box ----- Original Message ----- From: "Erich" <soundy@gmail.com> To: "James Troup" <james@linuxterminal.com> Sent: Saturday, 27 February, 2010 12:35:55 PM Subject: Re: [Xen-users] XCP - Need help with VMWare to XCP migration It requires a login to the "XenServer", which is failing. I suspect this tool is for XenServer, not XCP On Fri, Feb 26, 2010 at 1:43 AM, James Troup < james@linuxterminal.com > wrote: This might help you http://www.citrix.com/English/ss/downloads/details.asp?downloadId=1862307&productId=683148 ----- Original Message ----- From: "Erich" < soundy@gmail.com > To: xen-users@lists.xensource.com Sent: Friday, 26 February, 2010 5:02:49 PM Subject: [Xen-users] XCP - Need help with VMWare to XCP migration I have a basic XCP system installed, with local storage. I am trying to migrate a VMWare image created in VMWare Server 2. I''ve converted the disk to .img, which is on an external USB EXT4 formatted HDD, connected to the XCP server. I am trying to follow the instructions here http://forums.citrix.com/thread.jspa?threadID=151210&tstart=0 * Import img file o xe vm-import -s "xen_pool_ master" -u root -p "root_pass" filename="raw_image.img" sr-uuid="SR-UUID from above" (this will take a while to complete) I''m guessing I need to mount the USB HDD in the XCP CLI, and found the hard way no EXT4, so reformatting the USB drive, recopying the VMDK, reconverting to .img.... Could anyone get me on track? Also, how do I find where exactly the virtual disks are stored within the XCP filesystem? Thanks, Erich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
James Troup
2010-Feb-27 03:30 UTC
Re: [Xen-users] XCP - Need help with VMWare to XCP migration
XenConvert is really directed towards P2V of windows boxes onto XenServer / XCP. XenConvert really does some magic to fully clone a running windows box: creates a live mirror of the OS, takes care of the HAL and Hard Disk Controller obstacles and fixes your registry to run on Xen, then imports it for you. It might help you to know that experience teaches that the "most successful" way of migrating, was to create an xvda image, put it on a usb disk, then use the xe vm-import command on the XCP box. However, I did successfully, V2V my W2K3 server directly from Virtualbox to XCP using XenConvert 2.1. I just started up XenConvert inside my VirtualBox W2K3 VM and pointed it at my XCP server, and set it to work. It is when you get a failed import that the fun begins. You really need to clean up after a failure before trying again. Otherwise you will end up going nowhere with import failure after failure. Use xe to remove the VM instance and associated VDIs. Be aware, depending on your network speed and the size of your data, it can take several hours. ----- Original Message ----- From: "Erich" <soundy@gmail.com> To: "James Troup" <james@linuxterminal.com> Sent: Saturday, 27 February, 2010 12:35:55 PM Subject: Re: [Xen-users] XCP - Need help with VMWare to XCP migration It requires a login to the "XenServer", which is failing. I suspect this tool is for XenServer, not XCP On Fri, Feb 26, 2010 at 1:43 AM, James Troup < james@linuxterminal.com > wrote: This might help you http://www.citrix.com/English/ss/downloads/details.asp?downloadId=1862307&productId=683148 ----- Original Message ----- From: "Erich" < soundy@gmail.com > To: xen-users@lists.xensource.com Sent: Friday, 26 February, 2010 5:02:49 PM Subject: [Xen-users] XCP - Need help with VMWare to XCP migration I have a basic XCP system installed, with local storage. I am trying to migrate a VMWare image created in VMWare Server 2. I''ve converted the disk to .img, which is on an external USB EXT4 formatted HDD, connected to the XCP server. I am trying to follow the instructions here http://forums.citrix.com/thread.jspa?threadID=151210&tstart=0 * Import img file o xe vm-import -s "xen_pool_ master" -u root -p "root_pass" filename="raw_image.img" sr-uuid="SR-UUID from above" (this will take a while to complete) I''m guessing I need to mount the USB HDD in the XCP CLI, and found the hard way no EXT4, so reformatting the USB drive, recopying the VMDK, reconverting to .img.... Could anyone get me on track? Also, how do I find where exactly the virtual disks are stored within the XCP filesystem? Thanks, Erich _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users _______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
Ok, I just decided to try XenServer instead of XCP. I''m reconverting the VMWare image. Does the VMDK> VHD conversion process in XenConvert also import the disk into XenServer, or is that a manual process? I specified a local workspace for the image - should this be a remote address on the XenServer? I do understand that I''ll probably have to roll up my sleeves and learn some CLI. Thanks for the help. On Fri, Feb 26, 2010 at 10:30 PM, James Troup <james@linuxterminal.com>wrote:> XenConvert is really directed towards P2V of windows boxes onto XenServer > / XCP. > > XenConvert really does some magic to fully clone a running windows box: > creates a live mirror of the OS, takes care of the HAL and Hard Disk > Controller obstacles and fixes your registry to run on Xen, then imports it > for you. > > It might help you to know that experience teaches that the "most > successful" way of migrating, was to create an xvda image, > put it on a usb disk, then use the xe vm-import command on the XCP box. > > > However, I did successfully, V2V my W2K3 server directly from Virtualbox to > XCP using XenConvert 2.1. > I just started up XenConvert inside my VirtualBox W2K3 VM and pointed it at > my XCP server, and set it to work. > > It is when you get a failed import that the fun begins. You really need to > clean up after a failure before trying again. > Otherwise you will end up going nowhere with import failure after failure. > > Use xe to remove the VM instance and associated VDIs. > > Be aware, depending on your network speed and the size of your data, it can > take several hours. > > > > ----- Original Message ----- > From: "Erich" <soundy@gmail.com> > To: "James Troup" <james@linuxterminal.com> > Sent: Saturday, 27 February, 2010 12:35:55 PM > Subject: Re: [Xen-users] XCP - Need help with VMWare to XCP migration > > It requires a login to the "XenServer", which is failing. I suspect this > tool is for XenServer, not XCP > > On Fri, Feb 26, 2010 at 1:43 AM, James Troup <james@linuxterminal.com>wrote: > >> This might help you >> >> >> http://www.citrix.com/English/ss/downloads/details.asp?downloadId=1862307&productId=683148 >> >> >> ----- Original Message ----- >> From: "Erich" <soundy@gmail.com> >> To: xen-users@lists.xensource.com >> Sent: Friday, 26 February, 2010 5:02:49 PM >> Subject: [Xen-users] XCP - Need help with VMWare to XCP migration >> >> I have a basic XCP system installed, with local storage. I am trying to >> migrate a VMWare image created in VMWare Server 2. I''ve converted the disk >> to .img, which is on an external USB EXT4 formatted HDD, connected to the >> XCP server. I am trying to follow the instructions here >> http://forums.citrix.com/thread.jspa?threadID=151210&tstart=0 >> >> * Import img file >> o xe vm-import -s "xen_pool_ >> master" -u root -p "root_pass" filename="raw_image.img" sr-uuid="SR-UUID >> from above" (this will take a while to complete) >> >> I''m guessing I need to mount the USB HDD in the XCP CLI, and found the >> hard way no EXT4, so reformatting the USB drive, recopying the VMDK, >> reconverting to .img.... >> >> Could anyone get me on track? >> >> Also, how do I find where exactly the virtual disks are stored within the >> XCP filesystem? >> >> Thanks, >> >> Erich >> >> _______________________________________________ >> Xen-users mailing list >> Xen-users@lists.xensource.com >> http://lists.xensource.com/xen-users >> > >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users
I restarted the conversion, and I think I see the answers to my questions, for now at least. Thanks for the help. On Fri, Feb 26, 2010 at 11:04 PM, Erich <soundy@gmail.com> wrote:> Ok, I just decided to try XenServer instead of XCP. I''m reconverting the > VMWare image. Does the VMDK> VHD conversion process in XenConvert also > import the disk into XenServer, or is that a manual process? I specified a > local workspace for the image - should this be a remote address on the > XenServer? > > I do understand that I''ll probably have to roll up my sleeves and learn > some CLI. > > Thanks for the help. > > > On Fri, Feb 26, 2010 at 10:30 PM, James Troup <james@linuxterminal.com>wrote: > >> XenConvert is really directed towards P2V of windows boxes onto XenServer >> / XCP. >> >> XenConvert really does some magic to fully clone a running windows box: >> creates a live mirror of the OS, takes care of the HAL and Hard Disk >> Controller obstacles and fixes your registry to run on Xen, then imports it >> for you. >> >> It might help you to know that experience teaches that the "most >> successful" way of migrating, was to create an xvda image, >> put it on a usb disk, then use the xe vm-import command on the XCP box. >> >> >> However, I did successfully, V2V my W2K3 server directly from Virtualbox >> to XCP using XenConvert 2.1. >> I just started up XenConvert inside my VirtualBox W2K3 VM and pointed it >> at my XCP server, and set it to work. >> >> It is when you get a failed import that the fun begins. You really need to >> clean up after a failure before trying again. >> Otherwise you will end up going nowhere with import failure after failure. >> >> >> Use xe to remove the VM instance and associated VDIs. >> >> Be aware, depending on your network speed and the size of your data, it >> can take several hours. >> >> >> >> ----- Original Message ----- >> From: "Erich" <soundy@gmail.com> >> To: "James Troup" <james@linuxterminal.com> >> Sent: Saturday, 27 February, 2010 12:35:55 PM >> Subject: Re: [Xen-users] XCP - Need help with VMWare to XCP migration >> >> It requires a login to the "XenServer", which is failing. I suspect this >> tool is for XenServer, not XCP >> >> On Fri, Feb 26, 2010 at 1:43 AM, James Troup <james@linuxterminal.com>wrote: >> >>> This might help you >>> >>> >>> http://www.citrix.com/English/ss/downloads/details.asp?downloadId=1862307&productId=683148 >>> >>> >>> ----- Original Message ----- >>> From: "Erich" <soundy@gmail.com> >>> To: xen-users@lists.xensource.com >>> Sent: Friday, 26 February, 2010 5:02:49 PM >>> Subject: [Xen-users] XCP - Need help with VMWare to XCP migration >>> >>> I have a basic XCP system installed, with local storage. I am trying to >>> migrate a VMWare image created in VMWare Server 2. I''ve converted the disk >>> to .img, which is on an external USB EXT4 formatted HDD, connected to the >>> XCP server. I am trying to follow the instructions here >>> http://forums.citrix.com/thread.jspa?threadID=151210&tstart=0 >>> >>> * Import img file >>> o xe vm-import -s "xen_pool_ >>> master" -u root -p "root_pass" filename="raw_image.img" sr-uuid="SR-UUID >>> from above" (this will take a while to complete) >>> >>> I''m guessing I need to mount the USB HDD in the XCP CLI, and found the >>> hard way no EXT4, so reformatting the USB drive, recopying the VMDK, >>> reconverting to .img.... >>> >>> Could anyone get me on track? >>> >>> Also, how do I find where exactly the virtual disks are stored within the >>> XCP filesystem? >>> >>> Thanks, >>> >>> Erich >>> >>> _______________________________________________ >>> Xen-users mailing list >>> Xen-users@lists.xensource.com >>> http://lists.xensource.com/xen-users >>> >> >> >_______________________________________________ Xen-users mailing list Xen-users@lists.xensource.com http://lists.xensource.com/xen-users