Skip to main content

Über dieses Buch

Successfully create and manage your Hyper-V environment without any of the marketing fluff. This book's lab-driven, hands-on approach will get you up and running as quickly and efficiently as possible.

Virtualization is the cornerstone of today’s data center. As a modern-day IT pro, you are required to manage environments that are in a regular state of flux and increasing in both size and complexity. To keep up, you need practical information in a format that is succinct, yet comprehensive and highly applicable.

Pro Hyper-V 2019 breaks down critical and time-saving topics into a series of easy-to-digest chapters, showing you how to perform Hyper-V management tasks using both GUI and PowerShell-based tools. Building on your existing knowledge of Windows Server management, Active Directory, networking, and storage, experts and Microsoft MVPs Syrewicze and Siddaway begin with a foundation of why computing workloads are virtualized. This is followed by chapters covering the range of management tasks associated with virtualized environments, including: managing hosts and guest machines; networking, storage, and high availability (host and guest); disaster recovery and virtual machine migration; and monitoring.

What You'll Learn

Apply practical information to administer your Hyper-V environments

Understand multiple administration styles (GUI, command line, and automation)

Written by IT pros for IT pros – just the information you really need without the padding

Administer and use containers

Utilize hands-on labs to learn about storage, networking, and high availability

Who This Book Is For

IT administrators tasked with implementing Hyper-V environments or migrating from VMware. IT pros joining a team that is responsible for managing Hyper-V and “lone administrators” covering the gamut in smaller organizations will also find this book indispensable.



Chapter 1. Introduction to Hyper-V

Do you remember the days of physical servers? Generally, the rule of thumb was to have one major role or application per server. That was mainly because many applications and services just did not play well together. They had to be separated, so that they couldn’t fight among themselves and cause problems for users on the network. The unfortunate side effect of this practice was that all of these physical servers were, on average, utilizing 20% of their resources, meaning 80% of those resources were being wasted. We don’t pour a glass of water only to drink 20% of it and waste the rest, do we? We don’t live in only 20% of our homes, do we? Clearly, resource utilization in IT needed a makeover. This is where virtualization technology comes in.
Andy Syrewicze, Richard Siddaway

Chapter 2. Configuring Hyper-V Host Settings

We’ve been digging through introductions and theory for some time, so it’s now time to put that to practical application. We’ll start by configuring the host settings of a stand-alone Hyper-V host. Hyper-V Manager will be used to complete these tasks, as it provides all of the needed functionality to connect to hosts, create virtual machines (VMs), and manage them.
Andy Syrewicze, Richard Siddaway

Chapter 3. Creating Your First Hyper-V Virtual Machine

You’ve had introductions to Hyper-V’s architecture, and you’ve learned how to configure the core Hyper-V host settings. In this chapter, you’ll be setting up a new virtual machine (VM), which will contain an operating system (OS) and its own virtual hardware. Remember that a VM is its own isolated entity that functions much the same as a physical server. As you complete the exercises in this chapter, you’ll find that working with a VM is no different than interacting with a remote physical server.
Andy Syrewicze, Richard Siddaway

Chapter 4. Configuring Basic Virtual Machine Resources and Settings

In Chapter 3, you learned how to create a virtual machine (VM) from scratch, and configure resources attached to the VM. However, what was accomplished in Chapter 3 isn’t a complete view of the settings and configuration of a VM. Nor are you stuck with the configuration defined in Chapter 3, which would be counterproductive and break one of the primary benefits of virtualization: flexibility! No, there is far more that can be done with a VM, once it is established. The goal of this chapter is to review the options and settings that aren’t available through the New Virtual Machine Wizard.
Andy Syrewicze, Richard Siddaway

Chapter 5. Managing and Maintaining Hyper-V Integration Services

Over the last several chapters, you’ve learned about creating and working with virtual machines (VMs). You’ve also learned that in order to facilitate some of the advanced functionality that Hyper-V provides, the guest operating system (inside a VM) must pass information to the hypervisor. Owing to the separation that virtualization provides, how does this process occur?
Andy Syrewicze, Richard Siddaway

Chapter 6. Managing and Modifying Virtual Machine Files

