O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Hyper-V 2016 Best Practices

Book Description

Harness the power of Hyper-V 2016 to build high-performance infrastructures that suit your needs

About This Book

  • Design and build a reliable and efficient Hyper-V infrastructure.
  • Fine-tune your Hyper-V performance by adopting network and storage best practices.
  • Manage, monitor, and protect your workloads with System Center and Microsoft Azure.

Who This Book Is For

If you are working with Hyper-V and want to optimize its performance and effectiveness, this book is for you. This book will help you close the gap between the Hyper-V lab and production environments.

What You Will Learn

  • Automate and accelerate the deployment of Hyper-V host and nano servers
  • Create high availability solutions using failover clustering
  • Design redundant solutions with Hyper-V Replica
  • Protect your workloads by making a backup or learning disaster recovery
  • Use the best practices of network and storage
  • Master the performance and scalability of storage virtualization
  • Migrate your existing virtualization workloads to Hyper-V2016
  • Manage your Hyper-V stack with System Center and Azure
  • Bridge the gap between the Hyper-V lab and production environment

In Detail

Hyper-V Server and Windows Server 2016 with Hyper-V provide best-in-class virtualization capabilities. Hyper-V is a Windows-based, very cost-effective virtualization solution with easy-to-use and well-known administrative consoles.

This book will assist you in designing, implementing, and managing highly effective and highly available Hyper-V infrastructures. With an example-oriented approach, this book covers all the different tips and suggestions to configure Hyper-V and provides readers with real-world proven solutions.

This book begins by deploying single clusters of High Availability Hyper-V systems including the new Nano Server. This is followed by steps to configure the Hyper-V infrastructure components such as storage and network. It also touches on necessary processes such as backup and disaster recovery for optimal configuration. The book does not only show you what to do and how to plan the different scenarios, but it also provides in-depth configuration options. These scalable and automated configurations are then optimized via performance tuning and central management ensuring your applications are always the best they can be.

Style and approach

This book covers Hyper-V best practices in a step-by-step manner with clear and concise examples.

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 code file.

Table of Contents

  1. Hyper-V 2016 Best Practices
    1. Hyper-V 2016 Best Practices
    2. Credits
    3. About the Authors
    4. About the Reviewer
    5. www.PacktPub.com
      1. Why subscribe?
    6. 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. Downloading the example code
        2. Downloading the color images of this book
        3. Errata
        4. Piracy
        5. Questions
    7. 1. Accelerating Hyper-V Deployment
      1. Why Hyper-V projects fail
      2. Planning your environment
      3. Preparing your host systems
        1. About Nano Server
        2. Creating unattended installation files
        3. Adding basic components
        4. Which edition to install
        5. Decide whether to GUI
        6. Hyper-V hosts in Active Directory domains
        7. Activating Hyper-V features
        8. Post-installation tasks
        9. Antivirus on a Hyper-V host
        10. Setting the pagefile
      4. Creating virtual machines
      5. Summary
    8. 2. Deploying Highly Available Hyper-V Clusters
      1. Preparing for a high availability scenario
        1. Planning an HA environment
      2. Overview of the failover cluster
      3. Failover cluster prerequirements
        1. Hardware requirements
        2. Network design
        3. Storage design
        4. Server and software requirements
      4. Implementing failover clusters
        1. Quorum configuration
        2. Live migration configuration
        3. VM start ordering
        4. Node fairness
        5. Cluster-Aware Updating
        6. Guest clustering
        7. Network design for a guest cluster
        8. Storage design for a guest cluster
      5. Summary
    9. 3. Backup and Disaster Recovery
      1. Protecting a Hyper-V environment
      2. Hyper-V Replica
        1. Enabling Hyper-V Replica
          1. Preparing the first host
          2. Preparing additional hosts
          3. Activate VM replication
          4. Monitoring Hyper-V Replica
          5. Hyper-V Replica testing and failover
      3. Azure Site Recovery
        1. Replica workloads
      4. Storage Replica
      5. Backup of virtual machines
        1. Microsoft Azure Backup
      6. Summary
    10. 4. Storage Best Practices
      1. Storage overview
      2. SANs versus Storage Spaces
      3. NTFS versus Resilient File System (ReFS)
      4. Storage Spaces and tiering
      5. Storage Spaces Direct
        1. Storage Spaces direct - disaggregated model
        2. Storage spaces direct: hyperconverged model
        3. Storage devices configuration
        4. Multi-Resilient virtual disks
      6. Working with virtual disks
      7. Cluster shared volumes
      8. Checkpoints
      9. Data deduplication
      10. Storage quality of service
      11. Multipath I/O
      12. The iSCSI target
      13. Summary
    11. 5. Network Best Practices
      1. Networking overview
      2. Virtual switch
        1. External vSwitch
        2. Internal vSwitch
        3. Private vSwitch
        4. Virtual interface
      3. NIC Teaming
      4. Switch Embedded Teaming
      5. Converged networking
      6. Storage network
        1. SMB Direct
      7. Advanced networking options
      8. Network controller
      9. IPAM
      10. Summary
    12. 6. Highly Effective Hyper-V Design
      1. Cautious network selection
      2. Hyper-V cluster with SAN or NAS
        1. iSCSI architecture overview
        2. Fibre channel architecture overview
        3. Network configuration
        4. Storage configuration
        5. Operating system configuration
          1. iSCSI configuration
          2. SAN configuration
      3. Storage Spaces Direct design
        1. Network design
        2. Disaggregated model
          1. Storage nodes configuration
          2. Compute nodes configuration
        3. Hyperconverged model
      4. Summary
    13. 7. Hyper-V Performance Tuning
      1. Measuring performance
        1. Performance counter
          1. Disk performance
          2. Memory performance
          3. Network performance
          4. RDMA and SMB Direct performance
          5. Processor performance
      2. Performance tuning
        1. Hyper-V power options and green IT
        2. Hardware-tuning options
          1. Network-hardware-tuning options
            1. Receive Side Scaling (RSS)
            2. Single Root IO Virtualization
            3. Other offload capabilities
            4. Using IPv6 with Hyper-V
        3. Storage tuning options
          1. Offloaded Data Transfer
        4. Shutdown tuning options
          1. Setting the shutdown timeout
      3. Hyper-V benchmarking
      4. Hyper-V for virtual desktops
        1. Using RemoteFX
      5. Common configuration mistakes
        1. Design misjudged
        2. Network teaming
        3. Storage configuration
        4. Operating system maintenance
      6. Summary
    14. 8. Management with System Center and Azure
      1. Microsoft System Center
        1. System Center Virtual Machine Manager
        2. System Center Operations Manager
        3. System Center Service Manager
        4. System Center Orchestrator
        5. System Center Data Protection Manager
        6. Automatic System Center deployment
      2. Microsoft Azure
        1. Azure Site Recovery
        2. Azure Backup
        3. Log Analytics
        4. Azure Automation
      3. Summary
    15. 9. Migration to Hyper-V 2016
      1. Upgrading single Hyper-V hosts
        1. Importing virtual machines
        2. Exporting virtual machines
        3. Cross-version live migration
      2. Copy cluster roles wizard
      3. Rolling cluster upgrade
      4. Migrating VMware virtual machines
        1. System Center VMM
        2. Microsoft Virtual Machine Converter
        3. Microsoft Automation Toolkit
        4. MAT powered by Project Shift
        5. Other V2V scenarios
      5. Physical to Virtual conversions
      6. Virtualizing domain controllers
      7. Summary