SlideShare a Scribd company logo
1 of 46
Windows Server 2012 Virtualization:
Notes from the Field
Didier Van Hoye, Architect
http://workinghardinit.wordpress.com
Kurt Roggen, Technical Consultant
http://trycatch.be/blogs/roggenk
Agenda
• WS 2012 Hyper-V & Failover Clustering
• VM Priorities
• Maintenance Mode
• Failover & Failback
• Anti Affinity
• Live Migration
• Cluster Aware Updating (CAU)
• SC 2012 SP1 Virtual Machine Manager
• Cluster Management - Availability Sets
• Fabric Patching
• Maintenance Mode
• Service Templates
Hyper-V &
Failover Clustering
WS 2012 Failover Clustering
Optimize & automate placement logic
Virtual Machine Priority
Starting the most important VMs first
Ensure the most important VMs are
running
 Preemption to shut down low priority
VMs to free up resources for higher
priority VMs to start
Ideal for infrastructure servers (DCs)
or tiered architecture (back-end,
middle-tier, customer-facing)
Enhanced Failover Placement
Each VM placed based on node with best
available memory resources
Memory requirements evaluated on a per
VM basis
 Non-Uniform Memory Access (NUMA)
aware
High
Medium
Low
Priorities for Roles or Virtual Machine
Values: High, Medium, Low
 Default Priority: Medium
 Lowest Priority: No Auto Start
Starting Roles in Priority order
 Per Node
Placing Roles/VMs in Priority order
 Cold start
 Handling node crash
Moving Roles/VMs in Priority order
 Queuing
 Node Drain
High
Medium
Low
No Auto Start
Virtual Machine Priorities
 Default Priority: Medium
 Default “Move Behavior”: Quick migration for Low & below
 Defined by cluster parameter “MoveTypeThreshold”
which defaults to 2000 (Medium or Higher Priority)
VM Priorities & Live Migration
 Set all VMs to Live Migrate (instead of Quick Migrate)
 Not only VM with Medium/High Priorities
 VM Priority Values
 3000 = High
 2000 = Medium
 1000 = Low
 0 = Do not start automatically
 Using PowerShell
 Get-ClusterResourceType "Virtual Machine" |
Set-ClusterParameter MoveTypeThreshold 1000
Enhanced Failover Placement
• Enhanced memory aware placement of VMs
• Check for most available Memory
• Failover is determined by Preferred Owners & Possible Owners
• Failback of VM now uses Live Migration instead of Quick Migration
• Live Migration respects Preferred Owners & Possible Owners
• Default Failback action: No Failback
Anti Affinity ClassNames
• Property of ClusterResourceGroup
• Identify ClusterGroups that should not be hosted on the same
node (where possible)
• Impacts VM Placement and Live Migrations
• Configurable using PowerShell only
• Configurable using SC2012 SP1 VMM using “Availibility Sets”
• Serves as basis for “Availibility Sets” in SC2012 SP1 VMM
More information:
http://msdn.microsoft.com/en-us/library/aa369651(v=vs.85).aspx
Cluster Node Maintenance Mode
Drain all VMs off a node
Supports all cluster roles
Role-specific features
 Live migration or quick migration for VMs
 Uses VM Priority
 Moves other roles
Cluster Node Maintenance Mode
Workflow – In Depth
Cluster Node Maintenance Mode - Automated Node Drain
Workload sorted based on Priority
VMs queued for live migration (using MaxLiveMigrations)
Enhanced memory aware placement of VMs
VMs’ live migrated concurrently along with built-in retry logic
Node is PAUSED
Automated Node Drain completed
Cluster Placement Policies
(Preferred & Possible Owners, AntiAffinity)
Cluster Aware Updating
(CAU)
Cluster Aware Updating (CAU)
 Update orchestration across all nodes in a cluster
 CAU ships in box with Windows Server 2012
 Not reinventing Windows Updates & patching
 Previews, applies and reports on updates for a cluster
 Two modes: Self-updating & Remote-updating
 Self-updating: Workload reduction through increased automation, Updating itself is resilient
 Remote-updating scenarios where closer administrator attention is preferred or warranted
 Extensible
 Integrate with your patching tools with plug-ins (API)
 Two inbox plug-ins: Windows Update & hotfix plug-in
 Per-node pre-update and post-update scripts
Where Does CAU Fit In?
Windows Update Services
Plug-ins & Supported Update Types
CAU ships with two plug-ins
1. Windows Update
1. Installs GDRs* => From Windows Update
Or WSUS
2. Hotfix Plug-in
1. Installs QFEs** from a SMB 3.0 file share
2. 3rd party updates such as BIOS & Firmware Updates from a
SMB 3.0 File Share
Cluster Aware Updating Process
1. Scans, downloads and installs applicable
updates on each node
 Windows Update or Hotfix plugin or both
2. Restarts node as necessary
3. One node at a time
4. Repeats for all cluster nodes
5. Customize pre- & post-update behavior
with PS scripts
6. Easy manual or scheduled launch
 Via GUI
 PowerShell
 Works for both physical or virtualized clusters
Jenny Starts
Updating Run
Node 64
Resume Node &
Failback VMs
.
.
.
Node 1
Windows
Server failover
cluster
. . .
Windows Update,
WSUS, QFE, …
Pause Node &
Drain VMs
CAU
Remote-Updating Mode
 CAU Update Coordinator process
remotely connects to the cluster
 User-initiated Updating Run,
allowing real time monitoring
 Rich progress updates
 Minimal Server Core (no .Net or
PS dependency) on nodes
CAU Update
Coordinator
Failover Cluster
Node 1 Node 2
Node 3 Node 4
Node 1
Failover Cluster
Self-Updating Mode
 Leverages a CAU cluster role that is
