Link to home
Start Free TrialLog in
Avatar of ndidomenico
ndidomenico

asked on

Convert a W2K3 DC to a VM

We have an old Windows 2003 Server DC that is starting to show hardware problems, and would like to move this server to a Vmware Esxi 4.1 and run it as a VM. This old server presently acts as a DC and also the DNS, DHCP and WINS server for the network. We have another DC (Windows 2008) running on the network, acting also as a 2nd DNS server.

We were planning on using the VMware vCenter Converter to do a P2V conversion. Will this cause issues since it is a DC ?  Or should we demote it to a member server, remove DNS server, dhcp, wins before doing the conversion, and then promote it back to a DC and assign DNS, Dhcp, Wins server roles after it is running as a VM ?

Thanks

ASKER CERTIFIED SOLUTION
Avatar of bill_lynch
bill_lynch
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ndidomenico
ndidomenico

ASKER

This server is running a custom application and we don't want to go through the re-installation and configuration.
http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=1006996&sliceId=1&docTypeID=DT_KB_1_1&dialogID=7548984&stateId=1%200%207552177

It appeears that VMware recommends staying away from P2V Domain Controllers, so it looks like a demotion and then a re-promotion would be the better choice.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)
Do you have a single DC - if so it's recommended to use VMware Converter COLD, e.g. with Server powered-off!

otherwise you would have to shutdown ALL the services if doing the conversion HOT.

It may be quicker to build a new DC, and transfer the roles (and safer).
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Ok, so no P2V of a DC.

But it would save us a lot of work if we could P2V the server without the DC, DNS, DHCP, WINS server roles, because of the custom server application running on it for all of our users, and also the shares used by all of our users. And we need to keep the same server name, IP address, etc.

Would this be a viable plan:
1) Demote server as a DC
2) Remove DNS, DHCP, WINS server roles
3) Shutdown server
4) Do a cold P2V of server and create new VM from the P2V file, keeping same Name and IP address
5) Promote VM as a DC
6) Install DNS, DHCP, WINS

The issue you will have if the server is having hardware difficulties, whether P2V will work correctly, and get an image 100% of the disk.

If you are going to do a COLDCLONE P2V, no need to shutdown any of the services. Shutdown the server for the last time. (NEVER TURN ON THE PHYSICAL AGAIN connected to the LAN!)

Boot COLDCLONE P2V, convert to VM, do not connect to the network, at first reboot, follow Best Practice, and remove drivers, and hidden devices.

Read fellow Expert Bestway's article.
https://www.experts-exchange.com/Software/VMWare/A_3639-VMware-vConverter-P2V-for-Windows-Servers.html

Best Practice Video Guide here
http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1004588

Check the video here I created earlier, and you can see the process.
https://www.experts-exchange.com/questions/27232719/VMware-vCenter-Converter-Standalone-4-3-converting-a-remote-W2008R2-guest-on-ESXi-4-1.html?cid=1572&anchorAnswerId=36291208#a36291208

TURN on VM and connect to LAN, check for replication errors, but there should not be any, and after 15-30 minutes all errors should have cleared!

Not recommended, but if done carefully can be done!
hanccocka: your last comment is for a P2V of a regular member server, not a DC, right ? Your last statement about checking replications errors seems to refer to a P2V of a DC. Everybody else seems to strongly discourage a P2V of a DC (as you also seem to: "... Not recommended, but if done carefully can be done!).

Note: the hardware is presently working ok on the old server. We had a bad memory chip issue recently and had to change some memory chips. The server is 7-8 years old, so we thought we should think about moving it elsewhere before we start having real hardware problems (disk, motherboard, etc).
Hi

@hanccocka in my opinion for this type of servers DC, Exchange etc., you should always disable non Windows services(and in DC case, all services related).

Not for the conversion itself, but when you power up that VM for the first time.

Until you clean, remove any phantom hardware, build new Network adapters(all this in safe mode), you should have that services down.

Then when the VM is clean and ready, you should run Windows on normal mode and start all services.

With this, we will bypass any issue that may encounter after the P2V. Is safer this way.

But like above answers, the best choice is too build a new DC and move all the roles into the new DC. But if you have legacy software that you need to move and you cannot install again, then do this conversion in the right way, to bypass any issues on your DC and domain.

Hope this can help.

Jail
Yes, I know it is!

It depends on your circumstances, if you have time to setup again, build a new DC, transfer roles, MIgrate Services. That should be the prefered route, BUT, we ALL live in the real world, where time is money, and sometimes, that takes time, and your Server is failing........(it could be dead in the water in an hour!)

or P2V, it's not recommended, but many, many P2Vers do it! Many create P2V copies for Backup, and also to provide DR and Test facilities, and some do it, WARM *WITHOUT* shutting down!

It's also like asking the question, "whether a Domain Controller should be virtual?".

If the machine is OFF, and COLDCLONED, AD does not know anything has changed, other than the DC has been OFF for x hours!

After which, it will start replicating again.

Once you understand the possible issues, you must eventually make the decision, and if it's not that large a DC, you'll be done in 30 mins! (image will be done, 30 mins to tidy drivers and hidden devices etc)

Test it and try it, it will not hurt!
Hi

And since he have another DC in the domain, he should have double careful.

I have done P2V in domain with one or more DCs. Also I have restored DCs in some failovers of all the infrastructure. The focus must be on how to do the job and do the right plan(to perform a P2V or to perform a restore)

Example on restoring DCs:

If you have backup 2 or more DCs with lets say Veeam, if you plan to restore all the DCs, you should always start with the last DC that you have backup. Because this last DC is the most actualized in the domain.

Jail
Finally, as it was recommended, we did a fresh install and migration of services instead of doing a P2V.