Angels Technology

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Saturday, July 14, 2012

SRM Site Recovery Manager best practices

Posted on 3:56 PM by Unknown

SRM Site Recovery Manager best practices


    These are my notes for what I thought were important from the Site Recovery Manager 5.0 Performance and Best Practices white paper.  This is for my review and notes that I think I should go over and remember later. Good stuff here.

     This white paper combines the some of the vmware recommendations and best practices to achieve the fastest or at least quicker recovery for your SRM tests or actual outage recovery. One important tip at the end of the paper is where they tell you that if you dont have vmware tools and shutdown guest time is set to a non zero value your recovery wont proceed.. I haven't tested that but that is something you DONT want to find out in a live fire type exercise.

    Why it is good to understand SRM:
    Vmware's SRM tool is a great DR tool for ensuring that critical VMs are available in case  a site goes down.

    Available here : http://www.vmware.com/files/pdf/techpaper/srm5-perf.pdf


    Overview:
  1. SRM requires a protected site and a recovery site
  2. SRM server must be installed at each site.
  3. Each site must be managed by its own vCenter Server.
  4. Protected site is the source. Recovery site is the destination
  5. protection group, which is a group of virtual machines that fail over together.
  6. SRM supports two forms of replication:  ABR and HBR aka VR
  7. array-based replication(ABR) in which the storage subsystem manages VM replication,
  8. host-based replication (vSphere replication)in which ESXi manages VM replication.
  9. SRM supports 500 VMs for  VR. 1000 for ABR
  10. vSphere replication (VR) replicates only the most recent data in changed disk
  11. ABR requirement for having identical storage arrays across sites.
  12. SRM automatically discovers datastores for array-based replication between the sites.
  13. Srm does not impose similar hardware requirements across both sites. You can have a different number of ESXi hosts at protected and recovery sites.
  14. (VRMS ):: vSphere Replication Management Server
  15. VR: vsphere replication
  16. after executing a planned migration and a reprotect operation, your primary site will become your secondary site
  17. Inventory mappings :associations between resource pools, virtual machine folders, networks at the
  18. protected site and their destination counterparts at the recovery site.


    Performance Considerations
  19. Recovery Point Objective (RPO):defines the point in time at which data must be restored to meet service level agreements.
  20. Recovery Time Objective (RTO) duration of time and a service level within which a business process must be restored after a disaster (or disruption) in order to avoid unacceptable consequences associated with a break in business continuity.
  21. ABR:array-based replication, RPO is fulfilled by the replication schedules configured on storage array.
  22. VR: vSphere replication, set RPO using SRM plugin . VR minimum  RPO is 15 minutes.
  23. The VR algorithm adjusts the replication schedule dynamically in order to fulfill the RPO.

  24. Server config and other stuff
    Vmware recommend that the SRM database  be installed as close to the SRM server as possible, such that it reduces the round-trip time between both of them.
    You can use the same database server to support the vCenter database instance and the Site Recovery
    Manager database instance,
    good practice to maintain separate database servers for eachdatabase instance.
    Creating a recovery plan
    recovery plan is the complete set of steps needed to recover (or test the recovery of) the
    protected VMs in one or more protection groups
    Ÿ  Planned migration SRM attempts to shut down protection site VMs and replicate outstanding changes to the recovery site before proceeding with the failover sequence.
    Ÿ  Unplanned migration SRM proceeds  directly with the failover sequence without attempting to shut down protection site VMs and replicate changes to the recovery site.
    Ÿ  Reprotect (ABR only) Reprotect involves a reversal of direction of replication, and automatic reprotection of protection groups.
  25. good practice to have fewer but larger NFS volumes so that the time taken to mount a large number
  26. ofsuch volumes decreases during the recovery.
  27. good practice to have vSphere DRS enabled on the recovery site.  SRM 5.0 leverages DRS to reserve
  28. sufficient resources during the recovery []power on all VMs.
  29. Recovery time iscsi/fc  faster than nfs
  30. boot storm, these latencies could increase as a result of I/O bottlenecks you can edit defaultMaxBootAndShutdownOpsPerCluster
  31.  chart out  dependencies and priorities between virtual machines to be  recovered so that only a certain number of required virtual machines are assigned individual dependencies ,which impact recovery time.
  32. Suspending virtual machines on the recovery site impacts recovery time.

  33. *planned migration takes longer than unplanned. Clean shutdown takes time


    Advanced Settings/ vmware tools
  34. VMware strongly recommends that VMware Tools be installed in all protected virtual machines. Many SRM recovery operations depend on the proper installation of VMware Tools
  35. With tools: SRM Wait for OS heartbeat while powering on the virtual machine and wait for a network change while reconfiguring the recovered virtual machine.
  36. With Tools: SRM Wait for virtual machines to shut down on the protected site.
  37. With Tools: tries to gracefully shut down the virtual machines onthe protected site.
  38. SRM depends  on VMware Tools to report the OS heartbeatand completion of the network change.
  39. If NO TOOLS: choose to set the timeout values for recovery.powerOnTimeout and recovery.customizationTimeout to zero (0).
  40. ****  [IF NO TOOLS AND Shutdown shutdownguesttimeout is NONZERO] then recovery will not proceed beyond the “Shutdown VMs at Protected Site” step. MUST set recovery.skipGuestShutdown to true if you want your recovery plan to make any progress.
  41. Normal vm swap file on datastore with vm. With SRM prevent swap files from being replicated, create
  42. them on a non-replicated datastore. This reduce recovery time

Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in disaster recovery, DR, SRM, vm, vmware, vsphere | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • Copy and paste clipboard items to and from your vsphere virtual machines and your pc
    Wanted to copy and paste text between your pc and a vm? Now you can. Power off your VM. Go to the vm properties->Options->Advanced-...
  • Interesting look at Win cpu usage vs Vmware CPU usage
    I came across this scenario: The windows task manager shows the cpu of the vm pegged at 100%. The vmware performance monitor says that ...
  • Storage comparison
    One of Cormac Hogan s posts provides a good basis for compares of different storage types for vmware Vsphere and how they stack up. He dis...
  • E1000 vs e1000e in vmware : notes
    Performance difference " The performance should be about the same, the reason for the change is that Intel is not longer supporting the...
  • vCenter and Hosts Disconnected -- Reason: Cannot verify the SSL thumbprint
    Just saw this over on the forums, but if your hosts are getting this error: Cannot syncronize the host <hostname.fqdn>, Reason: Cannot...
  • Vmware DRS anti affinity rules wont let you enter maintenance mode for a esxi host
    You have a DRS rule that specifies that 2 vms need to be kept apart: In this case: 250-FT and 250sql3 For larger clusters with multiple...
  • Vmware esxi : Intel Pro/1000 ET quad port adapter and ISCSI
    I've seen issues pop up with intel quad ports here and there on the forums so I thought it would be good to note down what worked here...
  • Snapshot creation /reversion/ deletion/ listing with vim-cmd
    Here we are going to use the command line on a esxi host to create, revert, and delete snapshots. First ssh into your host. Important thi...
  • shutdown your esxi host using powercli
    if you want to shutdown a host using powercli: Set-VMhost -VMhost HOSTNAME -State Maintenance get-vmhost HOSTNAME | Foreach {Get-View $_.ID}...
  • Setting your esxi host to restart automatically after crash or purple screen aka psod
    The default and recommended setting is to leave the purple screen of death up to help you notice that het host has died and also leave t...

