System Center 2016 Virtual Machine Manager Cookbook - Third Edition

Book Description

Maximize your administration skills effectively and efficiently

About This Book

  • Implement cost-effective virtualization solutions for your organization with actionable recipes
  • Explore the concepts of VMM with real-world use cases
  • Use the latest features with VMM 2016 such as Cluster OS Rolling Upgrade, Guarded Fabric and Storage Spaces Direct

Who This Book Is For

If you are a solutions architect, technical consultant, administrator, or any other virtualization enthusiast who needs to use Microsoft System Center Virtual Machine Manager in a real-world environment, then this is the book for you.

What You Will Learn

  • Plan and design a VMM architecture for real-world deployment
  • Configure fabric resources, including compute, networking, and storage
  • Create and manage Storage Spaces Direct clusters in VMM
  • Configure Guarded Fabric with Shielded VMs
  • Create and deploy virtual machine templates and multi-tier services
  • Manage Hyper-V and VMware environments from VMM
  • Enhance monitoring and management capabilities
  • Upgrade to VMM 2016 from previous versions

In Detail

Virtual Machine Manager (VMM) 2016 is part of the System Center suite to configure and manage datacenters and offers a unified management experience on-premises and Azure cloud.

This book will be your best companion for day-to-day virtualization needs within your organization, as it takes you through a series of recipes to simplify and plan a highly scalable and available virtual infrastructure. You will learn the deployment tips, techniques, and solutions designed to show users how to improve VMM 2016 in a real-world scenario. The chapters are divided in a way that will allow you to implement the VMM 2016 and additional solutions required to effectively manage and monitor your fabrics and clouds. We will cover the most important new features in VMM 2016 across networking, storage, and compute, including brand new Guarded Fabric, Shielded VMs and Storage Spaces Direct. The recipes in the book provide step-by-step instructions giving you the simplest way to dive into VMM fabric concepts, private cloud, and integration with external solutions such as VMware, Operations Manager, and the Windows Azure Pack.

By the end of this book, you will be armed with the knowledge you require to start designing and implementing virtual infrastructures in VMM 2016.

Style and approach

This book follows a recipe-based approach similar to our previous two successful editions, covering the practical application of the major features in VMM 2016.

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.

Publisher Resources

Download Example Code

