Scenario
You must now configure the network infrastructure for the virtualization deployment.
The main tasks for this exercise are as follows:
1. Configure logical networks that your design requires 2. Configure network virtualization
3. Assign Virtual Machines to VM Networks 4. To prepare for the next module
MCT USE ONL Y. STUDENT USE PROHIBITED
Implementing an Advanced Server Infrastructure 3-33
Task 1: Configure logical networks that your design requires Create the logical network
1. On LON-VMM1, on the task bar, click the Virtual Machine Manager console button.
2. In the Fabric workspace, create a Logical Network named Toronto Production Network. Enter a Description of Adatum Toronto – Production Logical Network, and then click Allow new VM networks created on this logical network to use network virtualization. Click Next.
3. On the Network sites page, click Add, and then in the Host groups section, select All Hosts.
4. Click Insert row, and then click in the VLAN field. Type 0, click the IP subnet field, and then type 172.16.3.0/24, click Next, and then click Finish.
5. Close the Jobs window.
Create an IP pool
1. In the Fabric workspace, create and assign an IP Pool named Toronto Apps to the Toronto Production Network network site. On the Network site page, click Use an existing network site, select Toronto Production Network_0, click the IP subnet drop-down list box, select
172.16.3.0/24, and then click Next. Reserve the 172.16.3.100-172.16.3.120 range for load balancer virtual IPs (VIPs), and then assign 172.16.3.1 for the gateway. In the description field, type Toronto Production Application IP Pool.
Create a native port profile
1. Create a Native Port Profile named Toronto Default Network Adapter. This should be an Uplink port profile that you assign to the Toronto Production network site, and for which you enable Network Virtualization.
Create a logical switch
1. Create a logical switch named Toronto Logical Switch, and then associate this with the Toronto Default Network Adapter.
2. Add the port classifications and virtual network adapter port profiles for the following:
• Host management/Host management
• Live migration workload/Live migration
• Host Cluster Workload/Cluster
• High bandwidth/High Bandwidth Adapter 3. Close the Jobs window.
Add the Microsoft Loopback adapter
1. On LON-HOST1, open the Control Panel, open Device Manager then right-click LON-HOST1, click Add legacy hardware, the Add Hardware wizard launches.
2. Follow the wizard, choose to Install the hardware that I manually select from a list, add a Network adapter, the Network adapter Manufacturer is Microsoft and the type is Microsoft KM-TEST
Loopback Adapter. Complete the Wizard.
Refresh LON-HOST1
1. On LON-VMM1, open the Virtual Machine Manager console.
2. Click the Fabric workspace, expand Servers, expand All Hosts, expand London Hosts, right-click LON-HOST1, and then click Refresh.
MCT USE ONL Y. STUDENT USE PROHIBITED
3-34 Planning and Implementing Networks and Storage for Virtualization
Update Hyper-V hosts to use logical networks
1. From the Fabric workspace, right-click LON-HOST1, click Properties, click Virtual Switches, click New Virtual Switch, and then click New Logical Switch. Under Physical adapters, click the Adapter dropdown, and then select Microsoft KM-TEST Loopback Adapter.
2. On the Properties page, click Hardware, and scroll down and expand Network adapters. Click the Microsoft KM-TEST Loopback Adapter you can see the adapter is available for placement.
3. Click the Logical network that is listed under the Microsoft KM-TEST Loopback Adapter, and then on the right of the Hardware page under Logical network connectivity, click Toronto Production Network, click OK, read the warning, and then click OK.
Task 2: Configure network virtualization Enable the Windows Network-Virtualization Filter driver
1. On LON-HOST1, from Server Manager, click Local Server, and in the Properties area, click 172.16.0.31, IPv6 enabled. This opens the Network Connections page.
2. In the Network Connections page, right-click the physical adapter, and then select Properties.
3. Enable the Windows Network-Virtualization Filter Driver, and then click OK.
Refresh LON-HOST1
1. On LON-VMM1, open the Virtual Machine Manager console.
2. Click the Fabric workspace, expand London Hosts, right-click LON-HOST1, and then click Refresh.
Configure a virtual machine network for the application servers by using network virtualization 1. In the Virtual Machine Manager console, click the VMs and Services workspace. On the ribbon, click
Create VM Network.
2. On the Name page, in the Name field, type Toronto Applications VM Network, click the Description field, and then type Toronto Application Servers. Click the Logical network drop-down list box, select Toronto Production Network, and then click Next.
3. On the Isolation page, click Isolate using Hyper-V network-virtualization, and then click Next.
4. On the VM Subnets page, click Add, and in the Name field, type Toronto Application Servers. In the Subnet field, type 172.16.3.0/24, and then click Next.
5. On the Gateway page, leave No connectivity selected, and then click Next. Review the summary, and then click Finish.
6. Close the Jobs window.
7. Repeat steps 1 through 6 to create a VM network named Toronto Partner_Applications VM Network, and then use the same subnet.
Create the VM Network IP pools
1. In the VMs and Services workspace, click VM Networks, click Toronto Applications VM Network, and then right-click and click Create IP Pool.
2. On the Name page, click the Name field, and then type Toronto Applications VM IP Pool. Make sure that the VM Network is set to Toronto Applications VM Network and that the VM subnet is set to Toronto Application Servers (172.16.3.0/24), and then click Next.
3. On the IP address range page, leave the defaults, and then click Next.
4. On the Gateway page, click Next, and then on the DNS page, click Next. On the WINS page, click Next, and then on the Summary page, click Finish. Close the Jobs window.
MCT USE ONL Y. STUDENT USE PROHIBITED
Implementing an Advanced Server Infrastructure 3-35
Task 3: Assign Virtual Machines to VM Networks Assign virtual machines to VM Networks
1. In the Virtual Machine Manager console, click the VMs and Services workspace. On the ribbon, click the upper half of the Create Virtual Machine button.
2. On the Select Source page, click Create the new virtual machine with a blank virtual hard disk, and then click Next.
3. On the Specify Virtual Machine Identity page, in the Virtual machine name field, type TOR-CRM1, and then click Next.
4. On the Configure Hardware page, click Network Adapter 1, and then under Connectivity, click Connected to a VM Network. Click Browse, and then select Toronto_Applications VM Network, and then click OK. Under the Port Profile section, click the Classification drop-down list box. This is where you can assign the native port virtual adapter profiles. Select High bandwidth, and then click Next.
5. On the Select Destination page, click Next.
6. On the Select Host page, in the details section, click the Rating Explanation, you should see: This destination meets all the requirements of this virtual machine, click Next.
7. On the Configure Settings page, leave the default settings, and then click Next. On the Add Properties page, click Next, and on the Summary page, click Create.
8. Close the Jobs window.
Review the virtual machine
1. From the VMs and Service workspace, review the network properties of TOR-CRM1, and then confirm that it has been assigned an IP address and is part of the correct VM Network.
Task 4: To prepare for the next module
• Do not revert the virtual machines, as you will need them for the next module.
MCT USE ONL Y. STUDENT USE PROHIBITED
3-36 Planning and Implementing Networks and Storage for Virtualization
Module Review and Takeaways
Best Practice:
Storage and networking bandwidth is crucial when you are planning. Always look for bottlenecks, and calculate the amount of data that will transfer point-to-point. For example, if you host 500 servers on a SAN, and schedule an antivirus sweep, what is the impact?
Common Issues and Troubleshooting Tips
Common Issue Troubleshooting Tip
Virtual machines are all paused.
Random iSCSI connectivity issues.
Live migrations fail, poor connectivity to virtual machines.
Review Question
Question: What is a benefit of logical switches?
Real-world Issues and Scenarios
After creating various logical networks and VM Networks, you are unable to remove a VMM object due to an error with a dependency on a temporary template. If this happens, you can remove the template by using Windows PowerShell.
In the VMM console, on the ribbon, click Windows PowerShell, and then at the command prompt, type the following command, and then press Enter:
Get-SCVMTemplate | where {$_.Name -like "Temporary*"}
Review the output, and confirm the only listed item is the suspicious temporary template, and that you do not have valid templates with the name “Temporary” in them.
Remove the problematic template by typing the following command at the command prompt, and then pressing Enter:
Get-SCVMTemplate | where {$_.Name -like "Temporary*"} | Remove-SCVMTemplate
This should clear the dependent template, which will allow you to delete objects, such as a VM Network.
Tools
Microsoft Assessment and planning toolkit (MAP) http://go.microsoft.com/fwlink/?LinkID=285277
MCT USE ONL Y. STUDENT USE PROHIBITED
4-1