Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform

Book Description

Get to grips with Windows Server 2012 Hyper-V the easy way. This comprehensive tutorial takes you through every step of planning, designing, and implementing Hyper V with clear instructions and screenshots. The only guide you need.

  • A complete step-by-step Hyper-V deployment guide, covering all Hyper-V features for configuration and management best practices
  • Understand multi-tenancy, flexible architecture, scalability, and high availability features of new Windows Server 2012 Hyper-V
  • Learn Hyper-V Replica, Hyper-V Extensible Virtual Switch, Virtual Machine Migration, Hyper-V Storage, Hyper-V Failover Clustering, and also System Center VMM and DPM for management, backup, and recovery

In Detail

Over a short span of time, server virtualization has been one of the most rapidly adopted technologies in IT business. Microsoft Hyper-V is a hardware-assisted hypervisor product, available as a server role in the Windows Server operating system. Windows Server 2012 Hyper-V provides cutting-edge server virtualization features for a scalable, flexible, and highly available virtual machine infrastructure.

"Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform" is a comprehensive guide, which starts itself from basic virtualization and server consolidation concepts, and then goes deeper for discussing advanced topics, such as a Hyper-V scalability, failover, and virtual machine migration. This book is an ideal choice for those who are stepping into Hyper-V world, and also for those who are experts in Hyper-V and want to advance their skills with the new Windows Server 2012 Hyper-V.

This book contains topics starting from introducing Hyper-V as a hypervisor, and then moves ahead with covering advanced topics, related to Hyper-V configuration and virtual machine management.

The book starts with getting to know Hyper-V, and then we discuss planning, designing, and the implementation of Hyper-V. It then goes with advanced topics such as Hyper-V Replica, Hyper-V Networking and Storage, Hyper-V High Availability, and so on.

"Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform" is an expert guide for discussing Hyper-V configuration and management topics.

