Solved

HyperV "clone" -- Windows Server 2012R2

Posted on 2014-12-09
8
548 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
8 Comments
 
LVL 20

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 57

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 57

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 20

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

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

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

I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
In this Micro Tutorial viewers will learn how they can get their files copied out from their unbootable system without need to use recovery services. As an example non-bootable Windows 2012R2 installation is used which has boot problems.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

839 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