Virtual Machine Manager: Labs Part 5

5.0           VM Management

 

5.1            Creating Check Points

When running workloads on virtual machines we are provided a few flexibilities that we do not have with physical hardware. One of those capabilities are snap shots, snap shot allow a virtual admin to create a point in time image of a virtual machine without downtime. This capability allows an admin to revert a workload to a known good state.

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create checkpoints that allow virtualization administrator to recover their virtual machine to a known point in time

 

Purpose:

In this lab you will create a virtual machine check point and restore to it

 

Estimated time of Lab: 15 minutes

 

  1. Open the VMM console
  2. Select “VMs and Services” from the Wunderbar
  3. Under “All hosts” select “Workshop” and select your server StudentX (where X is your student number)
  4. In the middle pane select VStudentX-A (where X is your student number)
  5. Right click VstudentX-A select Create Checkpoint
  6. On the “New Checkpoint” windows under “Name” input Original à Create
  7. Minimize the VMM console
  8. From the task menu open Windows explorer and browse to C:\ProgramData\Microsoft\Windows\Hyper-V\VStudentX-A (where X is your student number)
  9. You should now see a file with a .AVHDX format
  10. *Note when a checkpoint is created a new file with a AVHDX format is created and all the new changes are written to that file, the parent or initial VHDX file is still used to read other properties
  11. Close Windows Explorer and Maximize the VMM console
  12. Right click on VStudentX-A (where X is your student number ) à connect or view à connect via console
  13. Log onto the VM with you user Id of StudentX (where X is your student number ) and password= Pass@word1
  14. Close any open Windows in the VM
  15. Create a new text file on the desktop called Myfile
  16. Minimize the console session
  17. Right click VstudentX-A select Create Checkpoint
  18. On the “New Checkpoint” windows under “Name” input Textfileà Create
  19. Right click VstudentX-A select Manage Checkpoint
  20. Select the first checkpoint “Original” à Restore
  21. Select “Yes” on the warning message à Ok
  22. After the checkpoint restore has completed
  23. Right click on VStudentX-A (where X is your student number ) à connect or view à connect via console
  24. Log onto the VM with you user Id of StudentX (where X is your student number ) and password= Pass@word1
  25. Note that the file is gone and your VM is back to the initial state
  26. Right click VstudentX-A select Manage Checkpoint
  27. Select the first checkpoint “Textfile” à Restore
  28. Select “Yes” on the warning message à Ok
  29. After the checkpoint restore has completed
  30. Right click on VStudentX-A (where X is your student number ) à connect or view à connect via console
  31. In the VM connection window validate your file exists
  32. Close the VM console window
  33. Right click VstudentX-A select Manage Checkpoint
  34. Select the check point “original” à delete
  35. Note: Note this will merge the avhdx file into the vhdx
  36. On the popup windows à Yes
  37. Repeat steps 33 -34 for the remaining check points
  38. Select Ok to close the VM properties window 
  39.  
  40. *Note this will merge the avhdx file into the vhdx

5.2            Creating Custom Properties

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create custom properties that can be used for varies reasons. These custom properties can be associated to virtual machines, host, etc.

 

Purpose:

In this lab you will create a custom property for your host machine

 

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “Fabric” from the Wunderbar
  3. Under “All hosts” select StudentX (where X is your student number )
  4. Right click on StudentX (where X is your student number ) à properties
  5. Select the “custom properties section”
  6. In the “custom properties” à “Manage custom properties”
  7. On the “custom properties” page validate under “object type” that “host” is selected
  8. In the middle view à Create
  9. On the “create customer property” page under “name” input StudentX-Prop à Ok
  10. On the “custom properties” page under “available properties select “StudentX-Prop” à Add
  11. Select Ok to close the window
  12. Note your new custom property shows up on the screen
  13. Select Ok to close the window
  14. In the middle pane, right click on the column header and select “StudentX-Prop”
  15. Note: your new property is now displayed in the console heading

 

5.3            Hot storage expansion

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators expand any SCSI disk that is associated to a virtual machine with no downtime to the VM.

 

Purpose:

