Solved

P2V active directory (2003) to xenserver6

Posted on 2012-12-23
12
538 Views
Last Modified: 2013-06-15
One of my 2003 AD has HW issues and looks like the servers is in it's final way... any day now...

I would like to convert it to xenserver Virtual machine.

would like to hear if anybody did this kind procedure successfully and how?

would like to hear reasons why I shouldn't do this on an  Active Directory Domain Controller... if any...

Thanks!
0
Comment
Question by:xnir
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
  • 3
  • +2
12 Comments
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38717224
Have a read here on how to P2V to Xenserver.

There are no reasons NOT to convert your AD server to a VM, makes perfect sense, ALL my DC's are running as VM's.

Just ensure that you have more than ONE DC in your domain, as always.
0
 
LVL 7

Expert Comment

by:ded_ch
ID: 38717235
It is not recommended to P2V a Domain Controller. Although it has worked for some, I highly doubt you get it virtualized completely successfull this way.

What I used to do is simply shut down the machine and boot with a Clonezilla live CD and Image the servers System drive. Then I create a new VM in Xenserver using the windows 2003 server template in your case. Create the disk drive with the same or bigger size as the pyhsical system drive. Then boot the VM using the Clonezilla live CD ISO file.
Restore the image to the virtual drive and restart the system, this time booting from the disk.

This usually lets me start the VM. I then first install Xentools and reboot, then go back and remove any drivers and utilities that stem from the physical system. For example HP Network Card Management Utilites, or any System management software that do no longer apply to the virtual server.
0
 
LVL 36

Expert Comment

by:Carl Webster
ID: 38717236
Do not p2v an existing DC.  Bring up a new server VM, run dcpromo on it, transfer any fsmo roles from the bad server to your new DC and then dcpromo down the bad DC.
0
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
LVL 23

Expert Comment

by:yo_bee
ID: 38717252
I was going to post, but CarlWebster said it as I would have.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38717256
"It is not recommended to P2V a Domain Controller. Although it has worked for some, I highly doubt you get it virtualized completely successfull this way."
Please exlain WHY?

Doing a P2V of a windows server to xen does NOT mean doing a LIVE Migration.  What you describe, using clonezilla, is called "DOING A P2V"!!

I have done many a P2V of DC's using this technique, clonezilla, acronis, various other... and very rare it fails.
0
 
LVL 120
ID: 38717268
why not just create a new Server, and DCPROMO to promote to a DC, and Transfer the Roles?

This is much quicker and less effort than a P2V, and less risky if no risk, and Supported!

DO NOT wait for the existing server to die, get building a new Virtual Server, create a DC, transfer roles, you should be done in 60 mins!
0
 
LVL 36

Expert Comment

by:Carl Webster
ID: 38717278
microsoft recommends doing an offline p2v of a dc.  too many moving parts when a dc is powered on.  plus you don't have to worry about usn rollbacks.

http://technet.microsoft.com/fr-fr/library/dd221390.aspx
0
 
LVL 7

Accepted Solution

by:
ded_ch earned 500 total points
ID: 38717288
"It is not recommended to P2V a Domain Controller. Although it has worked for some, I highly doubt you get it virtualized completely successfull this way."
Please exlain WHY?

Doing a P2V of a windows server to xen does NOT mean doing a LIVE Migration.  What you describe, using clonezilla, is called "DOING A P2V"!!


I have to disagree. P2V is usually done while the system is live (in case of xenserver, by running the xenconverter utility while the system is live)
It then uses a combination of file locking and VSS (volume shadow copy) to create a consistent image of the live system, and in case of xenconverter automatically converts the system to a VHD and copies it over to Xenserver. While doing all this, it will also make the new VHD ready for operation in a VM environment. It will reset some of the system drivers to make them run on a virtualized platform, deactivate some system features not needed in a Virtual environment etc.
In case of a DC, there are so many AD operations that could happen on the DC while the Image is created, that xenconverter (or any P2V Tool for that matter) will have a hard time creating a truly consistent image. That's why I say, P2V of a DC is not recommended (not my opinion alone by the way, but official Citrix recommendation)

Doing a system virtualization by using an offline tool like Clonezilla is not real P2V.

And if you read my comment correctly, I actually state that my preferred way is to use an offline tool for DC Virtualization rather than a P2V method.
So I don't get your last sentence:

I have done many a P2V of DC's using this technique, clonezilla, acronis, various other... and very rare it fails.
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 38717302
It is some much easier to just build a New VM and Promote it to a DC, transfer the roles and decom the old DC.  As stated there are to many moving parts in regards to replication and other recording events.  By building a new machine you eliminate all possibilities of a P2V failure. Then you also need to deal with Post P2V conversions cleanup which adds to down time.

Application Servers like Files, IIS and third party apps are perfect candidates for P2V when there are no databases that are continuously being written.  

When we did out SQL servers we downed the SQL service prior to P2V and announced and outage.    


Would you do P2V of your Exchange or just build a new one and move the Mailboxes?
0
 
LVL 7

Expert Comment

by:ded_ch
ID: 38717343
Would you do P2V of your Exchange or just build a new one and move theMailboxes?


If you don't mind downtime, a P2V would be preferable. Simply stop all Exchange services before starting the P2V Process and you should be fine. You could also make sure you have an alternative MX configured (most ISP's offer a so called MX 20 record ) This will make sure emails sent to your domain are stored at your ISP in case your mail server fails and are delivered as soon as it is back online. This way no sender will receive a non delivery report when your mail server is down.

If you can't have downtime, then rebuilding a secondary mail server would be preferable as you can first reroute all incoming mail to the new one and then migrate one mailbox at the time to the new server before dismantling the old one.
0
 
LVL 23

Expert Comment

by:yo_bee
ID: 38717349
My point is down time.

Most places can not handle a down time of exchange or AD.
So if that is the case new build and migrate the data and roles to the new VM's with almost zero down time.

If there is an acceptable window for a down period a P2V can be done.
0
 
LVL 37

Expert Comment

by:Neil Russell
ID: 38717395
"Most places can not handle a down time of exchange or AD"
Why would there be downtime of AD?

The question does say "One of my 2003 AD has HW issues "  that to me implies MULTIPLE AD servers. Therefor ZERO Downtime. So P2V is no problem at all.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
Recently, Microsoft released a best-practice guide for securing Active Directory. It's a whopping 300+ pages long. Those of us tasked with securing our company’s databases and systems would, ideally, have time to devote to learning the ins and outs…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
This video shows how to use Hyena, from SystemTools Software, to update 100 user accounts from an external text file. View in 1080p for best video quality.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question