SlideShare a Scribd company logo
1 of 7
Download to read offline
FUNCTIONAL SRM
RECOVERY TESTING
VMworld 2012 #vBrownBag Tech Talks
Dan Barr
@vDanBarr
SRM Testing
• Run Recovery Plans in Test mode
• Storage & network isolation so production
environment is not affected
• SRM “Test Bubble”
• Storage isolation: SRM takes snapshots of replicated
LUNs/Volumes & mounts to the recovery hosts. Storage
replication is not interrupted.
• Network isolation: use isolated port groups to prevent
duplication issues in production environment
SRM Test Bubble Network Isolation
• Define Test Networks in Recovery Plan settings
• Two Options:
• Auto – SRM creates temporary vSwitch & port groups during test
• Existing Port Groups – pick already-defined port groups
“Auto” Option for Test Networks
Temp vSwitch
“srmvs-recovery-plan-xxxx”
Temp Port Group
“srmpg-recovery-plan-xxxx”
Recovery Host
Temp vSwitch
“srmvs-recovery-plan-xxxx”
Temp Port Group
“srmpg-recovery-plan-xxxx”
Recovery Host
Temp vSwitch
“srmvs-recovery-plan-xxxx”
Temp Port Group
“srmpg-recovery-plan-xxxx”
Recovery Host
• SRM creates vSwitch & Port Group, with
NO physical adapters
• VMs on same host & PG can communicate
• VMs cannot communitate across hosts
VLAN-Backed Test Networks
• Pre-create SRM Testing Networks backed by pNICs and VLANs
• NO gateway for testing VLANs on physical network – maintain isolation
• VM Communication can cross hosts, but NOT VLANs – no router
vSwitch or dvSwitch
PG1
VLAN X
Recovery Host
PG2
VLAN Y
vSwitch or dvSwitch
PG1
VLAN X
Recovery Host
PG2
VLAN Y
vSwitch or dvSwitch
Recovery Host
PG2
VLAN Y
PG3
VLAN Z
Routing inside SRM Test Bubble
• Add a virtual router inside the test bubble
• 1 vNIC connected to each SRM Testing PG, assign gateway IPs
• No connections to “real world”
• Options: Vyatta, BSD/Linux, Windows RRAS, etc.
• Now you can test multi-tier apps
vSwitch or dvSwitch
PG1
VLAN X
Recovery Host
PG2
VLAN Y
vSwitch or dvSwitch
PG1
VLAN X
Recovery Host
PG2
VLAN Y
PG3
VLAN Z
vSwitch or dvSwitch
Recovery Host
PG3
VLAN Z
PG1
VLAN X
Other Testing Considerations
• Windows Environments need AD inside the test bubble
• Should not be replicating DCs – versioning issues (Google “USN Rollback”)
• Clone a live DC from your recovery site, edit settings to put in an
appropriate SRM Test Network BEFORE powering on (very important)
• To keep from getting stale, do this for every test more than a day or two
apart, otherwise issues w/computer account passwords
• If you absolutely need Internet access from test bubble:
• I don’t recommend breaking test isolation, BUT…
• You can connect a vNIC on your SRM test router to the outside
• Use NAT, ACLs, etc. to prevent unwanted traffic flows
• BE CAREFUL!

More Related Content

What's hot

What's hot (20)

kdump: usage and_internals
kdump: usage and_internalskdump: usage and_internals
kdump: usage and_internals
 
BKK16-208 EAS
BKK16-208 EASBKK16-208 EAS
BKK16-208 EAS
 
Xen Virtualization 2008
Xen Virtualization 2008Xen Virtualization 2008
Xen Virtualization 2008
 
KVM Tuning @ eBay
KVM Tuning @ eBayKVM Tuning @ eBay
KVM Tuning @ eBay
 
Recent Developments in Donard
Recent Developments in DonardRecent Developments in Donard
Recent Developments in Donard
 
Ovs perf
Ovs perfOvs perf
Ovs perf
 
Libvirt API Certification
Libvirt API CertificationLibvirt API Certification
Libvirt API Certification
 
08 2020 - vm scale set dns
08 2020 - vm scale set dns08 2020 - vm scale set dns
08 2020 - vm scale set dns
 