resilient to planned and unplanned
failures
 Requires no real-time user attention
 Installs updates on a custom schedule
 CAU Update Coordinator process runs
on a clustered node
Update Coordinator
Node 2
Node 3
Node 4
 Strict ACL Checking (Optional)
Kerberos Mutual Authentication
(Required)
 Data integrity checking (Required)
 SMB Signing or SMB Encryption
 Privacy with SMB Encryption
(Optional)
 SMB Encryption is new in Windows Server 2012
Hotfixes Folder
Structure & Security
CAU Hotfix Root Folder
CAUHotfix_All
<Node Name 1>
Extension Rules
<MSU>
<MSI>
<MSP>
Folder Rules
<MySwUpdateType>
Hotfix Config File
MySwUpdateType
Special software updates
.
.
.
Hotfixes applicable to all nodes
Hotfixes applicable just to <Node Name 1>
Hotfixes applicable just to <Node Name N>
<Node Name N>
MySwUpdateType
Special software updates
MySwUpdateType
Special software updates
“Hotfix” Support Internals
 Rich/extensible Hotfix installation
 Microsoft QFEs, or third-party driver updates,
or even Firmware/BIOS updates…
 Select hotfix behavior at start.
Two key inputs:
1. Root Folder: on an SMB File Share
2. Configuration xml file: defines the Rules
System32WindowsPowerShellv1.0ModulesClusterAwareUpdatingDefaultHotfixConfig.xml
 Configuration Rules are the key to
flexibility
 Easy to specify new Rules
 hotfix installer name, install options, reboot behavior,
return values etc.
NTFS permissions CAU File Share
 First you’ll need to do your home
work as described in the TechNet
article
 But that doesn’t quite cover it
 Adjust NTFS Permissions on the
CAU Share
 Give cluster node computer accounts (or an
AD group containing them, which makes for
easier administration) Read/Execute
permission to the location
 If Not =>they can’t run the DUPs.
NTFS permissions Log File
 DUPs allows logging with /L switch
 Locally (per node) or to central share
 Must use another share than the CAU Share:
 Need to give the computer accounts (or an AD
group containing them, which makes for easier
administration) write permission to the location
 You’re not allowed to do that for other then
specific accounts as described on TechNet
 The log can grow quite large if used a lot
 Keep an eye on it
 For clarities sake use different log per cluster or
folder type
CAU Hotfix plug-in in action
Cluster Management
Using SCVMM 2012 SP1
VMM 2012 SP1: Cluster Management
• Supports “Possible/Preferred Owner”
• Supports of “Availability Sets” (Anti-Affinity)
• Supports VM Priority
• Supports CSV2
• Supports 64 cluster nodes, 4000 VM’s/cluster, 1024 VMs/node
Possible Owners & Preferred Owners
VM Priority
VMM 2012 SP1 support for
Anti-Affinity = VMM ‘Availability Sets’
Availability Set = configurable anti-affinity
rules for VMs
Ensures VMs are placed on different
hosts for better availability
VMM Placement algorithm offers
suggestions based on availability sets
Works across:
 Standalone (non-clustered) Hyper-V hosts*
 Hyper-V clusters*
 Xen Server hosts
 VMware hosts
Availability Sets
Availability Sets & VMM Services
VMM Services can leverage ‘Availability Sets’
 Availability sets – configured at the machine tier level
 Ensures that VM instances of a machine tier are placed on different hosts.
SSUs can request availability sets for their VMs
 Simple checkbox experience
 Available from the VMM Service Template Designer
Fabric Patching
Using SCVMM 2012 SP1
Update Management
Feature of VMM 2012
Keeps Windows Fabric Servers up-to-date
• Limited to VMM managed infrastructure servers (HV, LIB, WSUS, WDS)
Enable
Feature
Manage
Baselines
Scan
Servers
Remediate
Servers
Manage
Exemptions
Remediating Hyper-V Cluster
Orchestrated workflow
 Put a node in maintenance mode
 Evacuates the node using Live Migration
 User can override this to save state the VMs on the node
 Install missing updates based on baselines assigned
 Take the node out of maintenance mode
 Go to next node and repeat
Supports WS2008, WS2008 R2, WS2012 Hyper-V clusters
Automatable using PowerShell
VMM Services &
Service Templates
Scale out & health policy Scale out & health policy Scale out & health policy
Service template (Multi-tier applications)
IIS
HW profile OS profile App profile
Application server
HW profile OS profile App profile
SQL
HW profile OS profile App profile
Web tier Application tier Data tier
Standardize Application Deployment
using Service Templates
Compute Storage Network
Web (IIS)
Web Deploy
App (Server App-V) Data (SQL)
DAC Packs
Custom Scripts
Create Service Template with
Service Designer
Use the ribbon for contextual actions
within the Service Template Designer.
Use the designer canvas to build your
service template from Virtual Machine
Templates, Logical Networks and
Load Balancers.
Set service-related properties such as
cost center, description, release version.
Preview pane shows view of your
service deployment.
Settings allow you to set
deployment specific variables.
Ribbon bar for deploy activity or
to check deployment ratings.
Deploy Service Through
Deployment Preview
Why Use Services?
Standardized deployments (in dynamic way – multiple environments)
Manage multi-tier applications across multiple servers as a single
unit
Scale out based on demand
Composibility of OS and Applications, allows users to manage fewer
OS images
Automation using # GCEs (Generic Command Execution ~ scripts)
Generic Command Execution (GCE)
Execute custom scripts within
Service instance VMs
 Can specify run as account, script
restart behavior, logging
properties
 Script parameters can leverage
configurable service settings
Multiple entry points available
 Application level
 Pre/post install, pre/post uninstall,
pre/post service, save/restore state
 Application Profile level
 Pre/post install, Pre/post uninstall
 Pre/post install supports multiple,