In this lab you will expand the C:\ of a running virtual machine

 

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “VMs and Services” from the Wunderbar
  3. Under “All hosts” Select your server StudentX (where X is your student number)
  4. In the middle pane select VStudentX-A ((where X is your student number)
  5. Right click VStudentX-A ((where X is your student number) à Properties
  6. Select the “Hardware” section
  7. In the “Hardware” properties under the SCSI adapter select the virtual hard disk
  8. Check the box “Expand virtual hard disk” and set the drive to 100 à Ok
  9. After the machine status finishes updating
  10. Right click on VStudentX-A (where X is your student number ) à connect or view à connect via console
  11. Log onto the VM with you user Id of StudentX (where X is your student number ) and password= Pass@word1
  12. On the VM VStudentX-A (where X is your student number ) launch Server Manager
  13. Select “File and Storage Services”
  14. Select Volumes
  15. Select the C:\ volume
  16. Note: Under disks note there is now unallocated space since we expanded the drive
  17. Right click on the C:\ volume à Extend volume
  18. On the “Extend volume” windows under “New Size” input 99.5 à Ok
  19. Note: Under the “disk” section we now have a 100GB disk and 0 unallocated space
  20. Close the VM console window

 

5.4            Using Availability Sets

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create availability sets to keep virtual machine from residing on the same hosts.

 

Purpose:

In this lab you will create an availability

 

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “VMs and Services” from the Wunderbar
  3. Under “All hosts” Select your server StudentX (where X is your student number)
  4. In the middle pane select VStudentX-A (where X is your student number)
  5. Right click VStudentX-A (where X is your student number) à properties
  6. Select the “Hardware” section
  7. In the “Hardware” properties under “Advanced” select “Availability
  8. In the top right select the “Manage availability sets” button
  9. On the “manage availability sets” window à Create
  10. On the “Create availability set” windows under “Name” input StudentX (where X is your student number) à Ok
  11. On the “manage availability sets” window select StudentX (where X is your student number) à Add à Ok
  12. Note: you have now created an availability set for your virtual machine
  13. On the properties window à Ok 
  14. Note: you would need to set this on other virtual machine to group then in this availability set which keeps the vms on separate host in a cluster

 

5.5            Share Nothing Live Migration

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to move virtual machine between any number of hosts regardless of the location of the virtual machine.

 

Purpose:

In this lab you will move a virtual machine from a standalone host on local storage to another host machine with no downtime

 

Estimated time of Lab: 20 minutes

 

  1. Open the VMM console
  2. Select “VMs and Services” from the Wunderbar
  3. Under “All hosts -> Workshop” Select your server StudentX (where X is your student number)
  4. Right click and select properties
  5. On the host properties select Migration settings
  6. Check the box “Turn on incoming and outgoing live migrations”
  7. Change the “Maximum number of simultaneous live migrations” to 100 à Ok
  8. Right click on vstudentX-A (where x is your student number) and select “connect or view” à Connect via console
  9. In the top left of the console select CTRL-ALT-DEL and logon to the virtual machine with StudentX (where X is your student number)and a password of P@ssw0rd1
  10. Minimize the connection console
  11. Right click on vstudentX-A (where x is your student number) and select “Migrate virtual machine”
  12. *Note in order to do step 12 the destination system has to have completed the steps above
  13. In the “migrate virtual machine” wizard select StudentY (where Y is the number of the person next to you) à Next
  14. On the “select path” accept the defaults à Next
  15. On the “select networks” accept the defaults à Next
  16. On the “summary page” select Move
  17. Open the virtual machine connection console and validate you can manipulate the virtual machine 

 

 

5.6            Configure Storage classification

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create availability sets to keep virtual machine from residing on the same hosts.

 

Purpose:

In this lab you will create an availability

 

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “VMs and Services” from the Wunderbar
  3. Under “All hosts” Select your server StudentX (where X is your student number)
  4. Right click on StudentX (where X is your student number) à Properties
  5. Select the “Storage” section
  6. On the “Storage” properties under disk select the 400GB disk
  7. Select the “New” button
  8. On the “New classification” window input “Gold Storage” à Add
  9. Note: You have now classified the storage on your host and can control which VMs get deployed to this storage.

Leave a Comment

Virtual Machine Manager: Labs part 4

4.0           VM template Management

Virtual Machine Manager provides IT admins the capability to create virtual machine templates and apply a consistent set of configuration to those virtual machines. Those templates can also consist of web deploy packages, SQL DAC packages, and various other components to allow for complete application deployments.

 

4.1            Creating Run As accounts

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create run as account that can be deleted to your virtualization environment to allow other IT members to perform administrative task.

 

Purpose:

In this lab you will create a run as account

 

Estimated time of Lab: 5 minutes

 

  1. Open the VMM console
  2. Select “settings” from the Wunderbar
  3. Select “create run as account” from the menu
  4. On the “create run as account” page input StudentX (where X is your student number) in the name field
  5. In the “user name” field input “hvlab\StudentX) (where X is your student number)
  6. In the password field input “Pass@word1” à Ok

 

4.2            Creating Guest OS Profiles

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create OS profiles that are associated to a VM template to provide consistent settings like time zone and local admin password to virtual machines deployed from VMM

 

Purpose:

In this lab you will create a guest OS profile

 

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “library” from the Wunderbar
  3. Expand “Profiles”
  4. Select “Guest OS Profiles”
  5. Select the “Create” button from the menu à Guest OS Profile
  6. On the “general” page input StudentX-OS in the name field (where X is your student number)
  7. Select “Guest OS Profile”
  8. Select “Operating system” and select the drop down menu and change the setting to “Windows 2012 R2 Datacenter”
  9. Select the “Admin Password” field
  10. Select the Radio button “Specify the local admin password” and input Pass@word1 for the password
  11. Select the product key field and input “W3GGN-FT8W3-Y4M27-J84CP-Q3VJ9”http://technet.microsoft.com/en-us/library/jj612867.aspx
  12. *Note this is a public client kms setup key
  13. Select the domain/workgroup field
  14. Select the Radio button for “domain” and input “HVLAB.Local”
  15. Select the Radio button “Select the Run As account” à browse
  16. On the pop up screen select “StudentX” (where X is your student number) à Ok à Ok

4.3            Creating a Hardware Profiles

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create hardware profiles that are associated to a VM template to provide consistent settings like CPU, memory, etc. to virtual machines deployed from VMM

 

Purpose:

In this lab you will create a hardware profile

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “library” from the Wunderbar
  3. Expand “Profiles”
  4. Select “Hardware Profiles”
  5. Select the “Create” button from the menu à Hardware Profile
  6. On the “general” page Input StudentX-Gen2 in the name field (where X is your student number)
  7. Select the drop down menu in the “Generation” section and select “Generations 2”
  8. Select the “hardware Profile” tab
  9. Select “processor” and increase the number of processors to 2
  10. Select “memory” and select the Radio button “Dynamic”
  11. Set the “startup memory” to 1024 MB
  12. Set the “minimum memory” to 1024 MB
  13. Set the “maximum memory” to 2048 MB
  14. Select “network adapter”
  15. Select the Radio button “Connected to a VM network” à “Browse…”
  16. On the “Select VM Network” page, select HVLAB à Ok
  17. For “VM Subnet” select “HVLAB_0” à Ok

 

4.4            Deploy VM from Template

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create virtual machine templates, these templates can be delegated to Clouds, Admins, and used to deploy a consistent set of virtual machine in your organization.

 

Purpose:

In this lab you will deploy a virtual machine from a template

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “VMs and Services” from the Wunderbar
  3. Select “Create Virtual Machine” from the menu
  4. Select the “browse” button
  5. Under the “VM Template” section select “Windows2012R2-baseline-Gen2” à Ok
  6. On the “Select Source” à Next
  7. On the “Identity” page input StudentX-Temp (where X is your student number)
  8. in the “virtual machine identity” field
  9. On the “configure hardware” select the drop down menu next to hardware profile and select StudentX-Gen2 (where X is your student number)
  10. à Next
  11. On the “configure Operating system” select the drop down menu next to “Guest OS profile” and select StudentX-OS (where X is your student number)
  12. On the “Select destination page” select the Radio button “place the virtual machine on a host” and validate the “Workshop” host group is selected.
  13. On the “Select host” page select the server “StudentX” (where X is your student number) à Next
  14. On the “configure settings” page à Next
  15. On the “Add properties” page à Next
  16. On the “summary” page à create

 

4.5            Creating a VM template

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create virtual machine templates, these templates can be delegated to Clouds, Admins, and used to deploy a consistent set of virtual machine in your organization.

 

Purpose:

In this lab you will create a virtual machine template

 

Estimated time of Lab: 10 minutes

 

Open the VMM console

  1. Select “VMs and Services” from the Wunderbar
  2. In the “VMs and Services” section select “Workshop” and then your host machine StudentX (where X is your student number)
  3. In the middle pane, right click on StudentX-temp (where X is your student number) à Create à VM Template
  4. Note: The VM must be off to create the template
  5. Read over the popup windows then select à Yes
  6. On the “Create VM template wizard” under the “VM Template name” input StudentX-Template (where X is your student number) à Next
  7. On the “configure hardware” screen à Next
  8. On the “Configure Operating System” à Next
  9. On the “Select Library Server” select HV-VMM à Next
  10. On the “Select Path” page select the browse button
  11. Expand the path and select the templates folder à Ok à Next
  12. On the “Summary” screen à Create       
  13. *They virtual machine will be sysprepped and copied to the VM library

4.6            Associating Template to a Cloud

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create virtual machine templates, these templates can be delegated to Clouds, Admins, and used to deploy a consistent set of virtual machine in your organization.

 

Purpose:

In this lab you will delegate the VM template you created to your cloud

 

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “Settings” from the Wunderbar
  3. From the “Settings” menu expand Security
  4. Select User Roles
  5. In the middle pane right click StudentX (where X is your student number) à Properties
  6. From the StudentX (where X is your student number) properties à Resources
  7. In the “Resources” view select Add
  8. In the “Add Resources” list, select your VM template StudentX-Template (where X is your student number) à Ok
  9. Select Ok to close the User Role properties
  10. In the top left of the VMM console select the blue tab à “Open new connection”
  11. Select “Open New connection”
  12. In the server name verify HV-VMM01:8100 is set à Connect
  13. On the “Select user role” menu select StudentX (where X is your student number) à Ok
  14. From the “VMs and Services” section select your cloud StudentX-Cloud (where X is your student number)
  15. Right click on your cloud StudentX-Cloud à Create Virtual machine
  16. On the “Select Source” page click the browse button
  17. *Note: You only see the VM template you just delegated
  18. Close all windows you have open

Leave a Comment

Virtual Machine Manager: Labs Part 3

3.0           SCVMM Delegation

 

3.1            Creating Clouds

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create logical containers called a cloud that abstracts the fabric from the cloud consumer. Cloud are a unit of delegation and can allow central IT to offload basic task like VM creation to an organization

 

Purpose:

In this lab you will create a cloud

 

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “VMs and Services” from the Wunderbar
  3. Select “Create Cloud” from the menu
  4. On the “general” page input StudentX-Cloud (where X is your student number) in the name field à Next
  5. On the “resources” page select all hosts à Next
  6. On the “logical networks” select “HVLAB” à Next
  7. On the “load balancers” page à Next
  8. On the “VIP templates” à Next
  9. On the “port classification” select “StudentX-pc” (where X is your student number) à Next
  10. On the “storage” page à Next
  11. On the “library” page select the “add” button
  12. On the “add library shares” check the box à Ok à Next
  13. On the “capacity” page set the following below à NextMemory: 4GB
  14. Virtual CPU: 10
  15. On the “capabilities profiles” à Next
  16. On the “summary” page à Next

 

3.2            Delegating Cloud Resources

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to delegate resource to a cloud like CPU, Memory, etc.

 

Purpose:

In this lab you will delegate resources to your cloud

 

Estimated time of Lab: 10 minutes

 

  1. Open the VMM console
  2. Select “settings” from the Wunderbar
  3. From the menu select “Create User Role”
  4. On the “name and description” page input StudentX (where X is your student number) à next
  5. On the “profile” select the Radio button “Application Administrator” à Next
  6. On the “members” page select “add”
  7. On the “select users, computers or groups” input StudentX (where X is your student number) à Next
  8. On the “scope” page select the student-cloud (where X is your student number) à Next
  9. On the “quotas” page à Next
  10. On the “VM network” select “Add”
  11. On the “select VM networks” select “HVLAB” à Ok à Next
  12. On the “resources” page à Next
  13. On the “Permissions” page check the following:
  14. Checkpoint, Deploy (from template only),Local Admin, start, and stop à Next
  15. On the “Run As” page click Add
  16. On the “Select run as account” select “Admin” à Ok à Next
  17. On the “summary” page à Finish
  18. In the top left of the VMM console select the blue tab
  19. Select “Open New connection”
  20. In the server name verify HV-VMM:8100 is set à Connect
  21. On the “Select user role” menu select StudentX (where X is your student number) à Ok
  22. *Note you have now opened the console in a delegate view, the fabric view is removed and only your cloud is in the view
  23. close the delegated VMM window

Leave a Comment

Virtual Machine Manager: Labs Part 2

2.0           SCVMM Host Management

Virtual Machine Manager provides IT admins the capabilities manage virtualization hosts from a number of vendors through a single management interface.   VMM can deploy clusters, provision storage, and various other host management tasks to assist virtualization admins in their tasks.

2.1           Creating Host Groups

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to create logical containers to group virtual machine hosts in a meaningful way. Hosts group are also used as a delegation and configuration boundary for virtualization hosts.

 

Purpose:

In this lab you will create a host group

 

Estimated time of Lab: 5 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wonder bar
  3. Expand Servers and select All Hosts
  4. Right click on all host and select “create host group”
  5. Input StudentX-HG (where X is your student number)

 

 

2.2            Modify Host Reserves

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to set host resource reservations, this allows administrators to guarantee the Hyper-V host machine does not run out of resources.

 

Purpose:

In this lab you will modify the virtualization host reservation settings.

 

Estimated time of Lab: 5 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wonder bar
  3. Expand Servers and select All Hosts
  4. Select StudentX-HG
  5. Right click on StudentX-HG à Properties
  6. Select the “host reserves”
  7. Uncheck “use host group settings from parent host group”
  8. Modify the memory to 1024 MB à Ok

 

2.3            Adding Hosts to VMM

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to manage virtualization host machines

 

Purpose:

In this lab you will bring your virtualization hosts into VMM and add them to a host groups

 

Estimated time of Lab: 10 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wonder bar
  3. Expand Servers and select All Hosts
  4. Right click on all host and select “Add Hyper-V host and cluster”
  5. On the “resource location” page view the options and verify “Windows Server in a trusted Active Directory domain” is selected à Next
  6. On the “credentials” page select the “browse” button
  7. Select the “Admin” run as account à Ok à Next
  8. On the “discovery scope” page under “computer names” input vstudentX (where X is your student number) à Next
  9. Select the two machines vstudentX-a and vstudentx-b (where X is your student number)à Next
  10. On the pop up window select Ok
  11. On the “host settings” page select the “host group” drop down menu
  12. Select StudentX-HG (where X is your student number) à Next
  13. On the “summary” page à finish
  14. In the VMM console select the “jobs” icon on the wunderbar
  15. Select the “history” icon in the top left of the screen and monitor one of your hosts being added
  16. **Note this will allow you to see the job details and status of your host being added

 

2.4            Add Logical Switch to hosts

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to deploy a consistent network configuration across multiple host machines by using a logical switch.

 

Purpose:

In this lab you will deploy a logical switch to your virtualization hosts

 

Estimated time of Lab: 5 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wunderbar
  3. Under “Servers” expand all hosts
  4. Select StudentX-HG (where x is your student number)
  5. Right click vstudentX-a and select properties
  6. Select virtual switches
  7. Select “New Virtual Switch” and then “New Logical Switch”
  8. In the Logical Switch drop down menu select “StudentX-LS”
  9. Select “New virtual network adapter”
  10. Input “mgmt.” under the name à Ok
  11. On the VMM popup windows select Ok
  12. Repeat steps 5 -10 for vstudentX-b (where x is your student number)

 

2.5            Creating Clusters with VMM

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to deploy Hyper-V clusters from the VMM console.

 

Purpose:

In this lab you will create a Windows failover cluster from VMM

 

Estimated time of Lab: 10 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wunderbar
  3. Expand Servers and expand All Hosts
  4. Select StudentX-HG (where X is your student number)
  5. In the top of the VMM console verify the “home” tab is selected
  6. Select “Create” from the menu à Hyper-V cluster
  7. On the “general” page input StudentX-VCL (where x is your student number)
  8. Click the “browse” button and select the “admin” run as account à Ok à Next
  9. On the “nodes” page select the drop down menu next to “host groups” and select StudentX-HG (where x is your student number)
  10. Select both host machines vstudentX (where x is your student number) and select add
  11. Check the box to skip cluster validation tests à Next
  12. On the “storage” page select à Next
  13. On the virtual switches page à Next
  14. On the summary page à finish
  15. In the VMM console select the “jobs” icon on the wunderbar
  16. Select the “history” icon in the top left of the screen and monitor one of your hosts cluster being created
  17. **Note this will allow you to see the job details and status of your host being added
  18. In the VMM console select “Fabric” from the wonder bar
  19. Expand Servers and expand All Hosts
  20. Select StudentX-HG (where X is your student number)
  21. *Note you can now see you have two node hyper-v cluster

 

 

2.6            Creating Servicing Windows

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to configure service Windows for your virtualization host.

 

Purpose:

In this lab you will create a service windows and apply it to your virtualization host

 

Estimated time of Lab: 5 minutes

 

  1. Open the VMM console
  2. Select “settings” from the wunderbar
  3. From the “settings” menu select “servicing windows”
  4. Select the “create servicing window” button from the top menu
  5. In the “new servicing window” input StudentX-SW (where X is your student number) in the name field
  6. Under “recurrence pattern” uncheck “Thursday” and check “Sunday” à Ok
  7. Select the “Vms and Services” option in the wunderbar
  8. Expand “All hosts” à StudentX-HG (where x is your student number)
  9. Right click on VstudentX-a (where X is your student number) and select properties
  10. Select the “Servicing Windows” option à Manage
  11. Select the StudentX-SW (where x is your student number) à Add à Ok
  12. On the host properties page à Ok

Leave a Comment

Virtual Machine Manager :Labs Part 1

System Center Virtual Machine Manager 2012 R2

Microsoft provides a suite of system management tools called System Center which encompasses a number of products that all IT admins support their infrastructure. Virtual Machine Manager is one of the core products that can be used to manage virtualization infrastructure from Vmware, Citrix, and Microsoft.

1.    SCVMM Networking

Virtual Machine Manager allow IT admins to provision networking components to Hyper-V hosts and manage various components of the network fabric.

1.1            Creating a Logical Network

Introduction:

SCVMM 2012 R2 allows virtualization administrators to easily connect virtual machines to a network that servers a particular function in your environment. To do this you associate IP subnets and Vlans together into a unit called logical networks.

 

Purpose:

In this lab you will create a logical network

 

Estimated time of Lab: 10 minutes

  1. Open VMM console
  2. Select “Fabric” from the wonder bar
  3. Expand the networking tab and select Logical Networks
  4. Right click the logical network à Create Logical Network
  5. In the name field input StudentX-LN (where X is your student number) in the name field
  6. Select the Radio button “vlan-based independent networks” à Next
  7. On the Networks Sites page select the “Add” button
  8. Under the Host groups section, check the box “all hosts”
  9. In the “associated vlan and ip subnets” section click “insert row”
  10. In the “associated vlan and ip subnets” section input your student number in the vlan box
  11. Input 10.104.X.0/24 (where X is your student number) in the IP subnet field à Next
  12. On the summary page à Finish
  13. Right click the logical network StudentX-LN à Create VM network
  14. On the “name” page input StudentX-VM (where X is your student number)
  15. In the logical network drop down select “StudentX-LN” à Next
  16. On the isolation options select the Radio button “specify vlan” à Next
  17. Click “Finish”

 

1.2            Creating IP Pools

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to easily connect virtual machines to a network that servers a particular function in your environment. To do this you associate IP subnets and Vlans together into a unit called logical networks.

 

Purpose:

In this lab you will create an IP pool and associate the IP pool to the logical network you created

 

Estimated time of Lab: 10 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wonder bar
  3. Expand the networking tab and select Logical Networks
  4. In the preview window right click “studentX-ln” (where X is your student number)
  5. Select “Create Ip Pool”
  6. On the “Name” page input StudentX-Pool (where X is your student number)
  7. In the “logical network” drop down select “studentX-ln” (where X is your student number) à Next
  8. On the “Network Site” page leave the defaults à Next
  9. On the “IP address range” change last octet of the starting IP from 1 to 100 à Next
  10. On the “Gateway” page select Insert
  11. Input 10.104.X.1 (where X is your student number) à Next
  12. On the “DNS” page à Next
  13. On the “Wins” page à Next
  14. On the “summary” page à Finish

1.3            Creating Port Profiles

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to consistently configure identical capabilities for a network adapter across multiple hosts by using port profiles and logical switches. Port profiles and logical switches act as a container for the properties or capabilities that you want your network adapters to have.

 

Purpose:

In this lab you will create a Port Profile

 

Estimated time of Lab: 10 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wonder bar
  3. Expand the networking tab and select Port Profiles
  4. Right click “Port Profiles” and select create Hyper-V Port Profile
  5. Input StudentX-PP (where X is your student number) in the name field
  6. Under “Type of Hyper-V Port Profile” validate “Virtual network adapter port profile” is selected à Next
  7. Check the box “Enable virtual machine queue” à Next
  8. On the security settings page check all of the options à Next
  9. On the bandwidth settings set the minimum bandwidth to 0 Mbs and the Maximum bandwidth to 10Mbs à Next
  10. On the summary screen click “Finish”

 

1.4            Creating Uplink Profiles

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to consistently configure identical capabilities for a network adapter across multiple hosts by using port profiles and logical switches. Port profiles and logical switches act as a container for the properties or capabilities that you want your network adapters to have.

 

Purpose:

In this lab you will create an Uplink Profile

 

Estimated time of Lab: 10 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wonder bar
  3. Expand the networking tab and select Port Profiles
  4. Right click “Port Profiles” and select create Hyper-V Port Profile
  5. Input StudentX-UL (where X is your student number) in the name field
  6. Under “Type of Hyper-V Port Profile” select “Uplink port profile”
  7. Select the drop down menu from the “load balancing algorithm” and choose Dynamic à Next
  8. On the Network configuration select StudentX-ln_0 à Next
  9. On the summary page select Finish

1.5            Creating a Logical Switch

 

Introduction:

SCVMM 2012 R2 allows virtualization administrators to consistently configure identical capabilities for a network adapter across multiple hosts by using port profiles and logical switches. Port profiles and logical switches act as a container for the properties or capabilities that you want your network adapters to have.

 

Purpose:

In this lab you will create a logical switch and apply the switch to multiple hosts

 

Estimated time of Lab: 10 minutes

 

  1. Open VMM console
  2. Select “Fabric” from the wonder bar
  3. Select “Logical Switches”
  4. Right click on the logical switches and select “Create logical switch”
  5. On the getting started page à Next
  6. On the general page input StudentX-LS (where X is your student number) à Next
  7. On the extensions page à Next
  8. On the uplink page validate under “uplink mode” that “No uplink team” is selected
  9. Click add
  10. On the add uplink port profile select studentX-ul (where X is your student number) à Ok
  11. On the uplink page à Next
  12. On the virtual port page click “add”
  13. On the “add virtual port” click browse
  14. Select “Create Port classification”
  15. On the “create port classification wizard” under the name section input StudentX-PC (where X is your student number) à Ok
  16. On the “select port classification” page select student-PC (where X is your student number) à Ok
  17. On the “Add virtual port” page check the box “include a virtual network adapter port profile in this virtual port”
  18. In the drop down menu select StudentX-PP (where X is your student number) à Ok
  19. On the “virtual port” page à Next
  20. On the summary screen à Finish

Leave a Comment

Hyper-V Labs part 5 Configuring the Replication broker

1.     Configure Replication broker

Introduction:

Windows Server 2012 has introduced a number of new features, Hyper-V replica allows standalone or clustered Hyper-V server to replicate at the VM level to other Hyper-V host regardless of their location and domain membership.  Hyper-V replica takes up to 15 snap shots of 5 minute intervals and replicates the snap shot to another host.

Purpose:

The purpose of this lab will be to configure the replication broker for the Hyper-V cluster to facilitate the replication of your virtual machines to another students cluster.

Estimate time of Lab: 10 minutes

**This lab will only be done by Student A ***

  1. Launch the Server Manager Dashboard
  2. In the top right hand corner of Server Manager select “Tools à Failover Cluster Manager”
  3. Expand TeamX.HVLAB.LOCAL
  4. Select Roles
  5. In the “Actions” pane select “Configure Role”
  6. On the “Before You Begin” page check the box “Do not show this page again” à Next
  7. In the “High Availability Wizard” on the “Select Role” page choose “Hyper-V Replica Broker” à Next
  8. In the “High Availability Wizard” on the “Client Access Point” page input TeamX-Rep in the name field (where X is your assigned team number)
  9. In the “Address field” input the IP address listed in your lab manual page 4 as broker IP in your assigned list à Next
  10. In the “High Availability Wizard” on the “Confirmation” page à Next
  11. In the “High Availability Wizard” on the “Summary” page à Finish
  12. Validate you have a new role called TeamX-Rep that is online
  13. Right click on the TeamX-Rep object and select “Replication settings”
  14. On the “Hyper-V Replica Broker Configuration” check “Enable this cluster as a Replica Server”
  15. On the “Hyper-V Replica Broker Configuration” check the box “Use Kerberos” and validate port 80 is selected
  16. On the “Hyper-V Replica Broker Configuration” under “Authorization and storage” enable “allow replication traffic from any authenticated server” and input c:\ClusterStorage\Volume1 for the default location of the replica files à Ok
  17. On the “Hyper-V Replica Broker Configuration” popup click Ok

Leave a Comment

Hyper-V Labs part 4 Installing Windows Failover Clustering and Cluster Creation

1.     Installing Windows Failover Clustering and Cluster Creation

Introduction:

Microsoft first introduced failover clustering in NT 4.0 and has been improving the viability and feature set of Windows Failover Clustering with each release of Windows Server.  In the past many organizations felt clustering was too complex and difficult to manage. Windows Server 2012 has simplified the installation and build process, making clustering and much less feared solution.

Purpose:

In this lab you will install Windows Failover Clustering on your Hyper-V host and configure a 2 node Hyper-V cluster to allow your virtual machines to be highly available.

Estimated time of Lab: 30 Minutes

*This lab is to be done by both students*

  1. Launch the Server Manager Dashboard
  2. Select Dashboard pane and choose “Add Roles and Features”
  3. On the “Select Installation Type” page select “Role-based or features based installation” à Next
  4. On the “Select destination server ” page select your server (Student X where X is your assigned student number) à Next
  5. On the “Select server roles” do NOT make any changes à Next
  6. On the “Select features” page click “Failover Clustering”
  7. On the “Add Roles and Features” popup windows select “Add features” à Next
  8. On the “Confirmation installation selections” page  à Install
  9. After installation has completed select “Close”

**Only Student A will perform these steps ***

  1. Launch the Server Manager Dashboard
  2. In the top right hand corner of Server Manager select “Tools à Failover Cluster Manager”
  3. In “Failover Cluster Manager”  from the actions pane select “Create Cluster”
  4. On the before you begin page select “Do not show this page again” à Next
  5. In the “Create Cluster Wizard” on the “Select Server” page input StudentX (where X is your assigned student number) à Add  à Next
  6. On the validation warnings page select the radius button “No” à Next
  7. In the “Create Cluster Wizard” on the “Access Point for Administering the Cluster” page under “Cluster Name” input TeamX (where X is your assigned number)
  8. Type the IP address assigned for you cluster in the address field à Next

*This address can be found in Environment information: on Page 6 of the workshop manual*

  1. In the “Create Cluster Wizard” on the “Confirmation” page à Next
  2. In the “Create Cluster Wizard” on the “Summary” page select “view report”. After reviewing the report close the report windows à Finish

** Only Student B will perform these steps once the previous steps have been completed by Student A  ***

  1. Launch the Server Manager Dashboard
  2. In the top right hand corner of Server Manager select “Tools à Failover Cluster Manager”
  3. In the Actions pane select “Connect to a cluster”
  4. In the “Select Cluster” windows under cluster name input TeamX (where X is the assigned team number) à Ok
  5. Expand the Node TeamX.HVLAB.LOCAL à Select Nodes
  6. In the actions pane select “Add Node”
  7. In the “Add Node” window on the “before you begin” check the box “Do not show this page again” à Next
  8. In the “Add Node Wizard” on the “Select Server” page input StudentX (where X is your assigned student number) à Add  à Next
  9. In the “Add Node” wizard on the “Validation warning” enable “no” à Next
  10. On the “Add Node wizard” on the confirmation page uncheck “Add all eligible storage to the cluster” à Next
  11. On the “Validate a configuration wizard” on the “Summary” page select “view report”
  12. Close the report à Finish
  13. Expand TeamX.HVLAB.LOCAL cluster
  14. Expand storage and select “Disks”
  15. Minimize Failover cluster manager
  16. Launch Server Manager
  17. In the top right hand corner of Server Manager select Tools à Computer Management
  18. Expand storage
  19. Select Disk Management à Right click  Disk2  (**Note this will be the 150GB disk) àOnline the disk
  20. Right click disk 2 (**Note this will be the 250GB disk) à Initialize disk (If you do not have this option skip to step 44)

*Since the storage is reused from previous workshops this step many not be required

  1. On the Initialize disk wizard validate disk 2 is selected and leave the defaults à OK
  2. Right click on the unallocated space à Select “New simple volume”
  3. On the New simple volume wizard à Next
  4. On the specify volume size leave the default settings à Next
  5. Select the radius button “do not assign a drive letter or drive path” à Next
  6. On the Format volume wizard leave the defaults à Next
  7. On the New simple volume wizard à Finish
  8. Close Computer Manager
  9. Maximize Failover cluster manager
  10. Right click TeamX.HVLAB.Local and select validate cluster
  11. On the Validate configuration wizard check “Do not show this page again” à Next
  12. On the Testing Options page select “Run only tests I select” à Next
  13. On the Test selection page uncheck all options except storage à Next
  14. On the Confirmation page à Next
  15. On the Summary page à Finish
  16. Under storage select disks
  17. In the “Actions” pane select “Add disk”, in the “Add disk to cluster”  validate the cluster disk is selected à Ok
  18. Right click on “Cluster disk 1” and select “Add to Clustered Shared Volumes”
  19. Right click Teamx cluster and select “More actions” à Configure cluster quorum settings”
  20. In the “Configure Cluster Quorum Wizard”  on the “before you begin page” check the box “do not show this page again” à Next
  21. In the “Configure Cluster Quorum Wizard”  on the “Select Quorum configuration options” select “Advanced quorum configuration witness selection” à Next
  22.  In the “Configure Cluster Quorum Wizard”  on the “Select voting configuration” validate “All Nodes” is selected à Next
  23. In the “Configure Cluster Quorum Wizard”  on the “configure quorum management” validate “allow cluster to dynamically manage the assignment of node votes” is selected à Next
  24. In the “Configure Cluster Quorum Wizard”  on the “Select Quorum Witness” page select “Configure a file share witness” à Next
  25. In the “Configure Cluster Quorum Wizard”  on the “Configure File Share Witness” input \\HVLABDC\FSW\TeamX where X is your assigned team number à Next
  26. In the “Configure Cluster Quorum Wizard”  on the “confirmation” page à Next
  27. In the “Configure Cluster Quorum Wizard”  on the “Summary” page à Finish

Leave a Comment

Hyper-V Labs Part 3 Working with Server Manager

1.     Working with Server Manager

Windows Server 2012 has dramatically changed the way in which Server Administrators can manage the infrastructure. The new Server Manager UI allows an administrator to install roles and features on remote systems, create dashboards and holistically managed the Server infrastructure.

1.1             Creating a Server Group

Introduction:

Server Manager has been dramatically changed in Window Server 2012 and will be become an integrated part of any Server Administrators management process.

Purpose:

In this lab you will create a custom server group consisting of your server

Estimated time of Lab: 5 minutes

*This lab is to be done by both students*

  1. Launch the Server Manager Dashboard
  2. In the middle pane under “Configure this local server” select  “create server group”
  3. In the “Create Sever Group” dialog box under “Server Group Name” input StudentX (where X is your student number)
  4. In the “Create Sever Group” dialog box select  StudenX (where X is your student number) and click  the arrow to move your server to the assigned column à Ok
  5. On the Server Manager Dashboard you will now see a new group called StudentX (where X is your student number) select the group StudentX

 

1.2             Managing a Server Group

Introduction:

Server Manager offers a number of rich enhancements that will allow a Server Administrator to easily get enhanced data about that system you manage.

Purpose:

In this lab you will edit a number of settings in Server Manager to enable BPA scan, performance monitoring, and custom event views.

Estimated time of Lab: 10 minutes

*This lab is to be done by both students*

  1. Launch the Server Manager Dashboard
  2. Select the Server Group “StudentX” (where X is your assigned student number)
  3. Scroll down to the “Best Practice Analyzer” section
  4. In the “Best Practice Analyzer” section select  task  à start BPA scan
  5. Review the BPA results
  6. Scroll down to the “Performance”
  7. In the “Performance” section  select task à “configure performance alerts”
  8. On the “Set performance alert threshold” change the CPU % = 70 and the Memory = 3
  9. On the “Set performance graph display  period” change the drop down to 2 à Save
  10. In the “Performance” section  select  your server StudentX (where X is your assigned student number)
  11. Right click  StudentX (where X is your assigned student number) à “Start Performance Counters”

*Note it will take a few minutes to aggregate the server data, continue the lab and you can review the data at a later time *

  1. Scroll to the “Events” section of your server group
  2. In the “Events” section select  task à “Configure event data”
  3. At the bottom of the “configure event data” window select the drop down menu for “get events from the following event log files”
  4. Scroll down and select all options that contain “Microsoft –Windows-Hyper-V”  à Ok
  5. Review any event logs listed

Leave a Comment

Hyper-V Labs Part 2

Install Hyper-V and Configure Hyper-V

 

Introduction:

Installing and configuring Hyper-V is the first step in your organization to building and deploying Microsoft’s hypervisor.

Purpose:

In this lab you will install Hyper-V on a Windows 2012 Server and make basic configuration changes that will allow the Windows Server to host virtual machines.

Estimated time of Lab: 30 minutes

*This lab is to be done by both students*

  1. Launch the Server Manager Dashboard
  2. Select Dashboard and choose “Add Roles and Features”
  3. On the “Installation Type” page select “Role-based or features based installation” à Next
  4. On the “Server Selection” page select your server (Student X where X is your assigned student number) à Next
  5. On the “Select server Roles” page  check the box labeled “Hyper-V”
  6. On the popup window “Add Roles and Features” select “Add Features”
  7. On the “Select server Roles” page check  the box labeled “Remote Desktop Services” à Next
  8. On the “Select Features” page accept the defaults à Next
  9. On the “Hyper-V” page à Next
  10. On the “Create Virtual Switch” page under Network Adapters select the adapter labeled MGMTà Next
  11. On the “Virtual Machine Migration” do NOT make any changes à Next
  12. On the “Default Stores” page do NOT make any changes à Next
  13. On the “Remote Desktop Services” page à Next
  14. On the “Select role services” check the box “Remote Desktop Virtualization Host
  15. On the popup window “Add Roles and Features” select “Add Features” à Next
  16. Check the “Restart destination server automatically if required” box
  17. Click “Yes” on the popup window to confirm the auto restart for the installation à Install

*Note: the Physical host will reboot 2 times to install the hypervisor this will take approximately 10 minutes *

  1. On the “installation progress” page select “close”
  2. Close all open windows expect for Server Manager
  3. In the top right hand corner of Server Manager select “Tools à Hyper-V Manager”
  4. In Hyper-V Manager select your Server “Student X” (where X is your assigned student number)
  5. In the Actions pane on the right select “Virtual Switch Manager”
  6. Under “Virtual Switches”  select the “Broadcom Netextreme” virtual switch
  7. On the “Virtual Switch Properties” page in the “Name” section change the name of the virtual switch to be “TeamX-VS” where X is your assigned team number

*Note use exact name with capital T and VS

  1. On the “virtual switch” properties  select “Yes”

Leave a Comment

Hyper-V Labs part 1

In the following series I will be posting labs that you can walk through to assist virtualization administrators in learning Hyper-V. To follow the labs you will need two machines capable of running Windows Server and Hyper-V and some shared storage. Note Windows can act as an iscsi san.
Workshop Setup

The environment also hosts 3 additional VMs running the following services: 1. RDS Web 2. RDS Connection broker and 3. VMM 2012 Sp1. These additional servers will be key components to facilitate VDI and Virtual Machine Management Labs.

Environment information:

Student/Username           Student assignment              Host Name               Team Number          Host IP          Cluster IP         Broker IP
Student 1                               A                                             Student1                             1                            x.x.x.50          x.x.x.52             x.x.x.53
Student 2                               B                                             Student 2                           1                            x.x.x.51           x.x.x.52             x.x.x.53

Active Directory Configuration
A single Domain Controller running Windows Server 2012 and host the additional roles of DHCP and File Server.
Active Directory Domain Controller Logon Password DC IP Shares DHCP Scope
HVLAB.LOCAL HVLABDC Administrator Pass@word1 x.x.x.10 FSW X.X.X 180- X.X.X 200

Assumptions:
1. You have already setup active directory
2. You have 2 physical machines that have Windows Server 2012 (r2) installed

Converting a Windows 2012 Server to Core
In the past Windows Server Core provided a limited set of functionality however in Windows Server 2012 Server Core has been enhanced and provides administrators with the ability to move between Server Core and a GUI based Windows Server. Windows Server now provides 3 modes: GUI, Core, and Core with management tools.

Introduction:
Windows Server 2012 now provides the flexibility to move between Windows Server core and a Windows GUI environment. This allows an administrator who may not be as familiar with powershell and command lines to add a GUI back to a server to perform task and then remove the GUI.

Purpose:
In this lab you will remove the graphical user interface from your Windows 2012 server and then add it back.

Estimated time of Lab: 20 minutes

1. Launch the Server Manager Dashboard
2. In the top right hand corner select Manage “Remove roles and features”
3. On the “before you begin” page check the box “Skip this page by default”  Next
4. On the “Server Selection” page select your server (Student X where X is your assigned student number)  Next
5. On the “Select server Roles” page  Next
6. On the “Remove Roles and features” scroll down to “User interfaces and infrastructure”
7. Remove the check box for “Server Graphical shell”  Next
8. On the “Confirm Removal Selections” check the box “Restart destination server automatically if required”
9. On the popup window click “Yes” to allow the restart  Remove
*Note: the server will reboot
10. Once you logon you will now be presented with a command window and Server Manager
11. Minimize server manager to see the command window and type “Powershell” 
12. In the command window type “Add-WindowsFeature Server-GUI-Shell” 
13. After the feature is installed we will need to reboot the machine, type “Restart-Computer” 

Leave a Comment

css.php