Windows Server 2012 IT Camp – Lab #1

In November I posted the first of several post that covered building a lab at home.  Here is the second of that series.  We will also cover the first Lab exercise in the Windows Server 2012 IT Camp we have been running across the country.

We have our 2 physical machines:

If you want to configure a boot from VHD on the 2 physical hosts, you can download the a pre-installed VHD from our evaluation center here and configure it as described in one of my previous posts here.

VMhost10a and VMhost10b.  We have them configured as follows:


  • VMhost10a – physical
    • IP Address:
    • Subnet Mask:
    • Gateway: none
    • DNS1:
    • DNS2:
  • VMHost10B – physical,
    • IP Address:
    • Subnet Mask:
    • Gateway: none
    • DNS1:
    • DNS2:
  • ITCAMP-DC1 - Virtual
    • IP Address:
    • Subnet Mask:
    • Gateway: none
    • DNS1:
    • DNS2:

Lab 1


We build ITCAMP-DC2 as a new machine on VMHost10A and configure it as follows.


  1. ITCAMP-DC1 - Virtual
    • IP Address:
    • Subnet Mask:
    • Gateway: none
    • DNS1:
    • DNS2:

Install the “Active Directory Domain Services” role and promote it to a domain controller.  Once this is done where ready to go through Lab 1.


This first lab is about “Shared Nothing Live Migration” (SNLM). 


The term Live Migration is used as a bit of a catchall phrase in Windows Server 2012 Hyper-V. At it’s core, Live Migration is the ability to move a virtual machine from one host to another while powered on without losing any data or incurring downtime. With Hyper-V in Windows Server 2012, Live Migration can be performed on VMs using shared storage (SMB share) or on VMs that have been clustered. However, Hyper-V 3.0 arms IT pros with an alternative to investing in networked storage while still allowing them to take advantage of live migration capabilities and remain focused on the number one benefit of virtualization - cost reduction and resource consolidation. This implementation of Live Migration is referred to as “Shared Nothing”.

n Windows Server 2008 R2, Live Migration required a shared infrastructure and the use of Failover Clustering. In Windows Server 2012, Live Migration has been separated from Failover Clustering. This adds flexibility and agility (2 of the big reasons beyond economics why businesses have virtualized) to those who don’t want to or cannot afford clusters. For example:

  • small businesses or corporate branch offices where the cost of shared storage can be prohibitive.
  • hosting companies where every penny spent on infrastructure must be passed onto customers in one way or another, and every time the hosting company spends more than the competition they become less competitive

Shared pools of VDI VMs don’t always need clustering. Some organizations might find it acceptable to simply redirect the user to another host if a bunch of pooled VMs go offline when a host crashes or is shutdown for maintenance. Previously, to migrate data from one host to another both had to have a simultaneous connection to a shared storage device that could help by buffering data as it passed between hosts. “Shared-nothing” means the hosts need to share nothing but a simple Ethernet connection to each other. Data is migrated without the need of a costly infrastructure.

In Windows Server 2012 Hyper-V, live migration moves running virtual machines from one physical server to another with no impact on virtual machine availability to users. By pre-copying the memory of the migrating virtual machine to the destination server, live migration minimizes the transfer time of the virtual machine. A live migration is deterministic, which means that the administrator, or script, that initiates the live migration determines which computer is used as the destination for the live migration. The guest operating system of the migrating virtual machine is not aware that the migration is happening, so no special configuration for the guest operating system is needed.

  1. Live Migration setup occurs where a TCPIP connection is established and a skeleton VM created on the target host.
  2. Memory pages are transferred from the source server to the destination server
  3. Modified pages are transferred to destination server
  4. State is transferred to destination server
  5. VM brought online on destination server
  6. Network clean-up occurs

To enable SNLM you fist have to configure each hosts to receive SNLM. This I done in the host settings in the Hyper-V manager console.

SNLM setup


Once the configuration is complete, you are ready to migrate virtual machines from two hyper-v hosts with no shared storage.  Watch the 6 minutes video to see how I do it in my lab.  (be aware that my drive configuration may differ from yours a little.  and that I am importing the second domain controller, you may have to create one as stated earlier)



So, to end Lab 1, we performed the following actions.

  • On VMHOST10B, enabled the Hyper-V role
  • On VMHOST10A, imported or created the ITCAMP-DC2 machine and started it.
  • On VMHOST10A, enable Live Migration on any network
  • On VMHOST10A, migrate ITCAMP-DC2 to VMHOST10B (Shared-Nothing Live Migration)

we’ll be posting all the labs in this camp on a regular basis and we’re also working on a live delivery over webcast that you will be able to participate in and ask questions.  so stay tuned.




Pierre Roman, MCITP, ITIL | IT Pro Advisor
Twitter | Facebook | LinkedIn

Comments (6)
  1. Hi,

    are those stunning pictures from servers anyhwere public available?

    Thanks for sharing this article!


  2. ML49448 says:

    Hardware requirements

    My ISP blocks ports including 25,80,443 hard to run exchange, Lync, office web apps with these restrictions.

    How many machines are you running on each host and how much ram do you have installed.

    I am thinking of renting a single dedicated machine someplace.

    Windows 2012 seems to run fine on 2 Gb of ram.

  3. Pierre Roman says:

    Hello Peter.

    If you are referring to the server graphics, they are from the Microsoft Visio 2013 Professional – Virtualization Stencils.



  4. Pierre Roman says:

    Just fixed the video link.  thank for letting me know.


  5. Pierre Roman says:

    Hey Micheal,

    The machines I'm running both have 16Gb or Ram, a i7 Intel processor (quad-core) and 2 500Gb HDD.



  6. Gabriel says:

    Thanks for your HELP now I'm better

Comments are closed.

Skip to main content