Management for the private cloud HyperV Platform for


































































- Slides: 66
Management for the private cloud Hyper-V Platform for the private cloud Infrastructure for the private cloud
Deployment SCVMM Templates Easy to move from test to production deployments VM Mobility Host Patching Resource Optimization Disaster Recovery Data Protection Manager Hyper-V Replica 3 rd Party Replication Availability Host based failure detection and recovery. VM based failure detection and recovery.
Host Cluster OS Health Detection � VM Mobility � App Health in VM App Mobility in VM Cluster service is unable to take remedial action
What can you monitor? Services Events Any NT Service For instance: SQL, IIS, Print Spooler System, Application, Security Logs Customized applications using ETW logging
Host Recovery Configuration
SAN
Power. Shell: Add-Cluster. VMMonitored. Item –vm <machine Name> –service spooler http: //blogs. msdn. com/b/clustering/archive/2012/04/18/10295158. aspx
Add Get Remove Reset
Cluster i. SCSI
Host Clustering • VM’s move from server to server • Zero downtime to move a VM • Works with any application or guest OS Guest Clustering • • Apps move from VM to VM Downtime when moving applications Requires “cluster aware” applications running on Windows Server Requires double the resources – 2 VM’s for single workload
Fault Host Cluster Guest Cluster Host hardware failure P P Parent partition failure P P P P VM failure Guest OS failure Application Failure
Storage Fiber Channel (FC) Host Cluster P Guest Cluster P (WS 2012) P Serial Attached SCSI (SAS) P (WS 2012 R 2 – Shared VHDX) i. SCSI P P P File (SMB / NFS) P (WS 2012 R 2 – Shared VHDX)
• Where to configure: • Effect: Parameter Fast Failover Relaxed Maximum Same. Subnet. Delay 1 second 2 seconds Same. Subnet. Threshold 5 heartbeats 10 heartbeats 120 heartbeats Power. Shell: (get-cluster). Same. Subnet. Threshold = 10
• Where to configure: • Effect: Power. Shell: (Get-Cluster. Group *vm*). Anti. Affinity. Class. Names = “Guest. Cluster”
i. SCSI
Microsoft Cluster Service (MSCS) support on ESX v. Sphere 4. 0 v. Sphere 4. 1 or later Windows NT Server 4. 0 ESX 3. 5 or earlier No No No Windows 2000 Server No No No Windows Server 2003 No No Windows Server 2008 No Yes (limited hardware configurations) Yes (restricted configurations) Windows Server 2008 R 2 Windows Server 2012 No Yes (restricted configurations) No Not SVVP certified Support Statement Yes (restricted configurations)
Host Cluster OS Health in VM � VM Mobility � App Health in VM App Mobility in VM VM Monitoring � Guest Cluster � � �
Simply share virtual disks to provide shared storage for Guest Clustering New in Windows Server 2012 R 2 Cluster Shared Volumes (CSV) for block storage Hyper-V Guest Failover Clustering with commodity storage Guest Clustering Scale-Out File Server for file storage Maintains separation between infrastructure and tenants VM presented with virtual SAS disks Shared SAS disks, ready to cluster Virtual SAS Used for data disk only VHDX Block Storage VHDX File Storage
1 2 Share. Virtual. Disk Support. Persistent. Reservations
Capability Shared VHDX Virtual FC i. SCSI to the Guest Storage Spaces, SAS, FC, i. SCSI, SMB FC SAN i. SCSI SAN Virtual SAS Virtual FC LUN i. SCSI LUN Flows through the Hyper-V virtual switch No No Yes VM storage configured at the Hyper-V host Yes No Yes (RDMA or FC) Yes (FC) No Requires specific hardware on Hyper-V host No Yes No Request switch reconfiguration on migration No Yes No Exposes hoster storage architecture to guests No Yes Supported storage back-ends How storage is exposed in the guest as Provides solution for low latency/low CPU use
Get-Win. Event -Log. Name Microsoft-Windows-Hyper-V-Shared-VHDX/Operational Get-Win. Event -Log. Name Microsoft-Windows-Hyper-V-Shared-VHDX/Reservation
! Not a supported scenario Not really highly available
http: //blogs. msdn. com/b/clustering/archive/2012/04/18/10295158. aspx http: //blogs. msdn. com/b/clustering/archive/2012/10/30/10364265. aspx http: //blogs. technet. com/b/josebda
http: //aka. ms/WS 2012 R 2 http: //aka. ms/SC 2012 R 2
http: //channel 9. msdn. com/Events/Tech. Ed www. microsoft. com/learning http: //microsoft. com/technet http: //microsoft. com/msdn
Hyper-V Cluster Shared VHDX Parser Boot VM 1 Hyper-V Host 1 Shared Data Physical NIC Shared VDHX Filter Storage VSP Storage VSC VHD Stack CSV 1 Physical NIC Shared VHDX Parser Boot VM 2 Hyper-V Host 2 Shared Data Storage VSC Shared VDHX Filter Storage VSP VHD Stack CSV 2 Guest Cluster
Hyper-V Cluster Shared VHDX Parser Boot VM 1 Hyper-V Host 1 Shared Data SMB Client Shared VDHX Filter Storage VSP VHD Stack Storage VSC SMB Server CSV 1 Shared VHDX Parser Boot VM 2 Hyper-V Host 2 Shared Data Storage VSC Storage VSP SMB Client Shared VDHX Filter VHD Stack SMB Server CSV 2 Guest Cluster
Hyper-V Cluster v. NIC Boot VM 1 Hyper-V Host 1 Shared Data i. SCSI Initiator Storage VSC VM Switch Physical NIC i. SCSI Initiator CSV VM NIC VHD Stack Network VSC Storage VSP i. SCSI SAN Network VSP Boot Host 1 Physical NIC Hyper-V Host 2 Guest Cluster
Hyper-V Cluster v. NIC Boot VM 1 Shared Data VM Switch Physical NIC SMB Client Hyper-V Host 1 File Share Storage VSC VM NIC VHD Stack Network VSC Storage VSP Hyper-V Host 2 File Server Network VSP Boot Host 1 Physical NIC Guest Cluster
Hyper-V Cluster Boot VM 1 Shared Data RDMA NIC SMB Client Hyper-V Host 1 File Share Storage VSC VM NIC VHD Stack VM Switch Network VSC Storage VSP Network VSP Physical NIC Boot Host 1 RDMA NIC Hyper-V Host 2 Physical NIC Guest Cluster File Server
Hyper-V Heart Beat Hyper-V VMBus VM Parent Partition Virtual Machine Management Service COM Heart Beat Service ! !
Cluster Recovery Hyper-V VMBus Parent Partition ! Virtual Machine Management Service COM Heart Beat Service Virtual Machine Resource ! Cluster Service !
Application Monitor Hyper-V VMBus VM Application Monitor COM Heart Beat Service Parent Partition Virtual Machine Management Service Virtual Machine Cluster Resource Cluster Service
Enabling Host Side Recovery VM Application Monitor COM Heart Beat Service Hyper-V VMBus Parent Partition Virtual Machine Management Service Virtual Machine Cluster Resource Cluster Service