![Page 1: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/1.jpg)
![Page 2: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/2.jpg)
This presentation may contain VMware confidential information.
Copyright © 2005 VMware, Inc. All rights reserved. All other marks and names mentioned herein may be trademarks of their respective
companies.
![Page 3: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/3.jpg)
PAC177Distributed Availability Service
(DAS) Architecture
Sridhar RajagopalVMware
![Page 4: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/4.jpg)
What Is It?
Provides high availability to virtual machines through automatic failover, on a cluster of ESX Server hosts Easy configuration, management and
monitoring of the high availability service Customizable behavior for individual
virtual machines
![Page 5: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/5.jpg)
Outline
Overview Traditional failover Failover of virtual machines Distributed Availability Service (DAS) Example Conclusion
![Page 6: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/6.jpg)
Availability
High availability Immediate response to failure, at the
application or machine level
Proactive availability Responding to events as system maintenance,
load fluctuations, workflow cycles, errors
Availability continuum Improved, high, continuous availability
![Page 7: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/7.jpg)
Active-Passive
X
192.168.1.1 192.168.1.1
![Page 8: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/8.jpg)
Active-Active
X
192.168.1.1
192.168.1.1
192.168.1.2
![Page 9: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/9.jpg)
Advanced Configurations
N-to-one N+1 N-to-N
X
![Page 10: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/10.jpg)
Traditional Failover
Need to cluster important applications Need to configure each node and application,
with additional setup on each node Non-clustered applications have no guarantees Application compatibility Planning spare capacity is not easy
![Page 11: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/11.jpg)
Failover in Virtual Infrastructure
Cluster Server running inside the virtual machine Cluster Server running in the console OS
X
![Page 12: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/12.jpg)
Advantages
Increased application availability at no extra cost No extra application setup
needed on each node. Clustered continuously available
applications get faster resurrection of resources
![Page 13: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/13.jpg)
Issues
Each virtual machine will have to be set up for clustering
Not fully integrated with VirtualCenter(VC), VMotion
VC does not know about failover
Cluster server does not know about planned VC operations like Power-offs, VMotions
VC
VC
?
?
![Page 14: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/14.jpg)
Solution
For a transparent solution VC needs to understand cluster server Virtual machine might change hosts
Cluster Server needs to know about VC Power off, VMotion
Hide the complexity of the interaction from the user VC as a management framework
![Page 15: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/15.jpg)
Distributed Availability Service
A fully integrated, scalable virtual machine failover solution from VMware All virtual machines get transparent
failover support Integrated with VMotion, Distributed Resource
Scheduler (DRS), VC
![Page 16: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/16.jpg)
Architecture DiagramVC Server
Agent
VirtualMachine
Agent Agent
High level architecture with black-box view of Agent
VirtualMachine
VirtualMachine
![Page 17: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/17.jpg)
VC Planned Operations
Power off Power off will not be construed as failure Powered off, and specifically marked virtual machines
will not be failed over
VMotion: There is a brief window of vulnerability DAS has enough information to restart virtual machine
on origin, target, or another suitable host (if both go down)
![Page 18: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/18.jpg)
Distributed Resource Scheduler
React to dynamic load changes Balance load across the cluster by automatic
virtual machine placement and VMotion
Specify complex resource policies across your cluster with hierarchical resource pools Easily manage and view resource policies
and cluster balance recommendations
![Page 19: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/19.jpg)
DRS and DAS
The first priority is restarting of failed virtual machines DRS will kick in and rectify suboptimal
placements DRS has affinity/anti-affinity rules DRS + DAS = proactive + reactive
solution
![Page 20: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/20.jpg)
DAS
Virtual Machine
Virtual Machine
Virtual Machine
Virtual Machine
Virtual Machine
Virtual Machine
Virtual Machine Virtual Machine
X
VC
![Page 21: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/21.jpg)
Planning and Configuring
Planning your cluster (admission control) Admission control ensures that enough spare
capacity is maintained across the cluster for failover Each host has some available headroom in terms of
memory and CPU Each virtual machine has some minimum memory
and CPU requirements
![Page 22: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/22.jpg)
Capacity Planning
Specify number of host failures If N biggest hosts fail, the virtual machines
should still be relocated Determine worst case failure scenario with
max of the host and virtual machine sizes
![Page 23: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/23.jpg)
Capacity Planning Example
VirtualMachine1
VirtualMachine2
VirtualMachine3
VirtualMachine6
VirtualMachine5
Failover capacity: 1 host failure
VirtualMachine1
VirtualMachine2
VirtualMachine3
VirtualMachine4
Failover capacity: 2 host failure
Virtual Machine1Virtual
Machine2Virtual
Machine2Virtual Machine1
Slot size
VirtualMachine4
![Page 24: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/24.jpg)
Capacity Planning, cont.
Assumes a relatively homogenous cluster This is a conservative scheme Advanced users that want to do their own
planning can turn it off
Virtual machines have priorities If sufficient capacity is not available, more
important virtual machines get failed over first
![Page 25: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/25.jpg)
Failover and errors scenarios
Number of host failures exceeds configured spare capacity Virtual machines with higher priority get
failed over first An alarm is generated
Clustering service is monitored and appropriate events/alarms are raised Integrated with standard VC framework
![Page 26: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/26.jpg)
Example
Create a cluster Plan your cluster: set cluster properties Add hosts to the cluster Create virtual machines Power on virtual machines, set virtual
machine specific policies, if needed Sleep well!
![Page 27: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/27.jpg)
Example
VC
![Page 28: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/28.jpg)
Create Cluster
![Page 29: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/29.jpg)
Configure Cluster
![Page 30: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/30.jpg)
Configure Cluster
![Page 31: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/31.jpg)
Add Hosts to Cluster
![Page 32: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/32.jpg)
Add Host
![Page 33: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/33.jpg)
Move Host into Cluster
![Page 34: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/34.jpg)
Set Virtual Machine Specific Overrides
![Page 35: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/35.jpg)
Power On Virtual Machine
![Page 36: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/36.jpg)
Failover
![Page 37: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/37.jpg)
Example 2: VirtualCenter
VirtualCenter is an application Needs to be highly available to ensure
management and monitoring Can VirtualCenter provide failover for itself? Solution: Run VirtualCenter in a virtual
machine in a DAS cluster
![Page 38: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/38.jpg)
Clustered VirtualCenter, 2
Running VirtualCenter inside a virtual machine, in a cluster that it manages, provides high availability to itself!
VC VC
![Page 39: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/39.jpg)
Conclusion
DAS Automatic failover for all virtual machines Fully integrated with VC, VMotion, DRS Applications running in such virtual machines
get increased availability Configuration and management are simplified Scalable Works with traditional application level failover
and enhances it
![Page 40: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/40.jpg)
Questions?
![Page 41: This presentation may contain VMwaredownload3.vmware.com/vmworld/2005/pac177.pdf · Machine2 Virtual Machine2 Virtual Machine1 Slot size Virtual Machine4. Capacity Planning, cont](https://reader033.vdocuments.site/reader033/viewer/2022053019/5f2463e3194fa418af3fde7b/html5/thumbnails/41.jpg)
PAC879: The Next Phase of Virtual Infrastructure: Introducing ESX Server 3.0 and VirtualCenter 2.0
PAC177: Distributed Availability Services ArchitecturePAC484: Consolidated Backup with ESX Server:
InDepth ReviewPAC485: Managing Data Center Resources Using the
VirtualCenter Distributed Resource SchedulerPAC532: iSCSI and NAS in ESX Server 3
Details about future releases of our products are available in select sessions at VMworld,
including: