Book Review: Optimizing And Troubleshooting Hyper V Networking 2013

If you want to learn how to optimize and troubleshoot Hyper-V, then this book, written by Microsoft people whose day job is to assist customers with precisely with these issues, is a safe bet. It is not, however, a book for anyone struggling to come to grips with the basics of Hyper-V

This book is written by Microsoft FTEs (Full-time Employees) who work on the customer issues every day, so it is as rich in information as you’d suspect. There is no doubt that Hyper-V Server Virtualization is a hot topic amongst the virtualization administrators nowadays, but you cannot find one book that covers all aspects of Hyper-V networking within it. This book, as the title indicates, is geared primarily towards optimization, monitoring and troubleshooting of Hyper-V Networking.

1937-HyperV.gif

If you looking for information on optimizing, monitoring and troubleshooting issues with Hyper-V Networking, then this book is a good choice. Virtualization administrators or consultants will keep it within reach. Beginners unfamiliar with Hyper-V networking, on the other hand, will struggle to get any benefit from it. This is because chapters covered in the book focus more on the troubleshooting than the way that Hyper-V Networking actually works. It is a collection of chapters from several authors, edited by. Mitch Tulloch and it the first on this topic to include best practices, tips, tricks, and examples on how to troubleshoot issues with Hyper-V Networking

Virtual Networking

Virtual Networking is the core component of any virtualization product. VMware has its own networking components to implement virtual networking. The concepts behind the implementation of virtual networking varies from vendor to vendor. Microsoft has invested a lot of time i on the technologies of Server Virtualization in order to close the gap on VMware who are currently considered within the industry to be the leader in the virtualization market. Any virtualization vendor would focus more on the core components, of which one is virtual networking. Virtual networking provides connectivity to virtual machines running on remote Hyper-V servers or the enterprise LAN.

Virtual Networking and this book

 “Optimizing And Troubleshooting Hyper V Networking 2013” covers the best practices, tips, monitoring and diagnosing issues with Hyper-V virtual networking. You create virtual switches to provide connectivity for the virtual machines, but it is not enough merely to provide the connectivity for the virtual machine. You must also ensure that virtual networking components work efficiently and can be monitored. Once alerted to a problem, the administrator needs to diagnose and fix these issues rapidly. This book provides the information you need to run virtual networking components efficiently and also help you diagnose the issues without much network downtime. This is essential information: M any virtualization admins are unaware of which tool they can use to diagnose the issues with Hyper-v Networking. It is a challenge to minimize the network downtime without knowing the correct approaches to diagnose the issue and then get to the root cause.

Windows Server 2012 includes a number of new and enhanced networking features that can help reduce networking complexity while lowering costs, simplifying management tasks, and delivering services reliably and efficiently. Each section in this book is covered by a Microsoft FTE, which is knowledgeable in that area.

With all the new features of Hyper-V networking covered, you will learn everything from optimizing virtual networking environment to troubleshooting issues. This book focuses more on the virtual networking features introduced in Windows Server 2012.

Topics covered

Hyper-V Networking Tips

The book starts with some best practices for Hyper-V networking and a few troubleshooting tips that Hyper-V administrator might find handy. Jeff Stokes, a Senior Premier Field Engineer working at Microsoft, covers this section by introducing tips and best practices for Hyper-V virtual networking.

We learn why it is necessary to install separate network adapters on Hyper-V server and when you should utilize Windows Server 2012’s QoS policies to restrict usages of different types of traffic, for example “Live Migration”. This section also covers a topic on VLAN concepts and troubleshooting and the PowerShell cmdlets that you can use to get information on VLAN IDs.

The “Hyper-V Networking Tips” section also covers some information on Hyper-V MAC Addresses and network card drivers.

Monitoring Network Performance

You can not just sit and relax after implementing, for the first time, a technology in your server environment. You must also ensure that you monitor the techno logy after implementing it in production. You either use a set of networking tool s to monitor performance of Hyper-v Networking or use the available native tools. This section provides enough information as to how you can monitor a Hyper-V Networking environment by using the Performance Monitoring Tool available with windows. It provides details on performance counters you can use to monitor Physical Network Adapters, virtual network adapters and Hyper-V virtual switch.

This section is covered by Thomas Roettinger who is a Program Manager in the Partner and Customer Ecosystem Team at Microsoft.

Virtual Switch and Diagnostics

Madhan Sivakumar, a Software Development Engineer II on the Windows Core Networking team at Microsoft, explains how you can reduce network downtime using the rich diagnostics available for the Windows Server 2012 Hyper-V virtual switch.

This chapter focuses on diagnosing issues with Virtual Switch in particular. It explains several mechanisms to troubleshoot issues with Hyper-V virtual switch. For example, the performance counters that you can use to diagnose issue s with networking connectivity and how you can use the packet capture tool to get to the root cause. Windows Server 2012 introduces new feature s for debugging and generating log files for diagnostic issues with networking without following any tedious and time- consuming processes.

MAC Addresses

There is a separate section dedicated to Hyper-V MAC Addresses. Although the chapter on “Hyper-V Networking Tips” covers an overview of MAC Addresses, a fair amount of supporting detail has been added to this chapter covering how to detect MAC Address duplication issues and the behavior of MAC Address during live migration. Additional resources provided in this chapter help you learn more about Hyper-V MAC Addresses and issues related to it.

Failover Cluster Networking