Half a year with contrail at production
Half a year with contrail at productionHalf a year with contrail at production
Half a year with contrail at production
 
Percona XtraDB 集群内部
Percona XtraDB 集群内部Percona XtraDB 集群内部
Percona XtraDB 集群内部
 
Contrail at AllegroGroup
Contrail at AllegroGroupContrail at AllegroGroup
Contrail at AllegroGroup
 
TechDay - Toronto 2016 - Hyperconvergence and OpenNebula
TechDay - Toronto 2016 - Hyperconvergence and OpenNebulaTechDay - Toronto 2016 - Hyperconvergence and OpenNebula
TechDay - Toronto 2016 - Hyperconvergence and OpenNebula
 
Deleting a vserver in Netapp cluster mode
Deleting a vserver in Netapp cluster mode  Deleting a vserver in Netapp cluster mode
Deleting a vserver in Netapp cluster mode
 
XPDDS17: Keynote: Xen 4.8 at Gandi - Vincent Legout, Gandi
XPDDS17: Keynote: Xen 4.8 at Gandi - Vincent Legout, GandiXPDDS17: Keynote: Xen 4.8 at Gandi - Vincent Legout, Gandi
XPDDS17: Keynote: Xen 4.8 at Gandi - Vincent Legout, Gandi
 
Managing Open vSwitch Across a Large Heterogenous Fleet
Managing Open vSwitch Across a Large Heterogenous FleetManaging Open vSwitch Across a Large Heterogenous Fleet
Managing Open vSwitch Across a Large Heterogenous Fleet
 
Geneve
GeneveGeneve
Geneve
 
OS caused Large JVM pauses: Deep dive and solutions
OS caused Large JVM pauses: Deep dive and solutionsOS caused Large JVM pauses: Deep dive and solutions
OS caused Large JVM pauses: Deep dive and solutions
 
Persistence Is Futile - Implementing Delayed Durability
Persistence Is Futile - Implementing Delayed DurabilityPersistence Is Futile - Implementing Delayed Durability
Persistence Is Futile - Implementing Delayed Durability
 
Lac2006 Lee Revell Slides
Lac2006 Lee Revell SlidesLac2006 Lee Revell Slides
Lac2006 Lee Revell Slides
 
Obstacles & Solutions for Livepatch Support on ARM64 Architecture
Obstacles & Solutions for Livepatch Support on ARM64 ArchitectureObstacles & Solutions for Livepatch Support on ARM64 Architecture
Obstacles & Solutions for Livepatch Support on ARM64 Architecture
 

Similar to VMworld 2012 vBrownBag Tech Talk - Functional SRM Testing

VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark TestingVMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
Symantec
 
VSAN-VMWorld2015-Rev08
VSAN-VMWorld2015-Rev08VSAN-VMWorld2015-Rev08
VSAN-VMWorld2015-Rev08
Nelson Fonseca
 
Trouble shooting apachecloudstack
Trouble shooting apachecloudstackTrouble shooting apachecloudstack
Trouble shooting apachecloudstack
Sailaja Sunil
 

Similar to VMworld 2012 vBrownBag Tech Talk - Functional SRM Testing (20)

Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
 
VMworld 2014: vSphere HA Best Practices and FT Tech Preview
VMworld 2014: vSphere HA Best Practices and FT Tech PreviewVMworld 2014: vSphere HA Best Practices and FT Tech Preview
VMworld 2014: vSphere HA Best Practices and FT Tech Preview
 
2017.06.19 Paul Woodward - ExploreVM VMware 101
2017.06.19   Paul Woodward - ExploreVM VMware 1012017.06.19   Paul Woodward - ExploreVM VMware 101
2017.06.19 Paul Woodward - ExploreVM VMware 101
 
STO7535 Virtual SAN Proof of Concept - VMworld 2016
STO7535 Virtual SAN Proof of Concept - VMworld 2016STO7535 Virtual SAN Proof of Concept - VMworld 2016
STO7535 Virtual SAN Proof of Concept - VMworld 2016
 
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark TestingVMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
VMware Backups That Work—Lessons Learned From VADP Performance Benchmark Testing
 
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...
Training Slides: Advanced 304: Upgrading From Native MySQL Replication To Tun...
 