Table of Contents

  1. Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform
    1. Table of Contents
    2. Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform
    3. Credits
    4. About the Author
    5. About the Reviewers
      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
    7. 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
    8. Introduction
      1. What is virtualization?
      2. Why virtualization?
      3. Types of virtualization
        1. Server virtualization
        2. Network virtualization
        3. Storage virtualization
      4. Server consolidation
      5. Cloud computing
    9. 1. Getting to Know Microsoft Hyper-V
      1. Introducing Hyper-V
      2. Hyper-V deployment scenario
        1. Server consolidation
        2. Physical-to-virtual and virtual-to-virtual conversions
        3. Research and development
        4. Business continuity and disaster recovery
        5. Cloud computing
      3. Hyper-V architecture
        1. Hypervisor
          1. Type 1 (bare metal) hypervisors
          2. Type 2 (hosted) hypervisors
          3. Monolithic hypervisors
          4. Microkernel hypervisors
        2. Insight into Hyper-V architecture
          1. Parent partition
          2. Child partition
          3. Understanding Hyper-V parent partition
      4. Hyper-V Virtual Machine Management Service
        1. Virtual devices
          1. Core devices (emulated devices)
          2. Core devices (synthetic devices)
          3. Plugin devices
          4. Virtual machine bus
      5. Features of Hyper-V
        1. Hyper-V automation with PowerShell
        2. Hyper-V dynamic memory improvements
        3. Improved network virtualization and multitenancy
        4. Hyper-V data offloading improvements
        5. Hyper-V virtual machine replication
        6. Resource metering for Hyper-V virtual workloads
        7. Hyper-V support for large-sector disks
        8. Virtual Fibre Channel for fabric connectivity
        9. New virtual hard disk format
        10. NIC teaming for host and guest machines
        11. Hyper-V virtual switch improvements
        12. Scalable virtualization infrastructure
        13. Live storage migration
        14. Hyper-V support for SMB
      6. Hardware requirements
        1. Processor
        2. Storage
          1. Disk types
            1. SATA disks
            2. SAS disks
            3. Fibre Channel disks
          2. Memory
          3. Networking
      7. Software requirements
        1. Operating system version
        2. Memory
        3. Disk space
          1. Physical server's paging file requirements
          2. Guest virtual machine's paging file requirements
      8. Hyper-V version comparison
      9. Hyper-V Windows Server 2012 guest VM support
        1. Guest server operating systems
        2. Guest client operating systems
      10. Licensing
      11. Summary
    10. 2. Planning, Designing, and Implementing Microsoft Hyper-V
      1. Planning and designing Hyper-V infrastructure
        1. Microsoft Solution Accelerators
        2. Hyper-V infrastructure planning and designing solution accelerators
      2. Upgrading legacy Hyper-V servers to Windows Server 2012
        1. Upgrading Hyper-V standalone server
        2. Upgrading Hyper-V cluster servers
      3. Installing Hyper-V server role
        1. Hyper-V server role installation requirements
        2. Installing a fresh Hyper-V server
          1. Server Manager
          2. Installing Hyper-V role using Server Manager
        3. Installing Hyper-V with Windows Server Core
          1. Introducing Windows Server Core
          2. Benefits of using Windows Server Core Edition
          3. Installing and managing Windows Server Core
          4. Configuring and managing Windows Server 2012 Server Core
          5. Adding Hyper-V server role for Windows Server Core
      4. Configuring basic settings for Hyper-V server role
        1. Hyper-V settings
          1. Virtual hard disks
          2. Virtual machines
          3. Physical GPUs
          4. NUMA spanning
          5. Live migrations
          6. Storage migrations
          7. Replication configuration
        2. Virtual Switch Manager
          1. Creating a virtual machine
            1. Memory
            2. Processor
            3. Hard drive
      5. Summary
    11. 3. Setting Up Hyper-V Replication
      1. Introducing Hyper-V replication
        1. Hyper-V Replica terminologies
      2. Software requirements
      3. Hardware requirements
      4. Deployment scenario for Hyper-V Replica
        1. Head office and branch office
        2. Geographically dispersed datacenters
        3. Managed services and hosting provider
        4. Cloud service provider
      5. Technical overview of the Hyper-V Replica feature
        1. Replication Engine
        2. Change tracking
        3. Network module
        4. Hyper-V Replica broker
      6. Hyper-V Replica best practices
        1. Security
        2. Networking
        3. Storage
      7. Setting up Hyper-V Replica
        1. Enabling Hyper-V replication
          1. Enabling Hyper-V replication for standalone Hyper-V servers
          2. Enabling Hyper-V replication for clustered Hyper-V servers
        2. Configuring Hyper-V Replica
          1. Configuring Hyper-V Replica for standalone virtual machines
          2. Configuring Hyper-V Replica for a highly available virtual machine using Failover Cluster Manager
            1. Hyper-V Failover Replication broker architecture
          3. Configuring Hyper-V Replica for reverse replication
      8. Monitoring Hyper-V Replica environment
        1. Hyper-V virtual machine replication health checking
          1. Performance monitoring for Hyper-V Replica virtual machines
          2. Reviewing Microsoft Hyper-V VMMS logs for Hyper-V Replica
      9. Summary
    12. 4. Understanding Hyper-V Networking
      1. Hyper-V virtual switch technical overview
      2. Windows Server 2012 – a cloud-ready platform
      3. Improved Hyper-V virtual network switch
        1. Load balancing and failover (NIC teaming)
        2. Quality of service and bandwidth management
        3. Single root I/O
        4. Extensible Hyper-V virtual switch
        5. ARP/ND poisoning (spoofing) protection
        6. DHCP guard
        7. Port access control lists (ACLs)
        8. Trunk mode to a VM
        9. Network traffic monitoring
      4. Configuring the Hyper-V extensible virtual network switch
        1. Configuring the Hyper-V host virtual network switch
          1. Types of Hyper-V virtual network switches
            1. External
            2. Internal
            3. Private
        2. Configuring Hyper-V virtual machine network settings
          1. Virtual network adapter types
            1. Synthetic network adapter
            2. Legacy network adapter
          2. Configuring advanced network settings
            1. Bandwidth management
            2. Hardware acceleration
              1. Virtual machine queue
              2. IPSEC task offloading
              3. Single root I/O virtualization
            3. Failover TCP/IP
            4. Advanced features of the virtual machine network adapter
              1. MAC address spoofing
              2. DHCP guard
              3. Router guard
              4. Port mirroring
              5. NIC teaming
      5. Implementing NIC teaming for Hyper-V host and guest
        1. Native OS NIC teaming feature – the most awaited feature
        2. NIC teaming requirements
        3. NIC teaming architectural consideration
      6. Configuring NIC teaming for the Hyper-V host
        1. NIC teaming advanced settings
          1. NIC teaming mode
            1. Switch independent
            2. Switch dependent
            3. Static teaming
            4. Dynamic teaming
          2. Load-balancing mechanisms
            1. Address hash
            2. Hyper-V port
        2. Configuring NIC teaming for Hyper-V guest virtual machines
      7. Summary
    13. 5. A New World of Hyper-V Automation with PowerShell
      1. Introduction to PowerShell
        1. Technical overview
        2. Cmdlets
        3. Cmdlets pipelining
        4. PowerShell scripting
        5. PowerShell Version 3.0 overview
      2. Insight into Windows Server 2012 PowerShell (3.0)
        1. PowerShell OS support
        2. System requirements
          1. Windows Management Instrumentation 3.0
          2. Common Language Runtime 4.0
          3. .NET Framework
          4. WS-Management 3.0
        3. Installing PowerShell 3.0
      3. Managing Windows Server 2012 Hyper-V with PowerShell 3.0
        1. PowerShell usage scenarios for Hyper-V management and automation
          1. Research and development environments
          2. Virtualized datacenter management
          3. Cloud management and automation
      4. Windows PowerShell 3.0 capabilities for Hyper-V
        1. Example 1 – creating a new virtual machine
        2. Example 2 – creating a new virtual network switch
        3. Example 3 – configuring and attaching a virtual network switch to a virtual machine
        4. Example 4 – shutting down all virtual machines
        5. Example 5 – starting all virtual machines in one step
      5. Summary
    14. 6. Insight into Hyper-V Storage
      1. Understanding virtual storage
      2. Improved Hyper-V storage
        1. Virtual Fibre Channel connectivity for virtual machines
        2. Working of Hyper-V Virtual Fibre Channel
        3. Larger virtual hard disk support (up to 64 TB)
        4. SMB-based virtual machine storage
        5. Virtual machine live storage migration
      3. Types of Hyper-V virtual storage
        1. Virtual disk formats
          1. Virtual hard disk (VHD)
          2. Virtual hard disk (VHDX)
        2. Virtual disk types
          1. Dynamic disk
          2. Fixed disk
          3. Differencing disk
          4. Pass-through disk
          5. Virtual Fibre Channel SAN
      4. Virtual machine storage settings
        1. Virtual machine hard disk settings
          1. IDE controller
          2. SCSI controller
        2. Hyper-V virtual hard disk utilities
          1. Edit disk
            1. Compact
            2. Convert
            3. Expand
          2. Inspect disk
      5. Hyper-V storage best practices
        1. Dynamic disks are not good candidates for high disk I/O activity
        2. Differencing disks can lead to data loss
        3. Creating a production virtual machine's snapshot with caution
        4. Pass-through disks are recommended for databases
        5. Frequently merging a virtual machine's snapshot
        6. Including virtual machine RAM for storage sizing
        7. External storage migration and Hyper-V pass-through disk availability for VM
        8. Virtual machine application and server role placement – best practices
      6. Summary
    15. 7. Managing Hyper-V with System Center Virtual Machine Manager
      1. Overview of System Center Virtual Machine Manager (SCVMM)
        1. The VMM management server
        2. The VMM console
        3. Self-Service Portal
        4. The VMM database
        5. The VMM library
      2. What's new in SCVMM 2012
      3. Installing System Center Virtual Machine Manager 2012
        1. System and hardware requirements
          1. System requirements
          2. Hardware requirements
        2. Installing SCVMM management server, management console, and Self-Service Portal server
      4. Configuring SCVMM basic settings
        1. Creating and managing host groups
          1. Creating a host group
          2. Customizing host group properties
            1. General
            2. Placement Rules
            3. Host Reserves
            4. Dynamic Optimization
            5. Network
            6. Storage
            7. Custom Properties
        2. Adding a Hyper-V host into SCVMM
        3. Creating and managing private cloud with SCVMM
          1. Assigning a cloud to a group of users
      5. Creating a virtual machine using the SCVMM console
        1. Creating a virtual machine template
      6. Access to Self-Service Portal
        1. Delegation of SSP rights
        2. Creating and managing virtual machines with SSP
      7. Summary
    16. 8. Building Hyper-V High Availability and Virtual Machine Mobility
      1. Overview of Hyper-V high availability
        1. Challenges in Hyper-V high availability with Windows Server 2008 R2
          1. Unavailability of flexible virtual machine storage migration
          2. Restrictions on adding more Hyper-V cluster nodes
          3. Virtual machine live migration limitation
          4. Manual patch management for Hyper-V host nodes
          5. Network-attached storage (NAS) or File Server-based storage for virtual machines
        2. What's new in Windows Server 2012 for Hyper-V HA and VM mobility
          1. Guest machine clustering capabilities with V-Fibre Channel
          2. Enhanced live migration for mobility of virtual machines
          3. Bigger clusters with more Hyper-V nodes
          4. Up-to-date Cluster Shared Volumes and encrypted volumes
          5. Virtual machine failover and management rules
      2. Understanding Hyper-V high availability and failover clustering core components
        1. Server hardware
        2. Cluster storage
          1. Windows failover cluster shared storage
          2. Cluster Shared Volumes (CSV)
            1. How CSV works
            2. Summary of new features added in Windows Server 2012 CSV
            3. CSV requirements
              1. Server requirements
              2. Networking requirements
              3. Storage requirements
        3. Cluster networking
          1. Hyper-V Cluster Public Network
          2. Hyper-V Cluster Private Network
          3. Hyper-V Live Migration Network
      3. Preparing, creating, and configuring a Hyper-V failover cluster
        1. Preparing Hyper-V failover cluster nodes
          1. Preparing cluster nodes
            1. Installing the Windows Failover Clustering feature
            2. Installing the Hyper-V role
          2. Preparing Hyper-V failover cluster networks
            1. Creating a cluster public network as a Hyper-V virtual network switch
            2. Creating an external Hyper-V virtual switch as a cluster public network
            3. Configuring cluster private and live migration networks
            4. Configuring external SAN storage connectivity
          3. Preparing Hyper-V failover cluster disks
        2. Creating a Hyper-V failover cluster
          1. Cluster configuration validation
            1. Cluster validation requirement for cluster support
            2. Enhanced Windows Server 2012 cluster validation utility
            3. Performing cluster validation tests
          2. Creating a Hyper-V failover cluster
        3. Configuring a Hyper-V failover cluster
        4. Adding CSV storage
          1. Creating a highly available virtual machine
          2. Creating Hyper-V replica broker cluster resources
      4. Managing virtual machine mobility and migration
        1. Virtual machine live migration
          1. Working of live migration
          2. Requirements for live migration
            1. Enabling live migration on a Hyper-V server
          3. Live migration with shared storage
          4. Shared nothing live migration
          5. Live migration with SMB shared storage
        2. Virtual machine quick migration
          1. How quick migration works
          2. Steps to perform quick migration
        3. Live storage migration
      5. Summary
    17. 9. Hyper-V Security Hardening – Best Practices
      1. Hyper-V and virtualization security pillars
        1. Securing Hyper-V base operating system
          1. Minimizing attack surfaces
          2. Hyper-V management network isolation
          3. Patch management
          4. Antivirus protection and exclusions
          5. Best Practice Analyzer for Hyper-V host
        2. Securing Hyper-V virtual network switch
          1. ARP spoofing protection
          2. DHCP Guard
          3. Router Guard
          4. Port mirroring
          5. Port ACL for network isolation
        3. Delegating rights for Hyper-V management
          1. Authorization Manager
            1. Authorization Manager for Hyper-V delegation of authority
          2. Hyper-V delegation of authority with SCVMM 2012
        4. Securing virtual machine storage
          1. Specifying the default path for virtual machine storage
          2. Encrypting virtual machine storage with BitLocker
        5. Safeguarding guest virtual machines
          1. Filesystem security for accessing virtual machines
          2. Auditing for virtual machine resource access
          3. Backing up virtual machines
      2. Summary
    18. 10. Performing Hyper-V Backup and Recovery
      1. Hyper-V backup methodologies overview
        1. Copying VHD/VHDX files
        2. Exporting the virtual machine
        3. Virtual machine snapshot
        4. The Windows Server Backup feature
        5. VSS-aware Hyper-V backups
          1. Virtual machine online backups using Hyper-V integration services
          2. Virtual machine save-state backups without Hyper-V integration services
      2. Hyper-V backup considerations and best practices
        1. Hyper-V backup networking considerations
        2. Hyper-V backup software considerations
          1. Hyper-V integration services
        3. Storage considerations
          1. Guest virtual machine storage
      3. Implementing Hyper-V virtual machine backup and recovery
        1. Hyper-V backup and recovery with the Windows Server Backup feature
          1. What's new in Windows Server 2012 for the Windows Server Backup feature
            1. Selective backup and restoration of individual virtual machines
            2. Backup support for CSVs
            3. Larger disk volume backup possibility
            4. Backup retention and backup versioning
          2. Installing the Windows Server 2012 Backup feature
          3. Configuring virtual machine backups with the Windows Server Backup feature
          4. Performing virtual machine recovery using the Windows Server Backup feature
        2. Hyper-V backup and recovery with System Center Data Protection Manager
          1. DPM technical overview
          2. What's new in System Center 2012 Data Protection Manager
          3. Setting up DPM base infrastructure
            1. Installing System Center Data Protection Manager 2012
            2. Adding disks in the Data Protection Manager for disk-based protection groups
            3. Installing a DPM agent on a Hyper-V host
          4. Configuring Hyper-V backup with DPM protection groups
            1. Protecting Hyper-V highly available virtual machines
            2. Protecting Hyper-V standalone virtual machines using SMB storage
            3. Protecting Windows Server 2012 CSV 2.0
          5. Performing Hyper-V recovery with System Center Data Protection Manager
            1. Recovering a virtual machine to an original location
            2. Recovering a virtual machine to an alternate location
            3. ILR of a virtual machine
      4. Summary
    19. A. SCVMM 2012 New Features and Enhancements
    20. B. SCVMM Management Console Configuration Settings
    21. Index

Product Information

  • Title: Windows Server 2012 Hyper-V: Deploying Hyper-V Enterprise Server Virtualization Platform
  • Author(s): Zahir Hussain Shah
  • Release date: March 2013
  • Publisher(s): Packt Publishing
  • ISBN: 9781849688345