MCSA 70-412 Chapter 11
-
Upload
computer-networking -
Category
Education
-
view
408 -
download
2
Transcript of MCSA 70-412 Chapter 11
![Page 1: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/1.jpg)
Module 11Implementing Failover Clustering with Hyper-V
![Page 2: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/2.jpg)
Module Overview
Overview of Integrating Hyper-V with Failover ClusteringImplementing Hyper-V Virtual Machines on Failover ClustersImplementing Hyper-V Virtual Machine Movement•Managing Hyper-V Virtual Environments by Using VMM
![Page 3: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/3.jpg)
Lesson 1: Overview of Integrating Hyper-V with Failover ClusteringOptions for Making Virtual Machines Highly AvailableHow Does a Failover Cluster Work with Hyper-V Nodes?What Is New in Failover Clustering for Hyper-V in Windows Server 2012?What Is New in Failover Clustering for Hyper-V in Windows Server 2012 R2?•Best Practices for Implementing High Availability in a Virtual Environment
![Page 4: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/4.jpg)
Options for Making Virtual Machines Highly Available
High availability options
Description
Host clustering • Virtual machines are highly available
• Does not require virtual machine operating system or application to be cluster aware
Guest clustering • Virtual machines are failover cluster nodes
• Virtual machine applications must be cluster aware
• Requires iSCSI or virtual fiber channel interface for shared storage connections
NLB • Virtual machines are NLB cluster nodes
• Use for web-based applications
![Page 5: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/5.jpg)
How Does a Failover Cluster Work with Hyper-V Nodes?
Node 2 Node 1
Shared bus or iSCSI connection
A dedicated network connects the
failover cluster nodes
Cluster Storage
![Page 6: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/6.jpg)
What Is New in Failover Clustering for Hyper-V in Windows Server 2012?The Failover Clustering improvements for Hyper-V in Windows Server 2012 include:• Support for up to 8,000 virtual machines per cluster• Multi-select virtual machines for Live Migration• Virtual machine priority attribute• CSV improvements• Virtual machine application monitoring• Storage of virtual machines on highly available SMB file share
![Page 7: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/7.jpg)
What Is New in Failover Clustering for Hyper-V in Windows Server 2012 R2?•Windows Server 2012 R2 provides new features for virtual machine clustering, that include:• Shared virtual hard disk•Virtual machine drain on shutdown•Network health detection
![Page 8: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/8.jpg)
Best Practices for Implementing High Availability in a Virtual Environment•Use Windows Server 2012 R2 as the Hyper-V host
•Plan for failover scenarios •Plan the network design for failover clustering
•Plan the shared storage for failover clustering
•Use the recommended failover cluster quorum mode
•Deploy standardized Hyper-V hosts •Develop standard management practices
![Page 9: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/9.jpg)
Lesson 2: Implementing Hyper-V Virtual Machines on Failover ClustersComponents of Hyper-V ClustersPrerequisites for Implementing Hyper-V ClustersImplementing Failover Clustering for Hyper-V Virtual MachinesConfiguring CSVConfiguring a Shared Virtual Hard DiskUsing Scale-Out File Servers Over SMB 3.0 for Virtual MachinesConsiderations for Implementing Hyper-V ClustersDemonstration: Implementing Virtual Machines on Clusters (optional)• Maintaining and Monitoring Virtual Machines in Clusters
![Page 10: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/10.jpg)
Components of Hyper-V Clusters
Hyper-V cluster components:•Cluster nodes, must be physical computers•Cluster networks•Virtual networks• Storage for virtual machines•Virtual machines
![Page 11: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/11.jpg)
Prerequisites for Implementing Hyper-V ClustersHardware requirements for cluster nodes and storage:• Server hardware • Network adapters • Storage adapters • Storage Software requirements for cluster nodes:• Must run either the x64-based version of Windows Server 2008 R2 or
Windows Server 2008, Enterprise or Datacenter Edition • Should have the same software updates and service packs • Must be either a full installation or a Server Core installation Network infrastructure requirements: • Network settings and IP addresses • DNS • Domain role • Account for administering the cluster
![Page 12: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/12.jpg)
Implementing Failover Clustering for Hyper-V Virtual Machines1. Install and configure Windows Server 2012 2. Configure shared storage 3. Install the Hyper-V and failover clustering
features 4. Validate the cluster configuration 5. Create the cluster 6. Create a virtual machine on one of the
cluster nodes 7. Make the virtual machine highly available,
for existing virtual machine8. Test virtual machine failover
![Page 13: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/13.jpg)
Configuring CSV
CSV benefits:• Fewer LUNs required• Better use of disk space• Virtual machine files are in a single logical
location• No special hardware required• Increased resiliency
To implement CSV: 1. Create and format volumes on shared
storage2. Add the disks to failover cluster storage3. Add the storage to the CSV
![Page 14: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/14.jpg)
Configuring a Shared Virtual Hard Disk
• A failover cluster runs inside virtual machines• A shared virtual disk is used as shared storage if:• Virtual machines do not need access to iSCSI or failover
clustering SAN• Presented as a virtual serial attached SCSI disk• Used only for data
• Requirements for a shared virtual disk:• Virtual hard disk must be in VHDX format• Connected by using virtual SCSI adapter• Stored on a Scale-Out File Server or CSV
• Supported operating system in a virtual machine:• Windows Server 2012 or Windows Server 2012 R2
![Page 15: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/15.jpg)
Shared Virtual Disk vs. Other Shared Storage Technologies
Capability Shared VHDX Virtual Fibre Channel
iSCSI
Supported storage Storage Spaces, serial attached
SCSI, Fibre Channel, iSCSI, SMB
Fibre Channel SAN iSCSI SAN
How storage is exposed in the virtual machine
Virtual serial attached SCSI
Virtual Fibre Channel LUN iSCSI LUN
Flows through the Hyper-V virtual switch No No Yes
Storage configured at the Hyper-V host Yes Yes No
Provides low latency and low CPU use
Yes (RDMA or Fibre Channel) Yes (Fibre Channel) No
Requires specific hardware No Yes No
Exposes storage architecture No Yes Yes
Comparing guest clustering options
![Page 16: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/16.jpg)
Using Scale-Out File Servers Over SMB 3.0 for Virtual Machines• In Windows Server 2012 or newer, you can store virtual machine files on an SMB 3.0 file share• File servers should run Windows Server 2012 R2• File server cluster should run in Scale-Out File Server mode•Hyper-V Manager can be used to create or move virtual machine files to an SMB file share
![Page 17: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/17.jpg)
Considerations for Implementing Hyper-V Clusters1. Identify the applications that require high
availability2. Identify the application components that must
be highly available 3. Identify the application characteristics 4. Identify the total capacity requirements 5. To create the Windows Server 2012 Hyper-V
design: • Verify basic requirements• Configure a dedicated network adapter for the private virtual network• Use similar host hardware• Verify network configuration
![Page 18: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/18.jpg)
Demonstration: Implementing Virtual Machines on Clusters (optional)In this demonstration, you will see how to implement highly available virtual machines with failover clustering
![Page 19: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/19.jpg)
Maintaining and Monitoring Virtual Machines in ClustersIn Windows Server 2012 failover clustering, you can implement the following technologies for virtual machine maintenance and monitoring:• Service and virtual machine health monitoring•Network health detection, for Windows Server 2012 R2 only•Virtual machine drain on shutdown, for Windows Server 2012 R2 only
![Page 20: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/20.jpg)
Lesson 3: Implementing Hyper-V Virtual Machine MovementVirtual Machine Migration OptionsHow Does Virtual Machine and Storage Migration Work?Using ODX Capable Storage for Virtual MachinesHow Does Live Migration Work?How Does Hyper-V Replica Work?New Features of Hyper-V Replica in Windows Server 2012 R2•Demonstration: Implementing Hyper-V Replica (optional)
![Page 21: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/21.jpg)
Virtual Machine Migration Options
Available options for moving virtual machines are:• Virtual Machine and Storage Migration• Quick Migration• Live Migration• Hyper-V Replica• Export or import of a virtual machine
![Page 22: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/22.jpg)
How Does Virtual Machine and Storage Migration Work?Virtual Machine and Storage Migration technology enables you to move a virtual machine and its storage to another location without downtime• During migration, the virtual machine hard disk is copied from one location to another• Changes are written to both the source and destination drive• You can move virtual machine storage to the same host, another host, or an SMB share• Storage and virtual machine configuration can be in different locations
![Page 23: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/23.jpg)
Using ODX Capable Storage for Virtual Machines
When using ODX capable storage you achieve following benefits:• Increase data
transfer• Minimize latency• Minimize hosts
resource usage while copying and migrating data
Intelligent Storage Array
Actual Data Transfer
TokenOffl
oad
Read
Token Token
Offload
Write
![Page 24: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/24.jpg)
How Live Migration Works
Cluster Storage
Node 2 Node 1
![Page 25: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/25.jpg)
How Does Hyper-V Replica Work?Hyper-V Replica in Windows Server 2012 enables you to replicate a single virtual machine over a WAN or LAN network to another hostHyper-V Replica components include:Replication engineChange trackingNetwork moduleHyper-V Replica Broker role
WAN linkSAN\NAS
Primary site
IISSQL
CRMFile
SAN\NAS
Replica site
Recovery virtual machines
SAN\NAS
Extended Replica site
Recovery virtual machines
Replication traffic
WAN link
Replication traffic
![Page 26: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/26.jpg)
How to Configure Hyper-V Replica?
To configure Hyper-V Replica, you should:1. Configure authentication options2. Configure ports3. Select replica servers4. Select location for replica files5. Enable replication on virtual machine
![Page 27: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/27.jpg)
New Features of Hyper-V Replica in Windows Server 2012 R2Hyper-V Replica in Windows Server 2012 R2 is enhanced with the following features:• The ability to change the replication frequency:• The available intervals are 30 seconds, 5 minutes, and 15 minutes
• Extended replication:• You can extend Hyper-V Replica to include a third host
![Page 28: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/28.jpg)
Demonstration: Implementing Hyper-V Replica (optional)In this demonstration, you will see how to implement Hyper-V Replica
![Page 29: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/29.jpg)
Lesson 4: Managing Hyper-V Virtual Environments by Using VMMWhat Is VMM?What Is New in VMM 2012 R2?Prerequisites for Installing VMMPrivate Cloud Infrastructure Components in VMMManaging Hosts and Host Groups with VMMDeploying Virtual Machines with VMMWhat Are Services and Service Templates?•Considerations for Deploying a Highly Available VMM Server
![Page 30: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/30.jpg)
What Is VMM?
VMM provides centralized administration and management of your virtual environment and private cloudsVMM components are:• VMM server• Database• Management console• Library• Command shell• Self-Service Portal
![Page 31: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/31.jpg)
What Is New in VMM 2012 R2?
The significant enhancements in VMM 2012 R2 are:• Enterprise-class performance:• Support for up to 1,000 hosts and 25,000 virtual machines
• Dynamic VHDX resize• Automatic upgrade of Hyper-V clusters with Live Migration
• Enhanced support for XenServer and VMware hosts• Simplified provisioning and migration:• Storage improvements• Bare metal provisioning• Multitenant cloud infrastructure• Provisioning a Windows Azure infrastructure
![Page 32: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/32.jpg)
Prerequisites for Installing VMM
Software requirements for the VMM Server:• Windows Server 2008 R2 or newer• SQL Server 2008 SP2 or SQL Server 2008 R2 • Microsoft .NET Framework 3.5 SP1 or newer• Windows Assessment and Deployment Kit • Windows PowerShell 2.0, if the VMM Management Console will run
on the same server• WinRM 2.0
Hardware requirements:• CPU: Single core CPU 2 GHz • RAM: 4 – 8 GB• Disk space: 40 GB – 150 GB
The number of hosts determines the hardware requirements
![Page 33: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/33.jpg)
Private Cloud Infrastructure Components in VMM
On the Fabric workspace of VMM management console, you can manage:•Servers:
• Hosts• Host Groups• PXE Servers• Update Servers
•Networking:• Logical Networks• IP Pools• MAC Pools• Load Balancers
•Storage:• Classifications• Pools• Providers• Arrays
![Page 34: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/34.jpg)
Managing Hosts and Host Groups with VMM
• Host group scenarios:• Provide basic organization when managing large numbers of
hosts• Reserve resources for use by hosts• Designate hosts on which a user can create and operate
their own virtual machines• Create private clouds
• Host groups simplify management tasks by using a single action to apply settings to multiple hosts
• VMM can deploy and manage Hyper-V hosts, Hyper-V clusters, and host groups
![Page 35: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/35.jpg)
Deploying Virtual Machines with VMM
In VMM, there are several ways that you can create and deploy a new virtual machine:• Create a new virtual machine from an empty hard disk• Create a new virtual machine based on a pre-defined template• Deploy a new virtual machine from the VMM library
![Page 36: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/36.jpg)
What Are Services and Service Templates?• In terms of VMM clouds, a service is a set of one or more virtual machines that are deployed together and managed as a single entity
• A service template encapsulates all neccessary components required to deploy and run a new instance of an application• A service is deployed by an administrator or end-user
• A service can contain several different components• A service can be deployed to a private cloud or to host group
• An administrator creates a service template in VMM • An application owner deploys a service based on the service template
• App Controller or VMM Manager console can be used to deploy service based on template
![Page 37: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/37.jpg)
Considerations for Deploying a Highly Available VMM ServerThe considerations for deploying a highly available VMM are:• VMM is cluster-aware and can be highly
available•When deploying VMM in a cluster, the service account must be the domain account •Use Distributed Key Management for encryption keys•Make database and library servers highly available •Do not install a Self-Service Portal on a clustered VMM server•Use the Failover Cluster Manager to perform a planned failover
![Page 38: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/38.jpg)
Lab: Implementing Failover Clustering with Hyper-VExercise 1: Configuring Hyper-V ReplicasExercise 2: Configuring a Failover Cluster for Hyper-V•Exercise 3: Configuring a Highly Available Virtual Machine
Logon InformationVirtual machines: 20412C-LON-DC1-B
20412C-LON-SVR1-BUser name: Adatum\administratorPassword: Pa$$w0rd
Estimated Time: 75 minutes
![Page 39: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/39.jpg)
Lab Scenario
The initial deployment of virtual machines on Hyper-V has been successful for A. Datum. As a next step in the deployment, A. Datum is considering ways to ensure that the services and applications deployed on the virtual machines are highly available. As part of the implementation of high availability for most network services and applications, A. Datum also is considering options for making the virtual machines that run on Hyper-V highly available.As one of the senior network administrators at A. Datum, you are responsible for integrating Hyper-V with failover clustering to ensure that the virtual machines deployed on Hyper-V are highly available. You are responsible for planning the virtual machine and storage configuration, and for implementing the virtual machines as highly available services on the failover cluster. You also are considering other techniques, such as Hyper-V Replica, for ensuring high availability for virtual machines.
![Page 40: MCSA 70-412 Chapter 11](https://reader035.fdocuments.us/reader035/viewer/2022081418/5877ac1b1a28ab826e8b6fff/html5/thumbnails/40.jpg)
Lab Review
How can you extend Hyper-V Replica in Windows Server 2012 R2?•What is the difference between Live Migration and Storage Migration?