ordered scripts (SP1)
SC 2012 SP1 VMM: Services
Service Deployment
 Support for Service deployment to untrusted domains and workgroups
 Support for Service deployment to disconnected VMs
Application Host
 “Web Application Host” for deploying MS Web Deploy packages to existing web
servers (virtual, physical, farm, clustered)
SQL Server 2012
 Complete installation of prepared SQL 2012 instances
Linux Guest support
 Supporting Linux Operating Systems for unattended deployment
In-VM/Guest Agent SP1 Changes
Requires .NET 4.0
 Agent installation will take care of this (can sysprep as well)
 For Server Core, requires Windows Server 2008 R2 SP1 or above
Deployed via ISO
 All service instance VMs have a guest agent installed
Decoupled from VMM server
 Supports Service deployment to untrusted domains and workgroups
 Supports Service deployment to disconnected VMs
Service Template Explorer
An add-in for your VMM Console, that allows you to discover,
download and import pre-configured service templates directly to
your VMM infrastructure
Service Templates available (soon)
 Windows Server 2008 R2 SP1 / Windows Server 2012
 ADDS Domain Controller
 DNS, DHCP
 Web Server (IIS)
 File Server
* THIS IS BETA AT THE MOMENT AND MIGHT CHANGE TILL RTM
Service Template Explorer Experience
Windows Server 2012 Virtualization: Notes from the Field

More Related Content

What's hot

Hyper-V: Best Practices
Hyper-V: Best PracticesHyper-V: Best Practices
Hyper-V: Best PracticesTomica Kaniski
 
30 important-virtualization-vmware-interview-questions-with-answers
30 important-virtualization-vmware-interview-questions-with-answers30 important-virtualization-vmware-interview-questions-with-answers
30 important-virtualization-vmware-interview-questions-with-answersLatif Siddiqui
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshootingOvi Chis
 
V Mware Workstation 6 Ivnua
V Mware Workstation 6 IvnuaV Mware Workstation 6 Ivnua
V Mware Workstation 6 Ivnua-
 
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...VMworld
 
Virtualization using VMWare Workstation
Virtualization using VMWare WorkstationVirtualization using VMWare Workstation
Virtualization using VMWare WorkstationHitesh Gupta
 
VMware HA deep Dive
VMware HA deep DiveVMware HA deep Dive
VMware HA deep DiveEric Sloof
 
how to install VMware
how to install VMwarehow to install VMware
how to install VMwarertchandu
 
Hyper V And Scvmm Best Practis
Hyper V And Scvmm Best PractisHyper V And Scvmm Best Practis
Hyper V And Scvmm Best PractisBlauge
 
Windows Server "10": что нового в виртуализации
Windows Server "10": что нового в виртуализацииWindows Server "10": что нового в виртуализации
Windows Server "10": что нового в виртуализацииВиталий Стародубцев
 
V mware v-sphere-replication-overview
V mware v-sphere-replication-overviewV mware v-sphere-replication-overview
V mware v-sphere-replication-overviewFirman Indrianto
 
Scheduler Support for Video-oriented Multimedia on Client-side Virtualization
Scheduler Support for Video-oriented Multimedia on Client-side VirtualizationScheduler Support for Video-oriented Multimedia on Client-side Virtualization
Scheduler Support for Video-oriented Multimedia on Client-side VirtualizationHwanju Kim
 
Presentation at VMware Workstation Instalation
Presentation at VMware Workstation InstalationPresentation at VMware Workstation Instalation
Presentation at VMware Workstation InstalationMuzammul
 
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVMHypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVMvwchu
 
How to protect an Enterprise Email and Collaboration environment using Veeam ...
How to protect an Enterprise Email and Collaboration environment using Veeam ...How to protect an Enterprise Email and Collaboration environment using Veeam ...
How to protect an Enterprise Email and Collaboration environment using Veeam ...Jorge de la Cruz
 
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009Aidan Finn
 

What's hot (20)

Hyper-V: Best Practices
Hyper-V: Best PracticesHyper-V: Best Practices
Hyper-V: Best Practices
 
30 important-virtualization-vmware-interview-questions-with-answers
30 important-virtualization-vmware-interview-questions-with-answers30 important-virtualization-vmware-interview-questions-with-answers
30 important-virtualization-vmware-interview-questions-with-answers
 
FDM webinar v2.1
FDM webinar v2.1FDM webinar v2.1
FDM webinar v2.1
 
Esxi troubleshooting
Esxi troubleshootingEsxi troubleshooting
Esxi troubleshooting
 
V Mware Workstation 6 Ivnua
V Mware Workstation 6 IvnuaV Mware Workstation 6 Ivnua
V Mware Workstation 6 Ivnua
 
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...
VMworld 2013: Protection for All - VMware vSphere Replication & SRM Technical...
 
Virtualization basics
Virtualization basics Virtualization basics
Virtualization basics
 
Virtualization using VMWare Workstation
Virtualization using VMWare WorkstationVirtualization using VMWare Workstation
Virtualization using VMWare Workstation
 
VMware HA deep Dive
VMware HA deep DiveVMware HA deep Dive
VMware HA deep Dive
 
how to install VMware
how to install VMwarehow to install VMware
how to install VMware
 
Hyper V And Scvmm Best Practis
Hyper V And Scvmm Best PractisHyper V And Scvmm Best Practis
Hyper V And Scvmm Best Practis
 
Hyper-V vNext
Hyper-V vNextHyper-V vNext
Hyper-V vNext
 
Windows Server "10": что нового в виртуализации
Windows Server "10": что нового в виртуализацииWindows Server "10": что нового в виртуализации
Windows Server "10": что нового в виртуализации
 
V mware v-sphere-replication-overview
V mware v-sphere-replication-overviewV mware v-sphere-replication-overview
V mware v-sphere-replication-overview
 
