Parallels Virtualization ContainersHigh Availability & Disaster RecoveryJamison Moore
Sponsored by
|| Parallels Summit 2009 | Las Vegas | Mandalay Bay
Parallels – Optimized ComputingTM
2
Agenda
CONTAINERS OVERVIEWParallels Virtuozzo Containers – HA/DR
Parallels – Optimized ComputingTM
4
Parallels Virtualization Technologies
Guest OSGuest OSGuest OS
VM 1 VM 2 VM 3
Virtual Hardware Virtual Hardware Virtual Hardware
Virtual Machine Monitor
Hypervisor or Standard Host OS
Hardware
Hypervisor
• Virtualizes access to hardware• Mix and Match Operating Systems• Minimal / Moderate Overhead• Parallels Server, Workstation, Desktop
• Virtualizes access to OS• Single OS per server (Windows/Linux)• Minimal Performance Overhead• Parallels Virtuozzo Containers
Container1
Container2
Container3
Standard Host OS
Hardware
OS Virtualization Layer
OS Virtualization
OS Virtualization(Containers)
Hardware Virtualization(Hypervisors)
Parallels – Optimized ComputingTM
5
Parallels Virtuozzo Containers
Comprehensive Management• Global, Multi-server management• Granular roles based permissions
Powerful and Extensible• Dynamic HTML, AJAX• SOAP, XML, RPC, CLI, SNMP, AD & LDAP
Parallels – Optimized ComputingTM
6
High Density Partitioning100s+ of containers on a single server
Complete Container IsolationProcesses, sessions, users, files, registry/proc, pipes, NIC, IP addresses, ports, routing tables…
Dynamic Resource ManagementCPU, memory, disk, I/O, & system resources
Mass Patch & Application ManagementStreamlined OS updates, and deployments of containers and applications
Parallels Virtuozzo Containers
DISASTERSParallels Virtuozzo Containers – HA/DR
Parallels – Optimized ComputingTM
8
Disasters Come in Many Forms
Human ErrorPower FailureHardware/Software FailureNetwork FailureHackers/Worms/Viruses Burglary/VandalismTerrorism/SabotageExplosionFloodingFireLightening EarthquakeTornadoHurricane
Disaster : any sudden, unplanned event that disrupts critical business functions.
Parallels – Optimized ComputingTM
9
The Cost of a Disaster
Average cost of downtime PER HOUR:
– Retail brokerage - $6.45 mil
– Credit card sales authorization - $2.60 mil
– Airline reservation centers - $89,500– Computer Networks - $42,000
43% of firms that suffer massive data loss will never re-open
Disaster Recovery Journal
*Gartner**Pepperdine University Report
**
*
80% of failures are due to 80% of failures are due to human errorhuman error
Gartner
Average cost of data loss PER INCIDENT:
– Technical services cost, lost productivity/data - ~ $4000
Parallels – Optimized ComputingTM
10
Planning for Disasters
Nobody plans to fail, they simply fail to plan
CLUSTERINGParallels Virtuozzo Containers HA/DR
Parallels – Optimized ComputingTM
12
What is Parallels Virtuozzo Clustering?
Servers working together to increase availability
Cluster
Parallels – Optimized ComputingTM
13
Supported Clustering Modes
Physical to Container
BOOM
BOOM
• A dedicated standby node is not required for either clustering mode
• Less hardware & maintenance = Substantial upfront & annual cost savings!
• Eliminate standby hardware for just 100 nodes and save ~$200K+ annually
Physical to Physical
Cluster Cluster
BOOM
BOOM
Parallels – Optimized ComputingTM
14
Dedicated Standby Node
14
While Parallels Virtuozzo Containers Supports clustering without it, a dedicated standby node is optional.
More Hardware & Maintenance = Additional Upfront & Annual Costs
Cluster
Parallels – Optimized ComputingTM
15
Virtuozzo Clustering Best Practices• Leverage fencing devices when possible
• Allow heartbeat over private and public NICs
• Virtuozzo Containers up to date with latest patches
• Patch level parity among nodes is recommended
• The Standby node is of equal or better performance
• Use separate disk resources for logs & Container data
• Use dedicated NIC for heartbeat, public & iSCSI networks
• Members should have matching server architecture– Required for Microsoft Windows, optional for Linux
• When using Active/Active, ensure capacity on fail-over node
BACKUP & REPLICATIONParallels Virtuozzo Containers HA/DR
Parallels – Optimized ComputingTM
17
Container Backup
17
• Included Free with Virtuozzo
• Online, snapshot based backup
• VSS aware (AD, Exchange, MSSQL, Oracle…)
• Define compression type, files to backup, start time, backup location (local, network share, Virtuozzo node)
• Build-in backup scheduler
• Minimal container backup size
Parallels – Optimized ComputingTM
18
Host & Container Backup
Parallels – Optimized ComputingTM
19
Data Replication• I’m creating regular backups, do I need replication?
– Backups are typically hourly/daily
– Can you afford to lose data for the last day or even the last hour?
– How much would it cost to manually reproduce the lost data?
• SAN Based Replication– DataCore SANsymphony / SANmelody
• Software Based Replication– DoubleTake
– PeerSync
19
Parallels – Optimized ComputingTM
20
Summary
• Downtime, planned or not = Lost $$$
• Carefully determine your HA & DR requirements
• Use a combined approach when possible
• You probably already own clustering software, use it
• Parallels Virtuozzo Containers includes cluster support
Parallels – Optimized ComputingTM
21
Questions?
Thank You!
Jamison [email protected]
Fully functional trials of Parallels Virtuozzo Containers available at:
www.Parallels.com
APPENDIXParallels Virtuozzo Containers HA/DR
Parallels – Optimized ComputingTM
24
Parallels Products Overview
Virtualization
ParallelsDesktop
ParallelsWorkstation
Parallels Server Parallels Virtuozzo Containers
The best of both worlds with Hypervisor and OS Virtualization
Automation
Complete automation & management of IT systems and processes
Parallels System Automation
Parallels Business Automation
Parallels InfrastructureManager
Parallels Plesk Products
Parallels – Optimized ComputingTM
25
Clustering does not protect against:– Loss of, or damage to shared storage
– Data(base) corruption
– Network or Site-level disasters
– All application failures
– Human configuration errors
Clustering does not support:– Moving running applications
– Maintain session(s) state
What Does Clustering Not Provide?
Parallels – Optimized ComputingTM
26
Networking - Bridged Mode
26
Usage Advantages MAC-dependent applications
Cross-Container traffic using external router
DHCP based IP assignment
Support of all dedicated server network features
Raw packet support
Support of MAC-address dependent applications (like load-balancers)
DHCP client and server support
Parallels – Optimized ComputingTM
27
Network Load Balancing (NLB)This cluster configuration can be used to distribute client requests among cluster nodes
according to the current network load, thus, greatly increasing your application and service availability and performance.
27
Minimal Requirements• 2 active nodes / containers
Benefits• Load Distribution: If a container fails, the load
is automatically redistributed among the remaining active Containers.
• Capacity on Demand: As the traffic increases or as your applications require more server power, you can dynamically add capacity by adding additional containers/nodes.
Limitations• Server load is not factored in, only network
traffic is considered.
Parallels – Optimized ComputingTM
28
Related SessionsParallels Virtualization Roadmap Update (online)Tuesday 3:55 / Technology Track
Parallels Technology Roadmap
Wednesday 11:35 / General Session
Parallels Virtualization Containers Best Practices: High Availability/Clustering
Wednesday 1:00 / Enterprise IT Track
Parallels Virtuozzo Containers Hands-on Lab