You are previewing Learning Hyper-V.
O'Reilly logo
Learning Hyper-V

Book Description

Learn how to design, deploy, configure, and manage virtualization infrastructure using Hyper-V

In Detail

Learning Hyper-V will help you understand the core components of Hyper-V and provide you with the knowledge you need in order to become proficient in it. You'll be able to fully understand the components of its architecture, deployment options, and even licensing, so you'll be able to work on projects from conception to implementation.

Following that, you'll see how to manage the core components including network and storage. New and updated features such as Live Migration, Hyper-V Replica, and High Availability will be covered in detail and you'll get a full understanding of virtual machine operation and how to achieve the most from it.

Additionally, important scenarios will be covered such as Disaster Recovery, VDI, and even the controversial Active Directory virtualization so you will be one step ahead in the market.

What You Will Learn

  • Understand Hyper-V architecture and components

  • Learn multiple options to perform host deployment

  • Manage and configure networking and storage for Hyper-V

  • Deploy and manage your virtual machine

  • Understand the High Availability and Disaster Recovery options and configurations

  • Manage a VDI environment with Hyper-V

  • Master the PowerShell commands to manage virtualization environments

  • Become proficient with Live Migration and Hyper-V Replica configurations

  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. Learning Hyper-V
      1. Table of Contents
      2. Learning Hyper-V
      3. Credits
      4. Foreword
      5. About the Author
      6. About the Reviewers
      7. www.PacktPub.com
        1. Support files, eBooks, discount offers, and more
          1. Why subscribe?
          2. Free access for Packt account holders
          3. Instant updates on new Packt books
      8. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Errata
          2. Piracy
          3. Questions
      9. 1. Getting Started with Hyper-V Architecture and Components
        1. Hypervisor architecture
          1. Type 1 and Type 2 Hypervisors
        2. Microkernel and Monolithic Type 1 Hypervisors
        3. Hyper-V requirements and processor features
        4. Memory configuration
          1. Non-Uniform Memory Access (NUMA) architecture
        5. Dynamic memory
          1. Dynamic memory configuration
          2. Memory buffer
          3. Memory weight
          4. Smart Paging
        6. Summary
      10. 2. Deploying Hyper-V Hosts
        1. Considerations before installing a Hyper-V Host
        2. Windows Server with a GUI
          1. Enabling the Hyper-V role
          2. Hyper-V Manager
        3. Windows Server without a GUI
          1. Windows Server Core
          2. Windows Server Minimal Server Interface (MiniShell)
        4. Microsoft Hyper-V Server
        5. Remote Server Administration Tools (RSAT) and Hyper-V Manager for Windows
          1. Hyper-V for Windows
        6. Microsoft Best Practices Analyzer (BPA)
          1. Antivirus – to be or not to be?
          2. Hyper-V Hosts and VM Limits
        7. Summary
      11. 3. Licensing a Virtualization Environment with Hyper-V
        1. Licensing a virtual environment prior to Windows Server 2012
          1. Standard and Enterprise Editions of Windows Server 2008 and 2008 R2
          2. Datacenter Edition of Windows Server 2008 and 2008 R2
        2. Licensing a virtual environment with Windows Server 2012 and 2012 R2
          1. Virtualizing with Standard or Datacenter Editions
          2. Specific scenarios with Standard Edition
        3. Virtualization host licensing and its impacts
          1. Licensing Windows Server VMs with other Hypervisors
          2. Host licensing with Hyper-V Replica
        4. Hyper-V licensing with Linux VMs
        5. Windows Client licensing on Hyper-V
          1. Windows PCs and VDI
          2. Company-owned Windows RT tablets
          3. User devices inside or outside the company network
          4. Non-Microsoft smartphone and tablet licensing for VDI
        6. VDI licensing, RDS, and virtualization host licensing
        7. VDI scenarios and licensing options
        8. Summary
      12. 4. Managing Networking
        1. Hyper-V Switch basics
          1. Creating a Hyper-V Virtual Switch
          2. Creating a Hyper-V Virtual Switch using PowerShell
        2. Connecting a VM to a Virtual Switch
        3. Advanced configuration for Hyper-V networking
          1. Converged Networking on Hyper-V
            1. Creating NIC Teaming
            2. Creating a virtual NIC on the host
            3. Bandwidth Management on Hyper-V
        4. VM network features
          1. Network Adapter features
            1. Hardware Acceleration
              1. Virtual Machine Queue
              2. IPsec task offloading
              3. SR-IOV
            2. Advanced Features
              1. MAC address
              2. DHCP guard and Router guard
              3. Protected network
              4. Port mirroring
              5. NIC Teaming
        5. Other network implications
          1. Policy-based QoS
          2. Data Center Bridging
          3. Remote Direct Memory Access
          4. Jumbo Frame
          5. Windows Firewall
          6. Hyper-V Extensible Switch
        6. Summary
      13. 5. Managing Storage
        1. Host storage
          1. Hard Disk Drive (HDD) or Solid State Drive (SSD)?
            1. RAID recommendations for virtualization
          2. Local storage or Local disks
          3. Direct Attached Storage (DAS)
          4. Storage Area Network (SAN)
            1. Fibre Channel (FC)
            2. iSCSI
          5. Network Attached Storage (NAS)
            1. Server Message Block 3 (SMB3)
          6. Windows Server as a storage option
            1. Windows Storage Spaces
            2. Installing a Windows Server iSCSI Target Server
            3. Installing a Windows Server SMB3 Server
          7. Clustered iSCSI Target and SMB3
          8. Other host storage implications
            1. Virtual SAN Manager and virtual Fibre Channel adapter
            2. 4K disk
            3. Multipath IO (MPIO)
        2. VM storage
          1. Physical disk or pass-through disk
          2. Virtual Hard Disk (VHD)
            1. VHD or VHDX?
            2. Creating a virtual disk and associating it with a VM
            3. Online VHDX Resize
            4. Virtual disk Quality of Service (QoS)
            5. Storage Live Migration
        3. Summary
      14. 6. Virtual Machines and Virtual Machine Templates
        1. Virtual machine management
          1. Generation 1 and 2 VMs
          2. Creating and modifying a VM
          3. Checkpoints
        2. Virtual machine templates
          1. Sysprepped VMs
          2. Differencing disks
          3. PowerShell Desired State Configuration (DSC)
        3. Summary
      15. 7. Implementing High Availability
        1. Microsoft failover cluster and Hyper-V overview
          1. Failover cluster installation and configuration
          2. Quorum and Node Majority
          3. Configuring storage for Hyper-V cluster
          4. Creating a highly available VM
          5. Managing a highly available VM
            1. Setting Startup Priority
            2. Live migrating a VM
            3. Configuring VM Monitoring
          6. Shared VHDX
        2. Summary
      16. 8. Implementing Live Migration and Replica
        1. Share Nothing Live Migration
          1. Configuring the Kerberos authentication for Live Migration
          2. Performance options for Live Migration
          3. Configuring Share Nothing Live Migration with PowerShell
        2. Live migrating a VM
          1. Move the virtual machine
          2. Moving the VM storage
        3. Hyper-V Replica
          1. Configuring Hyper-V Replica
          2. Replicating a VM
          3. Testing Hyper-V Replica
          4. Failing over a VM
            1. Reversing the replication
            2. Extended replication
        4. Summary
      17. 9. Virtualizing Active Directory Domain Controllers
        1. Active Directory virtualization concepts
          1. Domain Controller database configuration
          2. Time synchronization and virtual DCs
          3. Virtual DCs and Checkpoints
          4. Virtual DCs and Cluster service
          5. Virtual DC cloning
            1. Granting the source DC the permission to be cloned
            2. Running the Get-ADDCCloningExcludedApplicationList cmdlet
            3. Running the New-ADDCCloneConfigFile cmdlet
            4. Creating the virtual DC clones using the export/import process
          6. Virtual DCs and Hyper-V Replica
        2. Summary
      18. 10. Implementing a Virtual Desktop Infrastructure
        1. VDI overview and comparison
          1. VDI characteristics
        2. Getting started with Microsoft VDI
        3. Pooled and Personal VMs
        4. Creating a Pooled VM collection
        5. Creating a Personal VM collection
        6. User Profile Disks
        7. RemoteFX
        8. Recreating the VM template
        9. Summary
      19. 11. Protecting Your Virtualization Environment
        1. Windows Server Backup overview
          1. Getting started with Windows Server Backup
          2. Incremental backups
        2. Backing up your host and VMs
        3. Restoring your host and VMs
        4. Import and export VMs
        5. Summary
      20. Index