VMworld 2015: Networking Virtual SAN's Backbone
VMworld 2015: Networking Virtual SAN's BackboneVMworld 2015: Networking Virtual SAN's Backbone
VMworld 2015: Networking Virtual SAN's Backbone
 
Mike Resseler - Using hyper-v replica in your environment
Mike Resseler - Using hyper-v replica in your environmentMike Resseler - Using hyper-v replica in your environment
Mike Resseler - Using hyper-v replica in your environment
 
Jvm Performance Tunning
Jvm Performance TunningJvm Performance Tunning
Jvm Performance Tunning
 
Jvm Performance Tunning
Jvm Performance TunningJvm Performance Tunning
Jvm Performance Tunning
 
Nagios Conference 2014 - Troy Lea - Monitoring VMware Virtualization Using vMA
Nagios Conference 2014 - Troy Lea - Monitoring VMware Virtualization Using vMANagios Conference 2014 - Troy Lea - Monitoring VMware Virtualization Using vMA
Nagios Conference 2014 - Troy Lea - Monitoring VMware Virtualization Using vMA
 
Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015Presentazione VMware @ VMUGIT UserCon 2015
Presentazione VMware @ VMUGIT UserCon 2015
 
VSAN-VMWorld2015-Rev08
VSAN-VMWorld2015-Rev08VSAN-VMWorld2015-Rev08
VSAN-VMWorld2015-Rev08
 
Pairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SANPairing VMware vCenter Site Recovery Manager with virtual SAN
Pairing VMware vCenter Site Recovery Manager with virtual SAN
 
Webinar slides: 9 DevOps Tips for Going in Production with Galera Cluster for...
Webinar slides: 9 DevOps Tips for Going in Production with Galera Cluster for...Webinar slides: 9 DevOps Tips for Going in Production with Galera Cluster for...
Webinar slides: 9 DevOps Tips for Going in Production with Galera Cluster for...
 
STO7534 VSAN Day 2 Operations (VMworld 2016)
STO7534 VSAN Day 2 Operations (VMworld 2016)STO7534 VSAN Day 2 Operations (VMworld 2016)
STO7534 VSAN Day 2 Operations (VMworld 2016)
 
Managing Redundant Links & Inter-VLAN Routing
Managing Redundant Links & Inter-VLAN RoutingManaging Redundant Links & Inter-VLAN Routing
Managing Redundant Links & Inter-VLAN Routing
 
Trouble shooting apachecloudstack
Trouble shooting apachecloudstackTrouble shooting apachecloudstack
Trouble shooting apachecloudstack
 
Reliability Patterns for Large-Scale Automated Tests
Reliability Patterns for Large-Scale Automated TestsReliability Patterns for Large-Scale Automated Tests
Reliability Patterns for Large-Scale Automated Tests
 
VMworld 2015: Conducting a Successful Virtual SAN Proof of Concept
VMworld 2015: Conducting a Successful Virtual SAN Proof of ConceptVMworld 2015: Conducting a Successful Virtual SAN Proof of Concept
VMworld 2015: Conducting a Successful Virtual SAN Proof of Concept
 

More from Dan Barr (8)

Automate Building your VM Templates with Packer - CPAVMUG 2021-12-02
Automate Building your VM Templates with Packer - CPAVMUG 2021-12-02Automate Building your VM Templates with Packer - CPAVMUG 2021-12-02
Automate Building your VM Templates with Packer - CPAVMUG 2021-12-02
 
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: Monitoring
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: MonitoringvBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: Monitoring
vBrownBag 2015-07-08 - VCP6-DCV Foundations Section 7: Monitoring
 
VMworld 2016 vBrownBag Tech Talk - VM Capacity Management
VMworld 2016 vBrownBag Tech Talk - VM Capacity ManagementVMworld 2016 vBrownBag Tech Talk - VM Capacity Management
VMworld 2016 vBrownBag Tech Talk - VM Capacity Management
 
PSU VMUG 2016-09-22 VMworld Experience
PSU VMUG 2016-09-22 VMworld ExperiencePSU VMUG 2016-09-22 VMworld Experience
PSU VMUG 2016-09-22 VMworld Experience
 
