Share
Embed
So You Want to Build a Stretched Cluster?
Discusses some recommendations for building resilient stretched VMware vSphere clusters
Scott Lowe
December 05, 2011
Transcript
20 slides
-
Before we start • Get involved! • If you use
Twitter, feel free to tweet about this session (use hashtag #VMUG) • I encourage you to take photos or videos of today’s session and share them online • This presentation will be made available online after the event -
So You Want to Build a Stretched Cluster? Some recommendations
for building resilient stretched VMware vSphere clusters Scott Lowe, VCDX 39 vExpert, Author, Blogger, Geek http://blog.scottlowe.org / Twitter: @scott_lowe -
Are you sure? • Stretched clusters are not a DR
solution • No VM startup ordering • No orchestration of external resources • No inclusion of scripts or other tools • Stretched cluster requirements are somewhat steep • For many organizations, SRM with traditional replication is the right fit -
• vSphere recommendations • Storage recommendations • Networking recommendations •
Operational recommendations So you want to build a stretched cluster? -
• Use vSphere 5 • Use DRS host affinity groups
• Configure vSphere HA appropriately vSphere recommendations -
• vSphere 5 eliminates some vSphere HA limitations • No
more primary/secondary nodes • This leads to larger stretched clusters with more nodes in each site • Better handling of network isolation/network partition • More information on vSphere HA configuration shortly • vSphere 5 introduces the vMSC HCL category Use vSphere 5 -
• vMSC = vSphere Metro Storage Cluster • Introduces some
new terms: • Uniform access = “stretched SAN” • Non-uniform access = “distributed virtual storage” • Provides boundaries for supportability of stretched cluster configurations New vMSC HCL category -
• Allows you to mimic site awareness • Use PowerCLI
to address manageability concerns • Use “should” rules instead of “must” rules Use vSphere DRS host affinity groups -
• Managing DRS host affinity groups at scale does have
some overhead; PowerCLI can help: • Use some sort of unique property to "group" VMs (could be a custom property if desired) • Use this grouping to automate VM placement into groups • Run the PowerCLI script regularly to ensure correct VM group assignment Using PowerCLI with host affinity groups -
Configure vSphere HA appropriately • Configure per-site HA isolation addresses
(using das.isolationaddress) • Set HA to run in N+2 failover capacity • Allows for host failures in each site • However, keep in mind that you can’t control the “+2” • Use per-site designated heartbeat datastores • Use “should” DRS host affinity rules to allow HA some flexibility -
• Use storage from vMSC category • Be aware of
storage performance considerations • Account for storage availability • Plan Storage DRS carefully • Use profile-driven storage Storage recommendations -
• Consider cross-connect topology • Ensure multiple storage controllers at
each site for availability • Provide redundant and independent inter-site storage connections • With VPLEX, use the third-site cluster witness Account for storage availability -
• Align datastore clusters to site boundaries • Don't combine
stretched/non-stretched datastores in a single datastore cluster • Understand the impact of SDRS on your storage solution Plan Storage DRS carefully -
• Use user-defined capabilities to model site topology • You
can use user-defined capabilities regardless of VASA support from the storage vendor • Create VM storage profiles to provide site affinity • This can help avoid operational concerns with VM placement Use profile-driven storage -
• Plan for different traffic patterns due to VLAN extensions
and L3 routing • Where possible, separate management traffic onto a vSwitch • Incorporate redundant and independent inter-site network connections • Minimize latency as much as possible Networking recommendations -
• Account for backup/restore in your design • Handle inter-site
vMotion carefully • Don't split multi-tier apps across sites Operational recommendations -
• Consider a solution with client-side deduplication to reduce WAN
traffic • A mechanism to reduce restore traffic would be nice to have as well • Might be able to leverage storage solution itself for restores • Restore to local side • Allow storage solution to replicate to remote side Backup/restore for stretched clusters -
• An inter-site vMotion will impact DRS host affinity rules
• An inter-site vMotion could require storage configuration updates • Review inter-site vMotions to: • Reconcile DRS host affinity rules and VM locations • Reconcile storage availability rules and VM locations • Impact on other operational areas Handling inter-site vMotion