Scheduler Support for Video-oriented Multimedia on Client-side Virtualization
Scheduler Support for Video-oriented Multimedia on Client-side VirtualizationScheduler Support for Video-oriented Multimedia on Client-side Virtualization
Scheduler Support for Video-oriented Multimedia on Client-side Virtualization
 
Presentation at VMware Workstation Instalation
Presentation at VMware Workstation InstalationPresentation at VMware Workstation Instalation
Presentation at VMware Workstation Instalation
 
2. OS vs. VMM
2. OS vs. VMM2. OS vs. VMM
2. OS vs. VMM
 
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVMHypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
Hypervisors and Virtualization - VMware, Hyper-V, XenServer, and KVM
 
How to protect an Enterprise Email and Collaboration environment using Veeam ...
How to protect an Enterprise Email and Collaboration environment using Veeam ...How to protect an Enterprise Email and Collaboration environment using Veeam ...
How to protect an Enterprise Email and Collaboration environment using Veeam ...
 
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
What's New In 2008 R2 Hyper V and VMM 2008 R2 - Updated Oct 2009
 

Viewers also liked

RSA Cybercrime Statistics : November 2013
RSA Cybercrime Statistics : November 2013RSA Cybercrime Statistics : November 2013
RSA Cybercrime Statistics : November 2013EMC
 
Transforming Expectations for Treat-Intelligence Sharing
Transforming Expectations for Treat-Intelligence SharingTransforming Expectations for Treat-Intelligence Sharing
Transforming Expectations for Treat-Intelligence SharingEMC
 
Tues treaty of versailles
Tues treaty of versaillesTues treaty of versailles
Tues treaty of versaillesTravis Klein
 
IT-as-a-Service Solutions for Healthcare Providers
IT-as-a-Service Solutions for Healthcare ProvidersIT-as-a-Service Solutions for Healthcare Providers
IT-as-a-Service Solutions for Healthcare ProvidersEMC
 
The Current State of Cybercrime 2013
The Current State of Cybercrime 2013The Current State of Cybercrime 2013
The Current State of Cybercrime 2013EMC
 
Tues palace of versailles
Tues palace of versaillesTues palace of versailles
Tues palace of versaillesTravis Klein
 
03 mon syllabus and direction of course
03 mon syllabus and direction of course03 mon syllabus and direction of course
03 mon syllabus and direction of courseTravis Klein
 
The Year in Phishing - RSA Fraud Report: January 2013
The Year in Phishing - RSA Fraud Report: January 2013The Year in Phishing - RSA Fraud Report: January 2013
The Year in Phishing - RSA Fraud Report: January 2013EMC
 
Evaluation Question Two
Evaluation Question TwoEvaluation Question Two
Evaluation Question Twoloousmith
 
Pivotal: Hadoop for Powerful Processing of Unstructured Data for Valuable Ins...
Pivotal: Hadoop for Powerful Processing of Unstructured Data for Valuable Ins...Pivotal: Hadoop for Powerful Processing of Unstructured Data for Valuable Ins...
Pivotal: Hadoop for Powerful Processing of Unstructured Data for Valuable Ins...EMC
 
Fashion & tecnologia
Fashion & tecnologiaFashion & tecnologia
Fashion & tecnologiaSara M
 
Federmanager Bologna: English introduction - 15 november 2013
Federmanager Bologna: English introduction - 15 november 2013Federmanager Bologna: English introduction - 15 november 2013
Federmanager Bologna: English introduction - 15 november 2013Marco Frullanti
 
Pivotal: Virtualize Big Data to Make the Elephant Dance
Pivotal: Virtualize Big Data to Make the Elephant DancePivotal: Virtualize Big Data to Make the Elephant Dance
Pivotal: Virtualize Big Data to Make the Elephant DanceEMC
 
Mon wars of religion
Mon wars of religionMon wars of religion
Mon wars of religionTravis Klein
 

Viewers also liked (20)

Tuesday voltaire
Tuesday voltaireTuesday voltaire
Tuesday voltaire
 
RSA Cybercrime Statistics : November 2013
RSA Cybercrime Statistics : November 2013RSA Cybercrime Statistics : November 2013
RSA Cybercrime Statistics : November 2013
 
Year 2070
Year 2070Year 2070
Year 2070
 
Transforming Expectations for Treat-Intelligence Sharing
Transforming Expectations for Treat-Intelligence SharingTransforming Expectations for Treat-Intelligence Sharing
Transforming Expectations for Treat-Intelligence Sharing
 
Tues treaty of versailles
Tues treaty of versaillesTues treaty of versailles
Tues treaty of versailles
 
летние мастер-классы в сидо
летние мастер-классы в сидолетние мастер-классы в сидо
летние мастер-классы в сидо
 
IT-as-a-Service Solutions for Healthcare Providers
IT-as-a-Service Solutions for Healthcare ProvidersIT-as-a-Service Solutions for Healthcare Providers
IT-as-a-Service Solutions for Healthcare Providers
 
The Current State of Cybercrime 2013
The Current State of Cybercrime 2013The Current State of Cybercrime 2013
The Current State of Cybercrime 2013
 
Tues palace of versailles
Tues palace of versaillesTues palace of versailles
Tues palace of versailles
 
03 mon syllabus and direction of course
03 mon syllabus and direction of course03 mon syllabus and direction of course
03 mon syllabus and direction of course
 
The Year in Phishing - RSA Fraud Report: January 2013
The Year in Phishing - RSA Fraud Report: January 2013The Year in Phishing - RSA Fraud Report: January 2013
The Year in Phishing - RSA Fraud Report: January 2013
 
Evaluation Question Two
Evaluation Question TwoEvaluation Question Two
Evaluation Question Two
 