In previous chapters, you’ve learned to use Hyper-V Manager and PowerShell to create and modify virtual machines (VMs). VMs can be considered to be a collection of files, at their most basic level. There are some management and operational tasks around the VM files that you need to be aware of and consider when managing Hyper-V environments. These tasks include locating and managing the underlying VM files, determining their default locations, and extending virtual hard disks. This is what you’ll learn in this chapter.
Andy Syrewicze, Richard Siddaway

Chapter 7. Utilizing Hyper-V Checkpoints for Software Upgrades

If you’ve been in IT world for any length of time, you know that software upgrades are a part of life. Every month, you get a list of patches from Microsoft that must be applied to both the operating system (OS) and all of the Windows Server roles and features inside your environment. Eventually, something breaks as a result of applying a patch. If only there were a way to quickly roll back a failed patch. Or maybe you have a testing routine in place in your organization that would be made easier if you could simply click a go-back button. Well, we’re going to talk about one such technology throughout this chapter: Hyper-V Checkpoints.
Andy Syrewicze, Richard Siddaway

Chapter 8. Connecting Virtual Machines to the Physical Network

So far, we’ve focused on the use and configuration of virtual machines (VMs). We’ve built a number of VMs, but they’re not yet able to talk to the physical network. In this chapter, we’ll configure the networking on the host, so that VMs can connect to the physical network.
Andy Syrewicze, Richard Siddaway

Chapter 9. Connecting Hyper-V Hosts to Storage Infrastructure

One constant in the world of IT is that data will forever continue to grow. The rate at which business organizations create new data is astounding. That data has to be safely stored and made accessible for your end users. This doesn’t change in virtualization scenarios. There are a number of ways to connect a Hyper-V environment to the data, including local storage, Internet Small Computer Systems Interface (iSCSI)–based storage arrays, and SMB 3.0 file shares. Each medium has its own pros and cons, and the connectivity method and best practices are different, depending on the type of storage used. This is what we’ll be talking about in this chapter.
Andy Syrewicze, Richard Siddaway

Chapter 10. Providing High Availability for Hyper-V Virtual Machines

Servers from first-tier vendors have built-in component redundancy, owing to multiple CPUs, network cards, power supplies, and so on. This means that they can last for years without failure. Your storage systems can be configured to protect your data against single or even multiple simultaneous disk failures. You can expect a server configured such as this to give reliable service for a long time, but you only have a single server. If it does fail, you’ve lost your data, your virtual environment, or whatever application the server is running. More important, your users have lost access to their applications, and your organization may be losing revenue. Losing a server running a single application is bad. Losing the server that hosts a number of virtual machines (VMs) could be catastrophic for your organization.
Andy Syrewicze, Richard Siddaway

Chapter 11. Using Failover Cluster Manager to Manage Hyper-V Clusters

In the previous chapter, you saw how to create a Hyper-V cluster. As with anything in IT, creating the cluster is the easy bit. You’ve then got to manage it. You’ve already seen how to manage Hyper-V hosts using Hyper-V Manager, which is an excellent tool for managing one or more stand-alone hosts. When you cluster Hyper-V hosts, you manage them as a cluster, using Failover Cluster Manager.
Andy Syrewicze, Richard Siddaway

Chapter 12. Clustering Hyper-V Guests

You’ve seen, in Chapter 10, how to cluster Hyper-V hosts to provide high availability to your virtual machines (VMs). In this chapter, we’ll look at clustering Hyper-V guests. Rather than clustering the hosts, we’ll cluster the VMs running on your hosts. Clustering at the level of the guest machines provides an additional level of resiliency and protection for your VMs. Just as you can’t have too much protection when rock climbing, your business-critical applications can never be overprotected.
Andy Syrewicze, Richard Siddaway

Chapter 13. Monitoring Hyper-V and Associated Guest VMs

It’s one thing to set up and install a new workload, it’s another thing entirely to keep it running. Any workload that’s been in production for some time requires a bit of attention now and then. Maybe resources configured for a virtual machine (VM) at installation are no longer sufficient for the running workload. Maybe a new driver was installed on the host, and now it’s causing issues with the storage. Maybe every single VM on the host is running slow, but you’re not entirely sure why. These examples are possible issues you’ll run into while maintaining a virtualization environment. How are you, the administrator, going to locate those issues and resolve them, once you’ve found them. That’s the question we’ll be answering in this chapter.
Andy Syrewicze, Richard Siddaway

