Solved

HyperV "clone" -- Windows Server 2012R2

Posted on 2014-12-09
8
565 Views
Last Modified: 2014-12-23
I just have Windows Server 2012R2 STANDARD,
no System Center 2012 Virtual Machine Manager yet.

What is the cheapest way to CLONE an existing machine
so I can install a Windows PATCH on the machine
and see how good it works ?
=================================================
Example
 1. power down Windows Server 2012R2
     STANDARD VM #1 on PHYSICAL machine
 2. somehow make a copy of it, running
     SYSPREP/etc to remove the static IP
 3. somehow bring this copy up as a Windows Server 2012R2
     STANDARD VM #2 on the same PHYSICAL machine
     and change to a static IP
0
Comment
Question by:finance_teacher
[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
8 Comments
 
LVL 22

Accepted Solution

by:
Patrick Bogers earned 143 total points
ID: 40489043
Hi

As the machine is running (no need to power down ni 2012r2) right click it and select export. Export needs to be done locally.
Once exported add the virtual hard disk (only the VHD) to a new VM with no NICS attached and boot up. If the machine is domain joined login as local admin and disjoin the machine, rename it as desired and shutdown.

Powered down, add a NIC and boot up, login as local admin-> configure ip address and download/install your patch.
0
 
LVL 58

Assisted Solution

by:Cliff Galiher
Cliff Galiher earned 143 total points
ID: 40489052
Even with SCVMM, I never recommend running test machines (or VMs) on a production network. A bad patch can not just impact the machine, but the entire network. Especially in AD environments where secure communications occur constantly, you can *really* jeopardize your network and security. Running a completely separate test network is easy with hyper-V. Just have an isolated v-switch and import the machines you want, attaching them only to the private switch.
0
 
LVL 38

Assisted Solution

by:Philip Elder
Philip Elder earned 71 total points
ID: 40489103
Simple way:
Make sure to create a Private Network in Hyper-V Network Management.

Copy the VHDX files into a separate folder.

Create a new VM called "TestVM" or the like and attach the vNIC to the Private Network. Attach the VHDX files. Boot the vM and run your test.

A separate VHDX file could be created in Disk Management with the patch file(s) copied into that. Detach the VHDX file and attach it to your test VM. Go.
0
Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.

 
LVL 37

Assisted Solution

by:Neil Russell
Neil Russell earned 72 total points
ID: 40489581
Obviously as you have only Server 2012 Standard license, you need to ensure that you have a license for each two machine you have running ( per 2 processors )

1 license covers your Hyper-V server install and two VM's running on a max of 2 physical CPU's. 3 or 4 CPU's, 2 licenses etc.
0
 

Author Comment

by:finance_teacher
ID: 40490457
Does anyone do "Sysprep /generalize /oobe /mode:vm" found on
http://technet.microsoft.com/en-us/library/hh824938.aspx to
GENERALIZE the VM ?

Can the DELL VM easily be put on an HP PHYSICAL server
or does the 2nd PHYSICAL server need to be the same
make/model as the 1st PHYSICAL server ?
0
 
LVL 23

Assisted Solution

by:Nagendra Pratap Singh
Nagendra Pratap Singh earned 71 total points
ID: 40490490
Using a VM frees you up from a model etc to a large extent. Each VM has a virtual motherboard specified in it with few virtual parts like NIC/Video/HDD .

To run this, you need a matching player(Hypervisor).

In short.

Original Server was a Dell dx5000 model.
One of the VM conversion steps is removing the physical hardware drivers and utilities.

Converted to VM, it starts using a Hyper-v Model motherboard. Now it can be played by any hyper-v version which is same or 1-2 version higher than this VM.

If you plan to go VMware way, then the destination VM will have a VMware model motherboard and can be played inside few versions of VMware products.

In case your physical hardware is being retired etc then all you need to do it is to find another server with a matching player software (Hypervisor). Your VM will run on the new device with maybe zero modifications.
0
 
LVL 58

Assisted Solution

by:Cliff Galiher
Cliff Galiher earned 143 total points
ID: 40491580
Sysprepping is great for cloning a VM that you plan on running in production. But that serves an entirely different purpose. Sysprep is destructive enough that, for your purpose of patch testing, you wouldn't get a reliable result anyways. The test ,machine is no longer similar enough to the live machine due to the sysprep.
0
 
LVL 22

Assisted Solution

by:Patrick Bogers
Patrick Bogers earned 143 total points
ID: 40491781
Sysprep makers the VM system independant so you can convert to physical. For patch testing you would not want to do this.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
In this Micro Tutorial viewers will learn how to restore their server from Bare Metal Backup image created with Windows Server Backup feature. As an example Windows 2012R2 is used.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…

756 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