Pivotal: Hadoop for Powerful Processing of Unstructured Data for Valuable Ins...
Pivotal: Hadoop for Powerful Processing of Unstructured Data for Valuable Ins...Pivotal: Hadoop for Powerful Processing of Unstructured Data for Valuable Ins...
Pivotal: Hadoop for Powerful Processing of Unstructured Data for Valuable Ins...
 
Fashion & tecnologia
Fashion & tecnologiaFashion & tecnologia
Fashion & tecnologia
 
Federmanager Bologna: English introduction - 15 november 2013
Federmanager Bologna: English introduction - 15 november 2013Federmanager Bologna: English introduction - 15 november 2013
Federmanager Bologna: English introduction - 15 november 2013
 
13 tipos de_memoria
13 tipos de_memoria13 tipos de_memoria
13 tipos de_memoria
 
Pivotal: Virtualize Big Data to Make the Elephant Dance
Pivotal: Virtualize Big Data to Make the Elephant DancePivotal: Virtualize Big Data to Make the Elephant Dance
Pivotal: Virtualize Big Data to Make the Elephant Dance
 
Webdays blida mobile top 10 risks
Webdays blida   mobile top 10 risksWebdays blida   mobile top 10 risks
Webdays blida mobile top 10 risks
 
Monopolistic comp
Monopolistic compMonopolistic comp
Monopolistic comp
 
Mon wars of religion
Mon wars of religionMon wars of religion
Mon wars of religion
 

Similar to Windows Server 2012 Virtualization: Notes from the Field

Hyper-V ile Yüksek Erişilebilirlik Senaryoları
Hyper-V ile Yüksek Erişilebilirlik SenaryolarıHyper-V ile Yüksek Erişilebilirlik Senaryoları
Hyper-V ile Yüksek Erişilebilirlik SenaryolarıErtan GULEN
 
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebula Project
 
Using openQRM to Manage Virtual Machines
Using openQRM to Manage Virtual MachinesUsing openQRM to Manage Virtual Machines
Using openQRM to Manage Virtual MachinesKris Buytaert
 
Cluster aware updating v1.0
Cluster aware updating v1.0Cluster aware updating v1.0
Cluster aware updating v1.0hypervnu
 
Llunitebe2018 best of_two_worlds-manage.your.servers.the.azure.or.configmgr.way
Llunitebe2018 best of_two_worlds-manage.your.servers.the.azure.or.configmgr.wayLlunitebe2018 best of_two_worlds-manage.your.servers.the.azure.or.configmgr.way
Llunitebe2018 best of_two_worlds-manage.your.servers.the.azure.or.configmgr.wayKenny Buntinx
 
Scvmm Technical Overview.Son Vu
Scvmm Technical Overview.Son VuScvmm Technical Overview.Son Vu
Scvmm Technical Overview.Son Vuvncson
 
Getting Started With Virtualization
Getting Started With VirtualizationGetting Started With Virtualization
Getting Started With VirtualizationBill Kalarness
 
cloud basics.
cloud basics.cloud basics.
cloud basics.Mercy joy
 
Common WSUS Issues in Deployment Operations and Diagnostics
Common WSUS Issues in Deployment Operations and DiagnosticsCommon WSUS Issues in Deployment Operations and Diagnostics
Common WSUS Issues in Deployment Operations and DiagnosticsSolarWinds
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISORVanika Kapoor
 
Vmware srm 6.1
Vmware srm 6.1Vmware srm 6.1
Vmware srm 6.1faz4eva_27
 
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...The Linux Foundation
 
Server Virtualization Seminar Presentation
Server Virtualization Seminar PresentationServer Virtualization Seminar Presentation
Server Virtualization Seminar Presentationshabi_hassan
 
VMWARE Professionals - Availability and Resiliency
VMWARE Professionals -  Availability and ResiliencyVMWARE Professionals -  Availability and Resiliency
VMWARE Professionals - Availability and ResiliencyPaulo Freitas
 

Similar to Windows Server 2012 Virtualization: Notes from the Field (20)

Hyper-V ile Yüksek Erişilebilirlik Senaryoları
Hyper-V ile Yüksek Erişilebilirlik SenaryolarıHyper-V ile Yüksek Erişilebilirlik Senaryoları
Hyper-V ile Yüksek Erişilebilirlik Senaryoları
 
10215 A 04
10215 A 0410215 A 04
10215 A 04
 
OpenQrm
OpenQrmOpenQrm
OpenQrm
 
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
OpenNebulaConf 2016 - Hypervisors and Containers Hands-on Workshop by Jaime M...
 
Using openQRM to Manage Virtual Machines
Using openQRM to Manage Virtual MachinesUsing openQRM to Manage Virtual Machines
Using openQRM to Manage Virtual Machines
 
Commvault Story - CVTSP_1.pptx
Commvault Story - CVTSP_1.pptxCommvault Story - CVTSP_1.pptx
Commvault Story - CVTSP_1.pptx
 
Cluster aware updating v1.0
Cluster aware updating v1.0Cluster aware updating v1.0
Cluster aware updating v1.0
 
Llunitebe2018 best of_two_worlds-manage.your.servers.the.azure.or.configmgr.way
Llunitebe2018 best of_two_worlds-manage.your.servers.the.azure.or.configmgr.wayLlunitebe2018 best of_two_worlds-manage.your.servers.the.azure.or.configmgr.way
Llunitebe2018 best of_two_worlds-manage.your.servers.the.azure.or.configmgr.way
 
Scvmm Technical Overview.Son Vu
Scvmm Technical Overview.Son VuScvmm Technical Overview.Son Vu
Scvmm Technical Overview.Son Vu
 
Getting Started With Virtualization
Getting Started With VirtualizationGetting Started With Virtualization
Getting Started With Virtualization
 
