VMware Site Recovery Manager SRM5 Update Ed Walsh vSpecialist E-mail: ed.walsh@emc.com Phone: 518-928-0694 Twitter: @vEddieW © Copyright 2011 EMC Corporation. All rights reserved. 1 What is Site Recovery Manager? Site Recovery Manager Complements vSphere: simplest disaster protection with auto vCenter discovery and embedded array based replication management enable frequent non-disruptive testing ensure fast, automated failover Simplify management of recovery and migration plans Replace manual runbooks with centralized recovery plans From weeks to minutes to set up new plan SRM Momentum: Introduced in Q2’ 2008 125,000+ units sold 5,000+ customers 50% annual growth in 2010 Demo © Copyright 2011 EMC Corporation. All rights reserved. 2 SRM High-Level Architecture Production Site vCenter Server Site Recovery Manager Network Virtual Machines Recovery Site Site Recovery Manager vCenter Server Virtual Machines Windows and Linux VMs VMware vSphere VMware vSphere Servers Server hardware can be different makes and models Servers Storage Storage Storage Replication Fibre Channel, iSCSI, NFS Demo © Copyright 2011 EMC Corporation. All rights reserved. 3 SRM5 Enhancements Technology • vSphere Replication Workflow • Planned Migration/reprotect/failback • DR event Miscellaneous • • • • • IPV6 Miscellaneous API – Protected Side Dependencies Resolved Issues User Interface • Completely new UI © Copyright 2011 EMC Corporation. All rights reserved. 4 Technology – vSphere Replication • Virtual machines replicated without advanced array functionality • Enables replication between heterogeneous datastores • Replication is managed as a property of a virtual machine • Efficient replication minimizes impact on VM workloads © Copyright 2011 EMC Corporation. All rights reserved. 5 vSphere Replication Details Replication Granularity per Virtual Machine • Can opt to replicate all or a subset of the VM’s disks • You can create the initial copy in any way you want - even via sneaker net! • You have the option to place the replicated disks where you want • Disks are replicated in group consistent manner Simplified Replication Management • User selects destination location for target disks • User selects Recovery Point Objective (RPO) • User can supply initial copy to save on bandwidth Replication Specifics • Changes on the source disks are tracked by ESX • Deltas are sent to the remote site • Does not use VMware snapshots © Copyright 2011 EMC Corporation. All rights reserved. 6 Replication UI Select VMs to replicate from vSphere client by right click options Can do this on one VM, or multiple VMs simultaneously © Copyright 2011 EMC Corporation. All rights reserved. 7 vSphere Replication 1.0 Limitations Focus on virtual disks of powered-on VMs • ISOs and floppy images are not replicated • Powered-off/suspended VMs not replicated • Non-critical files not replicated (e.g. logs, stats, swap, dumps) vSR works at the virtual device layer • • • • Independent of disk format specifics Independent of primary-side snapshots VM is recovered with collapse snapshots Physical RDMs are not supported Storage DRS , FT, linked clones, VM templates not supported Automated failback of vSR-protected VMs not supported yet Virtual Hardware 7, or later, in the VM is required Minimum RPO of 15 minutes © Copyright 2011 EMC Corporation. All rights reserved. 8 SRM Architecture with vSphere Replication “Protected” Site “Recovery” Site vSphere Client vSphere Client SRM Plug-In SRM Plug-In SRM Server vCenter Server vCenter Server SRM Server vRMS vRMS vRS ESX ESX ESX vRA vRA vRA ESX Storage Storage VMFS 9 ESX Storage VMFS VMFS Confidential VMFS SRM Scalability 10 Maximum Enforced Protected virtual machines total 1000 No Protected virtual machines in a single protection group 500 No Protection groups 250 No Simultaneous running recovery plans 30 No vSphere Replicated virtual machines 500 No Confidential Planned Migrations For App Consistency & No Data Loss Overview Planned Migration 1 Shut down production VMs 3 Recover appconsistent VMs Site A Site B vSphere vSphere Two workflows can be applied to recovery plans: DR failover Planned migration Planned migration ensures application consistency and no data-loss during migration Graceful shutdown of production VMs in application consistent state Data sync to complete replication of VMs Recover fully replicated VMs Replication 2 Sync data, stop replication and present LUNs to vSphere Benefits Better support for planned migrations No loss of data during migration process Recover ‘application-consistent’ VMs at recovery site © Copyright 2011 EMC Corporation. All rights reserved. 11 Planned Migration New is Planned Migration. Will shutdown protected VM’s, and then synchronize them! © Copyright 2011 EMC Corporation. All rights reserved. 12 Automated Failback To Streamline Bi-Directional Migrations Automated Failback Overview Re-protect VMs from Site B to Site A Reverse replication Apply reverse resource mapping Reverse original recovery plan Site A Site B vSphere vSphere Reverse Replication Automate failover from Site B to Site A Reverse original recovery plan Restrictions Does not apply if Site A has undergone major changes / been rebuilt Not available with vSphere Replication Benefits Simplify failback process Automate replication management Eliminate need to set up new recovery plan Streamline frequent bi-directional migrations © Copyright 2011 EMC Corporation. All rights reserved. 13 Reprotect After you use planned migration (or DR Event) to migrate to your recovery site, you must reprotect to enable the failback. © Copyright 2011 EMC Corporation. All rights reserved. 14 Failback Description • “Single button” to failback all recovered VMs • Interfaces with storage to automatically reverse replication Benefits • Facilitates DR operations for enterprises that are mandated to perform a true failover as part of DR testing • Simplifies recovery process after disaster • Replays existing recovery plans – so new virtual machines are not part of failback Reverse Replication Site A (Primary) © Copyright 2011 EMC Corporation. All rights reserved. Site B (Recovery) 15 Failback To failback, you need first to do a migration (DR or Planned), followed by a reprotect. To do an actual failback, the recovery plan is now run again The recovery plan will now failback the VMs to the original site. © Copyright 2011 EMC Corporation. All rights reserved. 16 Failback (continued) Reprotect is now almost complete . . . © Copyright 2011 EMC Corporation. All rights reserved. 17 User Interface Enhancements Thanks to some great UI researchers, designers, and some wonderful customers! Both sides visible without Linked Mode! © Copyright 2011 EMC Corporation. All rights reserved. 18 User Interface (continued) New icons for shadow VMs © Copyright 2011 EMC Corporation. All rights reserved. 19 Miscellaneous IPv6 • SRM will support IPv6 for all network links • vSphere Replication will support communication over IPv6 if underlying ESXi servers support IPv6 IP Customization performance increase In guest callouts: • Since 1.0 you can execute a script that was held on the SRM server, now you can do it inside the guest • Great for application customization © Copyright 2011 EMC Corporation. All rights reserved. 20 Miscellaneous – In Guest Callouts/Scripts © Copyright 2011 EMC Corporation. All rights reserved. 21 API Existing API on recovery site preserved New API on both protected and recovery sides Protected Site API set includes: List replicated datastores / protection groups / resources / VM Query the status of protection for a VM or VMs Protect or unprotect one or more VM Status of protection group Recovery Side API includes: Recovery Plan info Start / cancel, list / answer prompts Get XML representation of historical run of plan Get basic result information of a plan (name, start, stop, etc.) © Copyright 2011 EMC Corporation. All rights reserved. 22 Dependencies Functionality to help manage multitier applications © Copyright 2011 EMC Corporation. All rights reserved. 23 Dependencies (continued) © Copyright 2011 EMC Corporation. All rights reserved. 24 Dependencies (continued) – VM Startup Order Group 1 Group 2 Group 3 Group 4 App Server Master Database Group 5 Desktop Apache Apache Database Database Desktop Apache Desktop App Server Desktop Exchange © Copyright 2011 EMC Corporation. All rights reserved. Mail Sync 25 SRM5 – New & Improved! New user interface Planned migration – with replication update Failback vSphere Replication Faster IP customization Shadow VM icons In guest scripts VM dependency © Copyright 2011 EMC Corporation. All rights reserved. 26 Thank You! • Everything VMware at EMC Community http://www.emc.com/vmwarecommunity • Join us every Thursday at 11:00 AM ET for our EMC Solutions for VMware Webcast Series • Virtual Geek Blog: http://virtualgeek.typepad.com/ • EMC Virtualization Backup & Recovery: http://www.emc.com/solutions/businessneed/backup-recovery-archiving/backuprecovery.htm • Protect your virtual world: http://www.emc.com/microsites/brs/defenders.htm • Learn about an EMC Backup Assessment: http://web.emc.com/backuptothefuture © Copyright 2011 EMC Corporation. All rights reserved. 27 THANK YOU © Copyright 2011 EMC Corporation. All rights reserved. 28