+ Post New Thread
Results 1 to 12 of 12
Windows Server 2008 Thread, Citrix XenServer, Migrating Physical Server to Virtual in Technical; Hi, Has anyone on here migrated a physical server to a virtual one before? We've purchased a server more powerful ...
  1. #1

    Join Date
    Nov 2010
    Posts
    40
    Thank Post
    226
    Thanked 2 Times in 2 Posts
    Rep Power
    8

    Citrix XenServer, Migrating Physical Server to Virtual

    Hi,

    Has anyone on here migrated a physical server to a virtual one before?

    We've purchased a server more powerful than we actually need so we are planning on virtualising a couple of our physical servers into the one box.

    I have installed Citrix Xenserver on the new machine, and created a new VM via Citrix XenCenter. I have a full windows server backup of the physical server, which I am able to restore to the VM using windows restore, but then after restarting I am just getting the BSOD.

    I have run the system repair tools and done fixboot/mbr which doesn't resolve the issue.

    I am running Windows Server 2008r2 if that's any help.

    Appreciate an help given.

  2. #2
    IrritableTech's Avatar
    Join Date
    Nov 2007
    Location
    West Yorkshire
    Posts
    797
    Thank Post
    84
    Thanked 173 Times in 142 Posts
    Rep Power
    65
    I've successfully virtualised a 2003 server using xenconvert. It worked perfectly.

    You don't need to create a new machine on the xenserver, the xenconvert creates it for you. It was a really painless experience, only needing to assign IPs to the new nics detected by the VM OS.

    I haven't tried it with w2008 though.

  3. Thanks to IrritableTech from:

    Tech1 (31st May 2013)

  4. #3

    Join Date
    Nov 2010
    Posts
    40
    Thank Post
    226
    Thanked 2 Times in 2 Posts
    Rep Power
    8
    I tried XenConvert a couple of weeks ago, with great difficulty unfortunately. The current physical server is running out of space, and to perform the convert we needed the same amount of space available to create the VHD, (the server is nearly 500gb, so we would have needed another 500gb). I was able to do this to an external drive though.

    The process took around 40hours and in the end just failed, with an error list as long as a book.

  5. #4

    Join Date
    Nov 2010
    Posts
    40
    Thank Post
    226
    Thanked 2 Times in 2 Posts
    Rep Power
    8
    Right, yesterday, using a utility called disk2vhd from tech net, I converted the old server into a VHD file (it took 6 hours). Now, I come to import the VHD file into the new server via XenCenter, and I get the error message "unknown file type"! How can it be an unknown file type? It's looking for either an OVA/OVF Package or a VHD file, and it is a VHD file. Very confusing.

    ALso i've noticed that this thread should probably have been put in the Server 2008r2 forum.

  6. #5


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,637
    Thank Post
    275
    Thanked 777 Times in 604 Posts
    Rep Power
    223
    Quote Originally Posted by Tech1 View Post
    Right, yesterday, using a utility called disk2vhd from tech net, I converted the old server into a VHD file (it took 6 hours). Now, I come to import the VHD file into the new server via XenCenter, and I get the error message "unknown file type"! How can it be an unknown file type? It's looking for either an OVA/OVF Package or a VHD file, and it is a VHD file. Very confusing.

    ALso i've noticed that this thread should probably have been put in the Server 2008r2 forum.
    You're using the Disk Image Import routine, correct? (Select Xen host server in XenCenter, then Tools > Virtual Appliance Tools > Disk Image Import).

    That works for Vmware, Virtualbox and .wim (converted from all successfully), and apparently for VHD (not tried).

  7. #6

    Join Date
    Nov 2010
    Posts
    40
    Thank Post
    226
    Thanked 2 Times in 2 Posts
    Rep Power
    8
    Their doesn't appear to be an option for Virtual Appliance Tools within Tools. To try the import, I right clicked on the XenServer and click on Import. Pointed to the VHD I wanted to import and then thats when I get the error message "Unknown File Type"

  8. #7

    Join Date
    Nov 2010
    Posts
    40
    Thank Post
    226
    Thanked 2 Times in 2 Posts
    Rep Power
    8
    It looks like they removed your method in an older version of XenCenter. I am using version 6.1 if that's any help.

  9. #8


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    4,637
    Thank Post
    275
    Thanked 777 Times in 604 Posts
    Rep Power
    223
    Yeah, we're on 5.6 SP2.

    It looks like it was incorporated into XenServer Conversion Manager: XenServer Conversion Tools - Citrix

  10. #9

    Join Date
    Nov 2010
    Posts
    40
    Thank Post
    226
    Thanked 2 Times in 2 Posts
    Rep Power
    8
    I'm just using XenConvert 2.5 now to create a Citrix VHD to an external drive, which should hopefully do the trick. The only problem is the amount of time it takes to create the VHD.

  11. #10

    Join Date
    Nov 2010
    Posts
    40
    Thank Post
    226
    Thanked 2 Times in 2 Posts
    Rep Power
    8
    Quote Originally Posted by pete View Post
    Yeah, we're on 5.6 SP2.

    It looks like it was incorporated into XenServer Conversion Manager: XenServer Conversion Tools - Citrix
    Just out of interest, is their any reason why you haven't upgraded to 6.1?

    I'm just downloading 5.6 now, to see if that makes any difference. Now that I have used XenConvert to create a Citrix VHD, I no longer get the error message "Unknown File Type", so I do get a bit further in the import, and then it fails again.

    Checking the logs it says - "Failed to import virtual disk file, system.xml.xmlException:Root Element Is Missing"

  12. #11

    bossman's Avatar
    Join Date
    Nov 2005
    Location
    England
    Posts
    3,912
    Thank Post
    1,188
    Thanked 1,062 Times in 753 Posts
    Rep Power
    329
    @Tech1:

    Install version 6.0.2 not 6.1.0 as the latest version has a few bugs which are slowly getting ironed out.

    Once you have it installed use XenServer conversion tool on the windows box and run through the wizard, I always use an intermediatary file storage which is on the network such as a NAS box or even a computer with enough space to create the files.

    Just let the convert tool do its job and it will automatically create the VM with the settings you have initialised.

    Have a look on youtube for P2V conversion using Xenconvert tool you should find plenty.

    Good luck and let us know how you get on.

  13. Thanks to bossman from:

    Tech1 (31st May 2013)

  14. #12

    Join Date
    Nov 2010
    Posts
    40
    Thank Post
    226
    Thanked 2 Times in 2 Posts
    Rep Power
    8
    Thanks Bossman, followed your instructions and the server has now been successfully migrated over to the XenServer.

    I'm presuming you use XenServer yourself, but what do you use for backing up the VM's? We currently use WSB on the physical servers, which works well when we need to restore at a file level, but whats the best practice for the virtual servers?

SHARE:
+ Post New Thread

Similar Threads

  1. Moving information from virtual server to physical box
    By JMBates in forum Windows Server 2008 R2
    Replies: 8
    Last Post: 25th April 2012, 09:56 AM
  2. Virtual Server to Physical Server
    By IKWeb in forum Windows Server 2008 R2
    Replies: 6
    Last Post: 27th May 2011, 10:38 PM
  3. SCVMM Migrated 2003 terminal server to virtual machine now getting problems :?
    By sacrej in forum Thin Client and Virtual Machines
    Replies: 0
    Last Post: 3rd August 2010, 11:51 AM
  4. Copying Physical Server to Hyper-V
    By zag in forum Windows Server 2008 R2
    Replies: 11
    Last Post: 14th May 2010, 06:05 PM
  5. What server to virtualize?
    By meki71 in forum Windows
    Replies: 29
    Last Post: 2nd December 2009, 08:07 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •