Hyper-V and System Center (1)

Virtualization Specialist Quest

http://blogs.technet.com/b/earlyexperts/p/virtualization.aspx

Week 1: Build Your Lab

Prep: download all the essentials components, and overview the lab what you need

  1. Create MS IT Camp Folder under VMs and Templates


  2. Create a new VM from WS12R2 Template for workgroup server and name it HVSCCM


  3. Select the customization specification for Local Group OS


  4. Edit VM Hardware


  5. Set Memory to 16GB (at least 8GB) and 4 Core vCPU (at least 2 Core vCPU)


  6. Set HDD to 200GB Space and 192.168.255 for the port group for DHCP Scope.


Install Hyper-V on the dedicated lab host VM (HVSCCM)

  1. Install Hyper-v Role, but got the following error


  2. Per Solution Link1 at Nesting Hyper-VM running ESXi 5 and Link1, shut down the VM
  3. Edit Settings>options>Advanced>General>Configuration Parameters>Configuration Parameters>


  4. Add Row


  5. Add name | value as below
    • hypervisor.cpuid.v0 |false
    • mce.enable | true


  6. change monitor.virtual_exec | hardware from true


  7. Go back to Edit Settings>options>Advanced>CPU/MMU Virtualization>Use intel VT-X/AMD V for instruction set virtualization and Intel EPT/AMD RVI for MMU Virtualization


  8. Turn on SSH on ESXi1 and ESXi2
  9. Logon to the hosts with PuTTY and type vi etc/vmware/config to edit
  10. Add vhv.enable= “True” at the end of the line and ESC key to change editing mode then type :wq to save


  11. To confirm the config file, type cat /etc/vmware/config


  12. Type Exit to end SSH connections and turn off SSH options on Security Profile on each ESXi Hosts
  13. Edit Setting>Options>Advanced>CPUID Mask>CPU Identification Mask>Advanced


  14. Add under LEVEL1>ecx> —- —- —- —- —- —- –H- —-


  15. Then, Power the VM back on and try again to add install Hyper-V role


  16. Per the solution Link at ESXi 5.1, access to web client https://vc5.vmlab.local:9443/vsphere-client/#


  17. Edit Settings>CPU>Hardware Virtualization> Check on Expose hardware assisted virtualization to the guest OS


  18. Power back on the VM and try to install Hyper-V Role again. Finally no additional error.
  19. Click next without select any network adapter now. I will add another network adapter for the lab environment.


  20. Since this is a lab host, next without select anything


  21. Set restart automatically if need and Click Install


  22. It was rebooted automatically and completed.


  23. Server Manager> Tools>Hyper-V Manager
  24. Follow the instruction from Hands- on Lab build Guide to setup the lab. ( I will not create a SOP for settings up Hands on lab)