This section covers those considerations for configuring your cluster network, optimizing cluster health monitoring for transient cluster network failures, and networks used for the CSV redirected traffic. Hyper-V uses Windows Failure Cluster to implement high availability for virtual machines. The nodes in the cluster are monitored using the heartbeat. You learn about the different heartbeat configuration and how to modify these properties using a PowerShell cmdlet.

The section also explain s the CSV network selection flow for the different file sharing protocols (SMB Multichannel and NetFT) available.

This section is covered by Subhasish Bhattacharya who is a Program Manager with the Clustering and High Availability team at Microsoft.

Single Root I/O Virtualization

Hyper-V in Windows Server 2012 includes built-in support for SR-IOV-capable network devices to allow an SR-IOV virtual function of a physical network adapter to be assigned directly to a virtual machine. This increases network throughput and reduces network latency for virtual machines running on Hyper-V hosts while also reducing the host CPU overhead required for processing network traffic.

This section is explained by Keith Hill, a Senior Support Escalation Engineer with the Windows Server Core High Availability Team who provides a great amount of detail on “Single Root I/O Virtualization” feature which covers the basics of SRV, how SRV works, enabling SRV for virtual machines and walks us through a troubleshooting example.

Hyper-V Network Virtualization

Hyper-V Network Virtualization is a new topic and everyone would like to know how it works and troubleshoot issues with this technology. While the section does not provide enough details on how Hyper-V Network Virtualization works, but do explain the necessary troubleshooting steps needed to troubleshoot issues with HNV.

This chapter has guidance provided by two individuals working at Microsoft. First, Nick Eales, a Senior Premier Field Engineer, demonstrates how to troubleshoot an issue involving two virtual machines that can’t communicate even though they are on different hosts but on the same virtual machine network. Then Tim Quinn, a Support Escalation Engineer, goes into detail concerning tracing the Hyper-V Network Virtualization components.

Multitenant Networking: Single Cluster and IaaS environment

There are two sections covering networking on Multitenant.

Jason Dinwiddie, a Senior Consultant with Microsoft Consulting Services, describes in some detail the different scenarios you can use to implement multitenant networking using a single failover cluster of Hyper-V hosts. By choosing the right scenario you can optimize the performance of your environment, provide redundancy against various kinds of network failure, and ensure isolation between tenants.

In the “Multitenant Networking: IAAS Environment” chapter, Shabbir Ahmed, a Partner Enterprise Architect with the Partner Enterprise Architect Team, provides some guidance on designing and implementing Hyper-V networking in a multitenant IaaS environment. He examines different scenarios for implementing multitenant isolation, including physical separation and layer 2/3 isolation.

Hyper-V Replica Troubleshooting

In this chapter, Mark Ghazai, a Data Center Specialist with the Microsoft U.S. State and Local Government group, demonstrates how to troubleshoot network replication issues in an environment where Hyper-V Replica has been set up.

This chapter completely focuses on troubleshooting issues with Hyper-V Replica environment. It does not provide details on the basics of Hyper-V Replica. I would recommend you reading a series I wrote here which provides enough information on Hyper-V Replica.

Other Chapters

The book also covers sections on other Hyper-V Networking features. For example, you can get more information on how to optimize and troubleshoot issues with Hyper-V Replica and other networking components. Although, the chapter “SMB Multichannel and CSV” does not provide enough detail on troubleshooting SMB and CSV components, but explains the mechanism used by the SMB Multichannel and CSV to redirect traffic, which is covered by Cristian Edwards Sabathe who is EMEA PFE Regional Workload Lead for Server Virtualization.

Keith Hill, a Senior Support Escalation Engineer with the “Windows Server Core High Availability Team” explains “N_Port ID Virtualization” (NPIV). NPIV is a technology available in a Fibre Channel (FC) storage area network (SAN) that allows multiple N_Port IDs to share a single physical N_Port on the SAN.

Port Mirroring” chapter is covered by Thomas Roettinger, a Program Manager with the Partner and Customer Ecosystem Team at Microsoft who walks through a basic demonstration of how to use port mirroring. Thomas Roettinger also explains an example on running out of virtual machine queues (VMQ) in “Virtual Machine Queue” chapter.

Additional Resources

Hyper-V Virtual networking is a broad topic. It is sometimes difficult to provide all resources in one book. Throughout this book, necessary links are provided for you to read more on the subject as shown in the below screenshot taken from the book.

1937-e12637a3-d7ab-436b-a77a-151b7927636

Configuration

While the book focuses more on how to optimize and troubleshoot issues with the Hyper-V Networking, it does not attempt to inform the reader how to configure Hyper-V Networking features. If you want to learn more about how Hyper-V Networking works, please read Hyper-V articles published at Simple-Talk.com in SysAdmin section.

Recommendations

This book is essential for anyone who already has a sound knowledge of Hyper-V networking and who who needs to learn how to monitor, diagnose and optimize it. There are some topics which have been covered in great detail whereas other aspects are mentioned only in terms of troubleshooting. For example, the troubleshooting of Hyper-v Network Virtualization is covered in great detail but no light is shed on the basics.

From the beginning, the book provides information on networking tips and best practice items you should follow and then continue to focus on troubleshooting each networking component which are covered throughout the sections of this book.

Overall, this book is a very good resource for virtualization administrators who want to learn ways of reducing downtime with Hyper-V Networking by using the tools provided by Microsoft. It is great for helping to get to the root cause of any performance issues, but is certainly not recommended for a beginner with Hyper-V.