You are previewing Microsoft System Center Virtual Machine Manager 2012 Cookbook.
O'Reilly logo
Microsoft System Center Virtual Machine Manager 2012 Cookbook

Book Description

Over 60 recipes for the administration and management of Microsoft System Center Virtual Machine Manager 2012 SP1

  • Create, deploy, and manage Datacentres, Private and Hybrid Clouds with hybrid hypervisors by using VMM 2012 SP1, App Controller, and Operations Manager.

  • Integrate and manage fabric (compute, storages, gateways, networking) services and resources. Deploy Clusters from bare metal servers.

  • Learn how to use VMM 2012 SP1 features such as Windows 2012 and SQL 2012 support, Network Virtualization, Live Migration, Linux VMs, Resource Throttling, and Availability.

In Detail

Microsoft System Center 2012 is a comprehensive IT infrastructure, virtualization, and cloud management platform. With System Center 2012, you can more easily and efficiently manage your applications and services across multiple hypervisors as well as across public and private cloud infrastructures to deliver flexible and cost-effective IT services for your business.

This cookbook covers architecture design and planning and is full of deployment tips, techniques, and solutions designed to show users how to improve VMM 2012 in a real world scenario. It will guide you to create, deploy, and manage your own Private Cloud with a mix of Hypervisors: Hyper-V, Vmware ESXi, and Citrix XenServer. It also includes the VMM 2012 SP1 features.

This book is a cookbook that covers architecture design, planning and is full of deployment tips, techniques and solutions designed to show users how to improve VMM 2012 in a real world scenario. It will guide you to create, deploy and manage your own Private Cloud with a mix of Hypervisors : Hyper-V, Vmware ESXi and Citrix XenServer.