Chapter 14. Migrating Virtual Machines Between Hosts

Eventually, you’ll have to move virtual machines (VMs) from one Hyper-V host to another. With stand-alone hosts, this could be owing to the physical server requiring an upgrade or even being retired. If your Hyper-V hosts are clustered, you may have to move the VMs, so that you can reboot a server that’s been patched, or you must balance the workloads on the servers.
Andy Syrewicze, Richard Siddaway

Chapter 15. Moving Existing Workloads to Hyper-V

Now that you’ve built this nice, shiny brand-new Hyper-V environment, how do you use it to its full potential? Like most administrators, you’re most likely not planning on only provisioning new workloads on this environment. You have existing workloads on physical servers that are providing services on your network, and for most of those, it doesn’t make sense to rebuild them from the ground up. You have to migrate them into your virtualized environment. This is known as a physical-to-virtual (P2V) conversion.
Andy Syrewicze, Richard Siddaway

Chapter 16. Preparing for Disaster with Hyper-V Replica

Thus far, you’ve learned about setting up new workloads and migrating existing ones. You’ve learned methods to make your VMs resilient to failure and about configuration and troubleshooting methods. There is another handy feature that is baked into Hyper-V, namely, Hyper-V Replica. While failover clustering does a fantastic job of keeping your workloads running, by using the built-in high-availability features of Microsoft clustering, what if you’re in a situation in which you don’t have a failover cluster? Maybe you’re at a location with a single host and no cluster, but you still want some level of built-in redundancy. What if something were to happen to your main production location? In that situation, you’d likely have to rely on your backup software, to get back up and running, but that can take some time, depending on the vendor. These are situations in which Hyper-V Replica can help.
Andy Syrewicze, Richard Siddaway

Chapter 17. Containers

Containers have been available in the Linux world for a number of years. They are a way to virtualize and isolate applications. Windows Server 2016 introduced the technology to the Windows world. Containers are also available on Windows 10 builds post RTM. The container functionality in Windows Server was further enhanced in Windows Server 1709, Windows Server 1803, and Windows Server 2019.
Andy Syrewicze, Richard Siddaway

Chapter 18. Managing VMs with System Center Virtual Machine Manager

So, here we are near the end! Hard to believe that just 17 short chapters ago we were talking about the basics of Hyper-V, and now you’re quite comfortable with the technology. We’ve covered nearly everything from host and virtual machine (VM) configuration to clustering and Hyper-V Replica. Throughout, you likely found the various management utilities, such as Hyper-V Manager and Failover Cluster Manager, to be sufficient, yet a bit lacking at times. A lot of new Hyper-V administrators find the disparate management experience in the multitude of utilities that Microsoft provides for Hyper-V to be a bit hard to grasp at times. This is because for some items, you need Hyper-V Manager, and for others, you need Failover Cluster Manager. Wouldn’t it help if you had a unified management utility? Well, there is indeed such a utility: System Center Virtual Machine Manager, or SCVMM, for short.
Andy Syrewicze, Richard Siddaway

Chapter 19. Continue Learning

Congratulations on reaching the end of the book! The skills and knowledge you’ve acquired in the previous chapters enable you to confidently—and safely—administer your production Hyper-V environment. We designed this book to allow you to start applying your new skills and knowledge as soon as possible, so that you, and your organization, can reap the benefits immediately.
Andy Syrewicze, Richard Siddaway


Weitere Informationen

Premium Partner

BranchenIndex Online

Die B2B-Firmensuche für Industrie und Wirtschaft: Kostenfrei in Firmenprofilen nach Lieferanten, Herstellern, Dienstleistern und Händlern recherchieren.



Best Practices für die Mitarbeiter-Partizipation in der Produktentwicklung

Unternehmen haben das Innovationspotenzial der eigenen Mitarbeiter auch außerhalb der F&E-Abteilung erkannt. Viele Initiativen zur Partizipation scheitern in der Praxis jedoch häufig. Lesen Sie hier  - basierend auf einer qualitativ-explorativen Expertenstudie - mehr über die wesentlichen Problemfelder der mitarbeiterzentrierten Produktentwicklung und profitieren Sie von konkreten Handlungsempfehlungen aus der Praxis.
Jetzt gratis downloaden!