CPAVMUG Presentation 2016-04-06 - Management Cluster
CPAVMUG Presentation 2016-04-06 - Management ClusterCPAVMUG Presentation 2016-04-06 - Management Cluster
CPAVMUG Presentation 2016-04-06 - Management Cluster
 
PSU Security Conference 2015 - LAPS Presentation
PSU Security Conference 2015 - LAPS PresentationPSU Security Conference 2015 - LAPS Presentation
PSU Security Conference 2015 - LAPS Presentation
 
CPAVMUG Presentation - Community Resources
CPAVMUG Presentation - Community ResourcesCPAVMUG Presentation - Community Resources
CPAVMUG Presentation - Community Resources
 
CPAVMUG Presentation 2015-07-16 - Resource Pool Balancing
CPAVMUG Presentation 2015-07-16 - Resource Pool BalancingCPAVMUG Presentation 2015-07-16 - Resource Pool Balancing
CPAVMUG Presentation 2015-07-16 - Resource Pool Balancing
 

Recently uploaded

Recently uploaded (20)

Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

VMworld 2012 vBrownBag Tech Talk - Functional SRM Testing

  • 1. FUNCTIONAL SRM RECOVERY TESTING VMworld 2012 #vBrownBag Tech Talks Dan Barr @vDanBarr
  • 2. SRM Testing • Run Recovery Plans in Test mode • Storage & network isolation so production environment is not affected • SRM “Test Bubble” • Storage isolation: SRM takes snapshots of replicated LUNs/Volumes & mounts to the recovery hosts. Storage replication is not interrupted. • Network isolation: use isolated port groups to prevent duplication issues in production environment
  • 3. SRM Test Bubble Network Isolation • Define Test Networks in Recovery Plan settings • Two Options: • Auto – SRM creates temporary vSwitch & port groups during test • Existing Port Groups – pick already-defined port groups
  • 4. “Auto” Option for Test Networks Temp vSwitch “srmvs-recovery-plan-xxxx” Temp Port Group “srmpg-recovery-plan-xxxx” Recovery Host Temp vSwitch “srmvs-recovery-plan-xxxx” Temp Port Group “srmpg-recovery-plan-xxxx” Recovery Host Temp vSwitch “srmvs-recovery-plan-xxxx” Temp Port Group “srmpg-recovery-plan-xxxx” Recovery Host • SRM creates vSwitch & Port Group, with NO physical adapters • VMs on same host & PG can communicate • VMs cannot communitate across hosts
  • 5. VLAN-Backed Test Networks • Pre-create SRM Testing Networks backed by pNICs and VLANs • NO gateway for testing VLANs on physical network – maintain isolation • VM Communication can cross hosts, but NOT VLANs – no router vSwitch or dvSwitch PG1 VLAN X Recovery Host PG2 VLAN Y vSwitch or dvSwitch PG1 VLAN X Recovery Host PG2 VLAN Y vSwitch or dvSwitch Recovery Host PG2 VLAN Y PG3 VLAN Z
  • 6. Routing inside SRM Test Bubble • Add a virtual router inside the test bubble • 1 vNIC connected to each SRM Testing PG, assign gateway IPs • No connections to “real world” • Options: Vyatta, BSD/Linux, Windows RRAS, etc. • Now you can test multi-tier apps vSwitch or dvSwitch PG1 VLAN X Recovery Host PG2 VLAN Y vSwitch or dvSwitch PG1 VLAN X Recovery Host PG2 VLAN Y PG3 VLAN Z vSwitch or dvSwitch Recovery Host PG3 VLAN Z PG1 VLAN X
  • 7. Other Testing Considerations • Windows Environments need AD inside the test bubble • Should not be replicating DCs – versioning issues (Google “USN Rollback”) • Clone a live DC from your recovery site, edit settings to put in an appropriate SRM Test Network BEFORE powering on (very important) • To keep from getting stale, do this for every test more than a day or two apart, otherwise issues w/computer account passwords • If you absolutely need Internet access from test bubble: • I don’t recommend breaking test isolation, BUT… • You can connect a vNIC on your SRM test router to the outside • Use NAT, ACLs, etc. to prevent unwanted traffic flows • BE CAREFUL!