Table of Contents

  1. Microsoft System Center Virtual Machine Manager 2012 Cookbook
    1. Table of Contents
    2. Microsoft System Center Virtual Machine Manager 2012 Cookbook
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. 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
    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. 1. VMM 2012 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. Domain controllers
          2. Windows Server Update Service (WSUS)
          3. System Center App Controller
          4. System Center components scenarios
        5. See also
      3. Designing the VMM server, database, and console
        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 and Run As profiles in VMM
          5. Ports communications and 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
        5. See also
      4. 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
      5. Specifying the correct system requirements for a real-world scenario
        1. Getting ready
        2. How to do it…
        3. How it works…
        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
    9. 2. Installing SCVMM 2012
      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…
        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. 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's 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 SCVMM component
        1. Getting ready
        2. How to do it...
        3. See also
    10. 3. Installing the VMM Management 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...
        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...
    11. 4. 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. Networking – configuring logical networks in VMM
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Creating an IP address pool
          2. Associating the VMM logical network with the physical adapter
        5. See also
      5. Networking – VM network and gateways with VMM
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Adding a gateway device for VM network support
        5. See also
      6. Networking – configuring ports and switches with VMM
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Creating a native port profile for VM adapters
          2. Creating a port classification
          3. Adding a virtual switch extension manager
          4. Creating a logical switch
          5. Configuring the network adapter for VMs and host management
        4. See also
      7. Configuring storage with VMM
        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
          5. Allocating logical units and storage pools to a host group
        5. See also
      8. 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
      9. Adding and managing Hyper-V hosts and host clusters with VMM
        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. 5. 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 operating system 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. Enabling MAC spoofing
          2. 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
          2. Deploying a virtual machine through rapid provisioning
        5. See also
    13. 6. Upgrading from SCVMM 2008 R2 SP1
      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 to VMM 2012 or to VMM 2012 SP1 on a different computer
          3. Upgrading to VMM 2012 SP1
            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 2012 SP1
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Upgrading to VMM 2012 SP1
          2. Upgrading a VMM console
          3. Upgrading the VMM Self-Service Portal
            1. Uninstalling the VMM Self-Service Portal
        5. See also
      5. Reassociating 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. Updating driver packages
          2. Relocating the VMM Library
        4. See also
    14. 7. Scripting in Virtual Machine Manager
      1. Introduction
      2. VMM PowerShell overview
        1. How to do it...
          1. Installing the VMM PowerShell module
          2. Starting VMM PowerShell
        2. How it works...
        3. There's more...
          1. Properties
          2. Methods
          3. Object synchronization
        4. See also
      3. Finding the command to automate tasks in VMM
        1. Getting ready
        2. How to do it...
          1. Using the Get-Help cmdlet
        3. How it works...
        4. There's more...
          1. About topics
        5. See also
      4. Creating a script from VMM wizards
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Modifying a generated script
          2. Adding parameters to a generated script
        4. See also
      5. Storing and running scripts in VMM
        1. Getting ready
        2. How to do it...
          1. Storing a script in the VMM library
          2. Viewing and updating a script in the VMM library
          3. Running a script from the VMM library
          4. Running a script from the command prompt
        3. How it works...
        4. There's more...
          1. Credentials
          2. Using VMM Run As accounts
          3. Using the JobGroup parameter
          4. Cmdlets with which you can use JobGroup
      6. VMM sample scripts
        1. How to do it...
          1. Counting the number of virtual machines per operating system
        2. How it works...
        3. There's more...
          1. Adding a storage provider by its IP address
          2. Converting a dynamic VHD to a fixed VHDX
          3. Creating a new virtual disk drive and adding it to an existing virtual machine
          4. Testing a dynamic VHD attached to a fixed-format virtual disk drive on a virtual machine
        4. See also
    15. 8. Managing VMware ESXi and Citrix XenServer 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 ESX 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 ESX host
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Verifying the settings for a virtual network
          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 virtual machines to Hyper-V
        1. How to do it...
        2. How it works...
        3. See also
      8. Managing Citrix XenServer hosts and pools
        1. Getting ready
        2. How to do it...
          1. Creating a pool on Citrix XenCenter
          2. Adding Citrix XenServer Hosts to VMM
        3. How it works...
        4. There's more...
          1. Troubleshooting a failed job when adding XenServer hosts
        5. See also
      9. Converting Citrix virtual machines to Hyper-V
        1. How to do it...
        2. How it works...
        3. See also
    16. 9. Managing Hybrid Clouds, Fabric Updates, Creating Clusters, and New Features of SP1
      1. Introduction
      2. Creating Hyper-V clusters with VMM
        1. Prerequisites for cluster creation using VMM 2012
        2. Prerequisites for fabric configuration
        3. Network
        4. Getting ready
        5. How to do it...
        6. How it works...
        7. There's more...
          1. Adding a Hyper-V host as a cluster node
        8. See also
      3. Managing fabric updates in VMM
        1. Getting ready
        2. How to do it...
          1. Installing WSUS for VMM 2012
          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
      4. Configuring Dynamic Optimization and Power Optimization in VMM
        1. Getting ready
        2. How to do it...
          1. Configuring settings for Dynamic Optimization
          2. Configuring settings for Power Optimization
        3. How it works...
        4. There's more...
          1. Performing Dynamic Optimization on the host cluster
        5. See also
      5. Live-migrating virtual machines with VMM 2012 SP1
        1. Getting ready
          1. Live migration requirements
          2. Live storage migration requirements
          3. Live system migration requirements
        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
      6. Linux virtual machines in VMM 2012 SP1
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. See also
      7. Configuring availability options and virtual NUMA for VMs in VMM 2012 SP1
        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 2012 SP1
        4. See also
      8. Configuring resource throttling in VMM SP1
        1. How to do it...
        2. How it works...
        3. There's more...
          1. Configuring memory throttling
          2. Configuring memory weight
        4. See also
      9. Deploying SC App Controller 2012 SP1 for hybrid cloud management
        1. Getting ready
        2. How to do it...
        3. How it works...
        4. There's more...
          1. Connecting to private clouds: integrating with VMM 2012
          2. Connecting to public clouds
        5. See also
    17. Index