Table of Contents

  1. Title Page
  2. Copyright and Credits
    1. System Center 2016 Virtual Machine Manager Cookbook Third Edition
  3. Packt Upsell
    1. Why subscribe?
    2. PacktPub.com
  4. Contributors
    1. About the authors
    2. About the reviewer
    3. Packt is searching for authors like you
  5. Preface
    1. Who this book is for
    2. What this book covers
    3. To get the most out of this book
      1. Download the color images
      2. Conventions used
    4. Get in touch
      1. Reviews
  6. VMM 2016 Architecture
    1. Introduction
      1. Knowing your current environment – assessment
      2. Designing the solution
      3. Creating the private cloud fabric
    2. Understanding each component for a real-world implementation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Windows Azure Pack
        2. Service Provider Foundation
        3. Service Reporting
        4. Domain controllers
        5. Windows Server Update Service – WSUS
        6. System Center App Controller
        7. Microsoft Azure Stack
        8. System Center components scenarios
    3. Planning for high availability
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. SQL Server
        2. VMM library
    4. Designing the VMM server, database, and console implementation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Storage providers – SMI-S and SMP
        2. Bare metal
        3. Configuring security
        4. Run As accounts in VMM
        5. Communications poand protocols for firewall configuration
        6. VM storage placement
        7. Management cluster
        8. Small environment
        9. Lab environments
        10. Medium and enterprise environments
        11. Private cloud sample infrastructure
        12. Hosting environments
        13. New networking features in VMM 2016
        14. New storage features in VMM 2016
      5. See also
    5. Specifying the correct system requirements for a real-world scenario
      1. Getting ready
      2. How to do it...
      3. How it works...
        1. Hardware requirements
        2. Software requirements
      4. See also
    6. Licensing the System Center
      1. Getting ready
      2. How to do it...
      3. How it works...
    7. Troubleshooting VMM and supporting technologies
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Verifying WMI providers
        2. Troubleshooting tools
        3. Background Intelligent Transfer Service (BITS) troubleshooting
        4. Data collection tools
      5. See also
  7. Upgrading from Previous Versions
    1. Introduction
    2. Reviewing the upgrade options
      1. How to do it...
        1. In-place upgrade from VMM 2008 R2 SP1 to VMM 2012
        2. Upgrading VMM on a different computer
        3. Upgrading from VMM 2012 to VMM 2012 SP1
        4. Upgrading from VMM 2012 SP1 to VMM 2012 R2
        5. Upgrading from VMM 2012 R2 to VMM 2016
          1. More planning considerations
      2. How it works...
      3. There's more...
      4. See also
    3. Checking the VMM system requirements and preparing for the upgrade
      1. Getting ready
      2. How to do it...
        1. Uninstalling previous versions of Windows Automated Installation Kit (WAIK)
        2. Checking whether Windows Remote Management (WinRM) is started
      3. How it works...
      4. There's more...
    4. Upgrading to VMM 2016
      1. Getting ready
      2. How to do it...
        1. Upgrading to VMM 2012 SP1 or to VMM 2012 R2
        2. Upgrading VMM 2012 R2 to VMM 2016
      3. How it works...
      4. There's more...
        1. Upgrading VMM with configured AlwaysOn Availability Groups
        2. Upgrading a highly available VMM 2012 R2 to VMM 2016
        3. Upgrading a VMM console
        4. Upgrading the VMM Self-Service Portal
          1. Uninstalling the VMM Self-Service Portal
          2. Upgrading the App Controller
      5. See also
    5. Re-associating hosts after upgrading
      1. How to do it...
      2. How it works...
      3. There's more...
      4. See also
    6. Updating the VMM agents
      1. How to do it...
      2. How it works...
      3. See also
    7. Performing other post-upgrade tasks
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Re-adding PXE servers
        2. Updating driver packages
        3. Relocating the VMM library
      4. See also
  8. Installing VMM 2016
    1. Introduction
    2. Creating service accounts
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
    3. Deploying a Microsoft SQL Server for VMM implementation
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. How to easily get the SQL configuration file
        2. Installing a SQL failover cluster using the configuration file
        3. Configuring SQL Server with AlwaysOn AGs
      5. See also
    4. Installing VMM dependencies
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. SQL Server Connectivity Feature Pack components
        2. The Telnet client
      5. See also
    5. Configuring Distributed Key Management
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    6. Installing a VMM management server
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Installing VMM 2016 on Server Core
      5. See also
    7. Installing the VMM console
      1. Getting ready
      2. How to do it...
      3. How it works...
    8. Connecting to a VMM management server by using the VMM console
      1. How to do it...
      2. How it works...
      3. See also
    9. Creating a Run As account credentials in VMM
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Disabling a Run As account
        2. Enabling a disabled Run As account
        3. Deleting a Run As account
    10. Configuring ports and protocols on the host firewall for each VMM component
      1. Getting ready
      2. How to do it...
      3. See also
  9. Installing a Highly Available VMM Server
    1. Introduction
    2. Installing a highly available VMM management server
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Configure the VMM database with AlwaysOn AGs
      5. See also
    3. Installing a VMM management server on an additional node of a cluster
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    4. Connecting to a highly available VMM management server by using the VMM console
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    5. Deploying a highly available library server on a file server cluster
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    6. Uninstalling a highly available VMM management server
      1. How to do it...
      2. How it works...
      3. There's more...
  10. Configuring Fabric Resources in VMM
    1. Introduction
    2. Creating host groups
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Moving a host group to another location
        2. Configuring host group properties
      5. See also
    3. Setting up a VMM library
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Adding a library share
        2. Adding file-based resources to a VMM library share
        3. Creating or modifying equivalent objects in the VMM library
          1. Marking (creating) objects as equivalent
          2. Modifying equivalent objects
      5. See also
    4. Configuring Networks in VMM
      1. How to do it...
      2. There's more...
        1. Designing for converged networks
    5. Networking: Configuring Logical Networks
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Creating an IP address pool
        2. Automating the network configuration
        3. Associating the VMM Logical Network with the physical adapter
      5. See also
    6. Networking – Configuring VM Networks and Gateways
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Deploying a Network Controller using VMM
        2. Adding a Gateway device, a virtual switch extension or network controller in VMM 2016
        3. Validating a Network Controller deployment
      5. See also
    7. Networking: Configuring logical switches, port profiles and port classifications
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Creating port profiles for VM adapters
        2. Creating a Port Classification
        3. Creating a logical switch
        4. Configuring the Network Adapter for VMs and host management
        5. Applying a logical switch to host network adapters
        6. Converting a standard switch to a logical switch
      4. See also
    8. Integrating and configuring the storage
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Creating an iSCSI session on a host
        2. Bringing the storage pools under management and assigning classifications
        3. Configuring the allocation method for a storage array
        4. Creating logical units (LUN)
        5. Allocating logical units and storage pools to a host group
      5. See also
    9. Creating physical computer profile – host profile
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also.
    10. Provisioning a physical computer as a Hyper-V host – Bare metal host deployment
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    11. Adding and Managing Hyper-V hosts and host clusters
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Adding Hyper-V hosts in a disjointed namespace
        2. Adding Hyper-V hosts in a perimeter network
          1. Installing the agent on the standalone server
          2. Adding perimeter hosts to VMM
      5. See also
    12. Deploying a hyper-converged cluster with S2D and Hyper-V
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Managing the storage pool
        2. Creating cluster shared volumes
        3. Setting storage QoS policies
      5. See also
  11. Configuring Guarded Fabric in VMM
    1. Introduction
    2. Deploying the host guardian service
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Configuring additional HGS cluster nodes
      4. See also
    3. Deploying guarded hosts
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Preparing shielding helper VHD
      4. See also
    4. Deploying shielded VMs
      1. How to do it...
        1. Preparing and protecting a template disk
        2. Creating and importing a shielded data file
        3. Creating a shielded VM template
        4. Deploying a shielded VM from a template
        5. Converting an existing VM to a shielded VM
      2. How it works...
      3. See also
  12. Deploying Virtual Machines and Services
    1. Introduction
    2. Creating private clouds
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Assigning the private cloud to a user role
      5. See also
    3. Creating hardware, guest OS, application, and SQL profiles
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Creating a guest OS profile
        2. Creating an application profile
        3. Creating a SQL Server profile
      5. See also
    4. Creating user roles in VMM
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Creating a delegated or read-only administrator user role
        2. Creating a tenant administrator role
        3. Creating an application administrator (self-service user) role
        4. Configuring self-service user roles to share and receive resources
      5. See also
    5. Creating and deploying virtual machines
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Generalizing the guest OS using Sysprep
      5. See also
    6. Creating virtual machine templates
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Deploying virtual machines from virtual machine templates
      5. See also
    7. Creating and deploying service templates
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Deploying a service from the VMs and Services workspace
        2. Scaling out a service in VMM
        3. Updating a service in VMM
      5. See also
    8. Rapidly provisioning a virtual machine by using SAN Copy
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Creating a SAN Copy-capable template
      5. See also
  13. Managing VMware ESXi hosts
    1. Introduction
    2. Adding a VMware vCenter Server to VMM
      1. Getting ready
      2. How to do it...
        1. Importing the VMware self-signed SSL certificate
        2. Adding vCenter to VMM
      3. How it works...
      4. See also
    3. Adding VMware ESXi hosts or host clusters to VMM
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Updating the host status to OK
      5. See also
    4. Configuring network settings on a VMware ESXi host
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Verifying the settings for a virtual switch
        2. Viewing compliance information for a physical network adapter
      4. See also
    5. Configuring host BMC settings
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Powering a computer on or off through VMM
      4. See also
    6. Importing VMware templates
      1. How to do it...
      2. How it works...
      3. See also
    7. Converting VMware VMs to Hyper-V
      1. How to do it...
      2. How it works...
      3. See also
  14. Managing Clouds, Fabric Updates, Resources, Clusters, and New Features of VMM 2016
    1. Introduction
    2. Creating Hyper-V clusters
      1. Getting ready
        1. Prerequisites for cluster creation using VMM 2016
        2. Prerequisites for fabric configuration
        3. Prerequisites for networking
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Adding a Hyper-V host as a cluster node
      5. See also
    3. Cluster OS rolling upgrade
      1. Getting ready
        1. Prerequisites for cluster rolling upgrade using VMM 2016
      2. How to do it...
      3. How it works...
      4. See also
    4. Managing fabric updates
      1. Getting ready
      2. How to do it...
        1. Installing WSUS for VMM 2016
        2. Integrating WSUS with VMM
      3. How it works...
      4. There's more...
        1. Scanning servers for compliance
        2. Remediating updates for a standalone server in VMM
        3. Remediating updates for a Hyper-V cluster in VMM
      5. See also
    5. Configuring Dynamic Optimization and Power Optimization
      1. Getting ready
      2. How to do it...
        1. Configuring settings for Dynamic Optimization (DO)
        2. Configuring settings for Power Optimization
      3. How it works...
      4. There's more...
        1. Performing DO on the host cluster
      5. See also
    6. Live migrating virtual machines
      1. Getting ready
        1. Requirements for Live migration
        2. Requirements for Live storage migration
        3. Requirements for Live system migration
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Performing live migration of a VM between hosts in two clusters
        2. Performing live storage migration between standalone hosts
        3. Performing concurrent live migrations
      5. See also
    7. Managing Linux virtual machines
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    8. Configuring availability options and virtual NUMA for VMs
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Configuring availability sets for a VM running on a host cluster
        2. Configuring preferred and possible owners for a VM
        3. Configuring virtual NUMA in VMM 2016
        4. Configuring checkpoints in VMM 2016
        5. Adding a virtual adapter to a running VM in VMM 2016
        6. Managing static memory on a running VM in VMM 2016
      4. See also
    9. Configuring resource throttling
      1. How to do it...
      2. How it works...
      3. There's more...
        1. Configuring memory throttling
        2. Configuring memory weight
      4. See also
    10. Integrating with IPAM Server for IP management
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. IPAM and VMM Time Synchrony
    11. Deploying Windows Azure Pack for cloud management
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Windows Azure Pack: integrating with VMM 2016
      5. See also
    12. Configuring Synthetic Fiber Channel
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Creating virtual SANs
        2. Creating a VM or VM Template with virtual fiber Channel
        3. Editing vSAN port assignments
        4. Removing a vSAN
        5. Adding a new vHBA
        6. Editing vHBA WWNN and WWPN Dynamic Settings
      5. See also
  15. Integration with System Center Operations Manager 2016
    1. Introduction
    2. Installing System Center Operations Manager 2016
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
      5. See also
    3. Installing management packs
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. See also
    4. Managing discovery and agents
      1. How to do it...
      2. How it works...
      3. See also
    5. Configuring the integration between Operations Manager 2016 and VMM 2016
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
        1. Enabling PRO tips and maintenance mode integration in VMM 2016
      5. See also
    6. Enabling reporting in VMM
      1. Getting ready
      2. How to do it...
      3. How it works...
      4. There's more...
  16. Other Books You May Enjoy
    1. Leave a review - let other readers know what you think

Product Information

  • Title: System Center 2016 Virtual Machine Manager Cookbook - Third Edition
  • Author(s): Roman Levchenko, Edvaldo Alessandro Cardoso
  • Release date: February 2018
  • Publisher(s): Packt Publishing
  • ISBN: 9781785881480