Categories

  • 5.1
  • backup
  • cloud
  • cluster
  • command line
  • console
  • converter
  • cpu
  • datacenter
  • datastore
  • datastore. rdm
  • DCUI
  • dell
  • disaster recovery
  • display
  • DR
  • e1000
  • e1000e
  • ec2
  • esx
  • esxi
  • esxtop
  • extent
  • Good for enterprise
  • HA
  • hcl
  • host
  • HP
  • ibm
  • iometer
  • iscsi
  • iso
  • linked mode
  • logs
  • MAC
  • memory
  • NFS
  • NIC
  • NTP
  • ova
  • ovf
  • p2v
  • pcie
  • performance
  • phone
  • powercli
  • powershell
  • PSOD
  • raid
  • RDM
  • resource pool
  • rvtools
  • scsi
  • sddc
  • snapshots
  • SQL
  • SRM
  • ssh
  • storage
  • svmotion
  • syslog collector
  • v2v
  • vapp
  • vcenter
  • vcloud
  • vcp
  • veeam
  • VI console
  • vm
  • vmdk
  • VMFS
  • vmkfstools
  • vmotion
  • VMUG
  • vmware
  • vmware tools
  • vmware.esxi
  • vmxnet3
  • vsphere
  • vum
  • web client
  • windows

Blog Archive

  • ►  2013 (28)
    • ►  October (2)
    • ►  September (1)
    • ►  August (1)
    • ►  July (1)
    • ►  June (14)
    • ►  May (1)
    • ►  April (1)
    • ►  March (5)
    • ►  February (1)
    • ►  January (1)
  • ▼  2012 (138)
    • ►  December (2)
    • ►  November (13)
    • ►  October (26)
    • ►  September (19)
    • ►  August (35)
    • ▼  July (34)
      • Esxi : Recovering from a bad update : Last known g...
      • convert thick disk to thin using a command line vi...
      • Setup NTP for your ESXi host
      • Boot virtual machine from ISO : tips on if you are...
      • Best practices for using VMware Converter : Checklist
      • Iometer test of USB flash drive connected to a Vmw...
      • Can you storage vmotion (svmotion) your virutalize...
      • vCenter and Hosts Disconnected -- Reason: Cannot v...
      • Network configuration not updated in configuration...
      • There are issues communicating with the following ...
      • "The Fully Qualified Domain Name cannot be resolve...
      • Notes: Linked-mode vsphere vcenter pre-requisites ...
      • What to the DCUI console logs show
      • Browsing Vmware logs in the DCUI (view esxi logs ...
      • SRM Site Recovery Manager best practices
      • Keeping nic configurations when p2v
      • What is stretched storage cluster / metro storage...
      • How to create a vapp in esxi or vsphere
      • Thought: Raid 0 and Raid 1 : quick easy way to rem...
      • Setting a MAC for a vm manually
      • Extents and VMFS volumes
      • How to add a Raw disk to your esx host (RDM)
      • How to describe vsphere vs vcenter to a layman
      • How to setup a cluster in vmware vsphere
      • Matching virtual disks to the Disks on the guest
      • How to attach a vmdk to VM
      • How to attach a ISO to a vmware guest via vsphere ...
      • personal thoughts: veeam vs vranger
      • Copy-vmguestfile :: Copying data from powercli to ...
      • Vmware converter : does disabling ssl make your vm...
      • Growing and Expanding a VMFS
      • How to connect to the vpshere web client
      • Snapshot creation /reversion/ deletion/ listing w...
      • Enable ssh from powercli
    • ►  June (9)
Powered by Blogger.

About Me

Unknown
View my complete profile