Rht upgrade v5-v2
Rht upgrade v5-v2Rht upgrade v5-v2
Rht upgrade v5-v2
 
cloud basics.
cloud basics.cloud basics.
cloud basics.
 
GAB 2016 ASR
GAB 2016 ASRGAB 2016 ASR
GAB 2016 ASR
 
Common WSUS Issues in Deployment Operations and Diagnostics
Common WSUS Issues in Deployment Operations and DiagnosticsCommon WSUS Issues in Deployment Operations and Diagnostics
Common WSUS Issues in Deployment Operations and Diagnostics
 
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISORLOAD BALANCING OF APPLICATIONS  USING XEN HYPERVISOR
LOAD BALANCING OF APPLICATIONS USING XEN HYPERVISOR
 
openQRM is Not Dead
openQRM is Not DeadopenQRM is Not Dead
openQRM is Not Dead
 
Vmware srm 6.1
Vmware srm 6.1Vmware srm 6.1
Vmware srm 6.1
 
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
CIF16/Scale14x: The latest from the Xen Project (Lars Kurth, Chairman of Xen ...
 
Server Virtualization Seminar Presentation
Server Virtualization Seminar PresentationServer Virtualization Seminar Presentation
Server Virtualization Seminar Presentation
 
VMWARE Professionals - Availability and Resiliency
VMWARE Professionals -  Availability and ResiliencyVMWARE Professionals -  Availability and Resiliency
VMWARE Professionals - Availability and Resiliency
 

More from Microsoft TechNet - Belgium and Luxembourg

More from Microsoft TechNet - Belgium and Luxembourg (20)

Windows 10: all you need to know!
Windows 10: all you need to know!Windows 10: all you need to know!
Windows 10: all you need to know!
 
Configuration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
Configuration Manager 2012 – Compliance Settings 101 - Tim de KeukelaereConfiguration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
Configuration Manager 2012 – Compliance Settings 101 - Tim de Keukelaere
 
Windows 8.1 a closer look
Windows 8.1 a closer lookWindows 8.1 a closer look
Windows 8.1 a closer look
 
So you’ve successfully installed SCOM… Now what.
So you’ve successfully installed SCOM… Now what.So you’ve successfully installed SCOM… Now what.
So you’ve successfully installed SCOM… Now what.
 
Data Leakage Prevention
Data Leakage PreventionData Leakage Prevention
Data Leakage Prevention
 
Deploying and managing ConfigMgr Clients
Deploying and managing ConfigMgr ClientsDeploying and managing ConfigMgr Clients
Deploying and managing ConfigMgr Clients
 
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
Self Service BI anno 2013 – Where Do We Come From and Where Are We Going?
 
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware UpdatingHands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
Hands on with Hyper-V Clustering Maintenance Mode & Cluster Aware Updating
 
SCEP 2012 inside SCCM 2012
SCEP 2012 inside SCCM 2012SCEP 2012 inside SCCM 2012
SCEP 2012 inside SCCM 2012
 
Jump start your application monitoring with APM
Jump start your application monitoring with APMJump start your application monitoring with APM
Jump start your application monitoring with APM
 
What’s new in Lync Server 2013: Persistent Chat
What’s new in Lync Server 2013: Persistent ChatWhat’s new in Lync Server 2013: Persistent Chat
What’s new in Lync Server 2013: Persistent Chat
 
What's new for Lync 2013 Clients & Devices
What's new for Lync 2013 Clients & DevicesWhat's new for Lync 2013 Clients & Devices
What's new for Lync 2013 Clients & Devices
 
Office 365 ProPlus: Click-to-run deployment and management
Office 365 ProPlus: Click-to-run deployment and managementOffice 365 ProPlus: Click-to-run deployment and management
Office 365 ProPlus: Click-to-run deployment and management
 
Office 365 Identity Management options
Office 365 Identity Management options Office 365 Identity Management options
Office 365 Identity Management options
 
SharePoint Installation and Upgrade: Untangling Your Options
SharePoint Installation and Upgrade: Untangling Your Options SharePoint Installation and Upgrade: Untangling Your Options
SharePoint Installation and Upgrade: Untangling Your Options
 
The application model in real life
The application model in real lifeThe application model in real life
The application model in real life
 
Microsoft private cloud with Cisco and Netapp - Flexpod solution
Microsoft private cloud with Cisco and Netapp -  Flexpod solutionMicrosoft private cloud with Cisco and Netapp -  Flexpod solution
Microsoft private cloud with Cisco and Netapp - Flexpod solution
 
Managing Windows RT devices in the Enterprise
Managing Windows RT devices in the Enterprise Managing Windows RT devices in the Enterprise
Managing Windows RT devices in the Enterprise
 
Moving from Device Centric to a User Centric Management
Moving from Device Centric to a User Centric Management Moving from Device Centric to a User Centric Management
Moving from Device Centric to a User Centric Management
 
Network Management in System Center 2012 SP1 - VMM
Network Management in System Center 2012  SP1 - VMM Network Management in System Center 2012  SP1 - VMM
Network Management in System Center 2012 SP1 - VMM
 

Windows Server 2012 Virtualization: Notes from the Field

  • 1. Windows Server 2012 Virtualization: Notes from the Field Didier Van Hoye, Architect http://workinghardinit.wordpress.com Kurt Roggen, Technical Consultant http://trycatch.be/blogs/roggenk
  • 2. Agenda • WS 2012 Hyper-V & Failover Clustering • VM Priorities • Maintenance Mode • Failover & Failback • Anti Affinity • Live Migration • Cluster Aware Updating (CAU) • SC 2012 SP1 Virtual Machine Manager • Cluster Management - Availability Sets • Fabric Patching • Maintenance Mode • Service Templates
  • 4. WS 2012 Failover Clustering Optimize & automate placement logic Virtual Machine Priority Starting the most important VMs first Ensure the most important VMs are running  Preemption to shut down low priority VMs to free up resources for higher priority VMs to start Ideal for infrastructure servers (DCs) or tiered architecture (back-end, middle-tier, customer-facing) Enhanced Failover Placement Each VM placed based on node with best available memory resources Memory requirements evaluated on a per VM basis  Non-Uniform Memory Access (NUMA) aware High Medium Low
  • 5. Priorities for Roles or Virtual Machine Values: High, Medium, Low  Default Priority: Medium  Lowest Priority: No Auto Start Starting Roles in Priority order  Per Node Placing Roles/VMs in Priority order  Cold start  Handling node crash Moving Roles/VMs in Priority order  Queuing  Node Drain High Medium Low No Auto Start
  • 6. Virtual Machine Priorities  Default Priority: Medium  Default “Move Behavior”: Quick migration for Low & below  Defined by cluster parameter “MoveTypeThreshold” which defaults to 2000 (Medium or Higher Priority)
  • 7. VM Priorities & Live Migration  Set all VMs to Live Migrate (instead of Quick Migrate)  Not only VM with Medium/High Priorities  VM Priority Values  3000 = High  2000 = Medium  1000 = Low  0 = Do not start automatically  Using PowerShell  Get-ClusterResourceType "Virtual Machine" | Set-ClusterParameter MoveTypeThreshold 1000
  • 8.
  • 9. Enhanced Failover Placement • Enhanced memory aware placement of VMs • Check for most available Memory • Failover is determined by Preferred Owners & Possible Owners • Failback of VM now uses Live Migration instead of Quick Migration • Live Migration respects Preferred Owners & Possible Owners • Default Failback action: No Failback
  • 10. Anti Affinity ClassNames • Property of ClusterResourceGroup • Identify ClusterGroups that should not be hosted on the same node (where possible) • Impacts VM Placement and Live Migrations • Configurable using PowerShell only • Configurable using SC2012 SP1 VMM using “Availibility Sets” • Serves as basis for “Availibility Sets” in SC2012 SP1 VMM More information: http://msdn.microsoft.com/en-us/library/aa369651(v=vs.85).aspx
  • 11. Cluster Node Maintenance Mode Drain all VMs off a node Supports all cluster roles Role-specific features  Live migration or quick migration for VMs  Uses VM Priority  Moves other roles
  • 12. Cluster Node Maintenance Mode Workflow – In Depth Cluster Node Maintenance Mode - Automated Node Drain Workload sorted based on Priority VMs queued for live migration (using MaxLiveMigrations) Enhanced memory aware placement of VMs VMs’ live migrated concurrently along with built-in retry logic Node is PAUSED Automated Node Drain completed Cluster Placement Policies (Preferred & Possible Owners, AntiAffinity)
  • 14. Cluster Aware Updating (CAU)  Update orchestration across all nodes in a cluster  CAU ships in box with Windows Server 2012  Not reinventing Windows Updates & patching  Previews, applies and reports on updates for a cluster  Two modes: Self-updating & Remote-updating  Self-updating: Workload reduction through increased automation, Updating itself is resilient  Remote-updating scenarios where closer administrator attention is preferred or warranted  Extensible  Integrate with your patching tools with plug-ins (API)  Two inbox plug-ins: Windows Update & hotfix plug-in  Per-node pre-update and post-update scripts
  • 15. Where Does CAU Fit In? Windows Update Services
  • 16. Plug-ins & Supported Update Types CAU ships with two plug-ins 1. Windows Update 1. Installs GDRs* => From Windows Update Or WSUS 2. Hotfix Plug-in 1. Installs QFEs** from a SMB 3.0 file share 2. 3rd party updates such as BIOS & Firmware Updates from a SMB 3.0 File Share
  • 17. Cluster Aware Updating Process 1. Scans, downloads and installs applicable updates on each node  Windows Update or Hotfix plugin or both 2. Restarts node as necessary 3. One node at a time 4. Repeats for all cluster nodes 5. Customize pre- & post-update behavior with PS scripts 6. Easy manual or scheduled launch  Via GUI  PowerShell  Works for both physical or virtualized clusters Jenny Starts Updating Run Node 64 Resume Node & Failback VMs . . . Node 1 Windows Server failover cluster . . . Windows Update, WSUS, QFE, … Pause Node & Drain VMs CAU
  • 18. Remote-Updating Mode  CAU Update Coordinator process remotely connects to the cluster  User-initiated Updating Run, allowing real time monitoring  Rich progress updates  Minimal Server Core (no .Net or PS dependency) on nodes CAU Update Coordinator Failover Cluster Node 1 Node 2 Node 3 Node 4
  • 19. Node 1 Failover Cluster Self-Updating Mode  Leverages a CAU cluster role that is resilient to planned and unplanned failures  Requires no real-time user attention  Installs updates on a custom schedule  CAU Update Coordinator process runs on a clustered node Update Coordinator Node 2 Node 3 Node 4
  • 20.  Strict ACL Checking (Optional) Kerberos Mutual Authentication (Required)  Data integrity checking (Required)  SMB Signing or SMB Encryption  Privacy with SMB Encryption (Optional)  SMB Encryption is new in Windows Server 2012 Hotfixes Folder Structure & Security CAU Hotfix Root Folder CAUHotfix_All <Node Name 1> Extension Rules <MSU> <MSI> <MSP> Folder Rules <MySwUpdateType> Hotfix Config File MySwUpdateType Special software updates . . . Hotfixes applicable to all nodes Hotfixes applicable just to <Node Name 1> Hotfixes applicable just to <Node Name N> <Node Name N> MySwUpdateType Special software updates MySwUpdateType Special software updates
  • 21. “Hotfix” Support Internals  Rich/extensible Hotfix installation  Microsoft QFEs, or third-party driver updates, or even Firmware/BIOS updates…  Select hotfix behavior at start. Two key inputs: 1. Root Folder: on an SMB File Share 2. Configuration xml file: defines the Rules System32WindowsPowerShellv1.0ModulesClusterAwareUpdatingDefaultHotfixConfig.xml  Configuration Rules are the key to flexibility  Easy to specify new Rules  hotfix installer name, install options, reboot behavior, return values etc.
  • 22. NTFS permissions CAU File Share  First you’ll need to do your home work as described in the TechNet article  But that doesn’t quite cover it  Adjust NTFS Permissions on the CAU Share  Give cluster node computer accounts (or an AD group containing them, which makes for easier administration) Read/Execute permission to the location  If Not =>they can’t run the DUPs.
  • 23. NTFS permissions Log File  DUPs allows logging with /L switch  Locally (per node) or to central share  Must use another share than the CAU Share:  Need to give the computer accounts (or an AD group containing them, which makes for easier administration) write permission to the location  You’re not allowed to do that for other then specific accounts as described on TechNet  The log can grow quite large if used a lot  Keep an eye on it  For clarities sake use different log per cluster or folder type
  • 24. CAU Hotfix plug-in in action
  • 26. VMM 2012 SP1: Cluster Management • Supports “Possible/Preferred Owner” • Supports of “Availability Sets” (Anti-Affinity) • Supports VM Priority • Supports CSV2 • Supports 64 cluster nodes, 4000 VM’s/cluster, 1024 VMs/node
  • 27. Possible Owners & Preferred Owners
  • 29. VMM 2012 SP1 support for Anti-Affinity = VMM ‘Availability Sets’ Availability Set = configurable anti-affinity rules for VMs Ensures VMs are placed on different hosts for better availability VMM Placement algorithm offers suggestions based on availability sets Works across:  Standalone (non-clustered) Hyper-V hosts*  Hyper-V clusters*  Xen Server hosts  VMware hosts
  • 31. Availability Sets & VMM Services VMM Services can leverage ‘Availability Sets’  Availability sets – configured at the machine tier level  Ensures that VM instances of a machine tier are placed on different hosts. SSUs can request availability sets for their VMs  Simple checkbox experience  Available from the VMM Service Template Designer
  • 32.
  • 34. Update Management Feature of VMM 2012 Keeps Windows Fabric Servers up-to-date • Limited to VMM managed infrastructure servers (HV, LIB, WSUS, WDS) Enable Feature Manage Baselines Scan Servers Remediate Servers Manage Exemptions
  • 35. Remediating Hyper-V Cluster Orchestrated workflow  Put a node in maintenance mode  Evacuates the node using Live Migration  User can override this to save state the VMs on the node  Install missing updates based on baselines assigned  Take the node out of maintenance mode  Go to next node and repeat Supports WS2008, WS2008 R2, WS2012 Hyper-V clusters Automatable using PowerShell
  • 37. Scale out & health policy Scale out & health policy Scale out & health policy Service template (Multi-tier applications) IIS HW profile OS profile App profile Application server HW profile OS profile App profile SQL HW profile OS profile App profile Web tier Application tier Data tier Standardize Application Deployment using Service Templates Compute Storage Network Web (IIS) Web Deploy App (Server App-V) Data (SQL) DAC Packs Custom Scripts
  • 38. Create Service Template with Service Designer Use the ribbon for contextual actions within the Service Template Designer. Use the designer canvas to build your service template from Virtual Machine Templates, Logical Networks and Load Balancers. Set service-related properties such as cost center, description, release version.
  • 39. Preview pane shows view of your service deployment. Settings allow you to set deployment specific variables. Ribbon bar for deploy activity or to check deployment ratings. Deploy Service Through Deployment Preview
  • 40. Why Use Services? Standardized deployments (in dynamic way – multiple environments) Manage multi-tier applications across multiple servers as a single unit Scale out based on demand Composibility of OS and Applications, allows users to manage fewer OS images Automation using # GCEs (Generic Command Execution ~ scripts)
  • 41. Generic Command Execution (GCE) Execute custom scripts within Service instance VMs  Can specify run as account, script restart behavior, logging properties  Script parameters can leverage configurable service settings Multiple entry points available  Application level  Pre/post install, pre/post uninstall, pre/post service, save/restore state  Application Profile level  Pre/post install, Pre/post uninstall  Pre/post install supports multiple, ordered scripts (SP1)
  • 42. SC 2012 SP1 VMM: Services Service Deployment  Support for Service deployment to untrusted domains and workgroups  Support for Service deployment to disconnected VMs Application Host  “Web Application Host” for deploying MS Web Deploy packages to existing web servers (virtual, physical, farm, clustered) SQL Server 2012  Complete installation of prepared SQL 2012 instances Linux Guest support  Supporting Linux Operating Systems for unattended deployment
  • 43. In-VM/Guest Agent SP1 Changes Requires .NET 4.0  Agent installation will take care of this (can sysprep as well)  For Server Core, requires Windows Server 2008 R2 SP1 or above Deployed via ISO  All service instance VMs have a guest agent installed Decoupled from VMM server  Supports Service deployment to untrusted domains and workgroups  Supports Service deployment to disconnected VMs
  • 44. Service Template Explorer An add-in for your VMM Console, that allows you to discover, download and import pre-configured service templates directly to your VMM infrastructure Service Templates available (soon)  Windows Server 2008 R2 SP1 / Windows Server 2012  ADDS Domain Controller  DNS, DHCP  Web Server (IIS)  File Server * THIS IS BETA AT THE MOMENT AND MIGHT CHANGE TILL RTM