VM on Protected Site Showing “Managed by Site Recovery Manager”

For some other reason you might found any kind of error above if you are using SRM (Site Recovery Manager) feature on your VMware environment, especially on version < 6.0.0 U3. It’s a bug actually and the permanent fixing is only to patch the vCenter using the latest one. For particular cases, it might impacted for backup process as well for certain 3rd party backup tools.

As you can seen on figure below, I have a VM reside on protected site and showing “flower mark” which indicated protected by Managed SRM. Eventough this does not affected the VM itself but we have to resolved it since this very unusual.

But, don’t worry. You don’t have to upgrade it just in case for interim solution, but you can used following trick to resolve the problem.

Download the script provided by VMware here. ManagedBy

Put on your local folder then open the PowerCLI. You may to install it prior continue this  activity. Locate the script then follow steps below:

  1. Connect to vCenter, provide your admin credential
  2. Type command “$hmsVms = .\ManagedBy.ps1 -Cmd getVms -extKey “com.vmware.vcDr””
  3. Type “$hmsVms” it produces all VMs which have error should showing
  4. Type “.\ManagedBy.ps1 -Cmd Clear -VMs $hmsVms” to remove the “flower mark”
  5. Check the result by typing again “$hmsVms”

Steps above in figure.

connect to vcenter

Get the problematic VMs

Cleaning in progress

Voila! That’s it!

Hope this helps.

6 thoughts on “VM on Protected Site Showing “Managed by Site Recovery Manager”

  • 27/05/2018 at 3:26 AM

    I simply must tell you that you have an excellent and unique website that I must say enjoyed reading.

  • 26/11/2018 at 11:12 PM

    My auto approve lists can be used with ScrapeBox.
    I work hard to build the best lists possible. I hope that you’re able to put them to good use.
    Thank you for visiting my site. Feel free to contact me if you have
    any questions.

  • 27/11/2018 at 10:44 PM

    Did you know that my lists can be used with GSA?
    They can. I’m always working hard to improve the
    quality of my lists. Check them out and see if you can put
    them to good use. Thanks for visiting my site and have a great day.

  • 28/11/2018 at 10:53 AM

    Every 60 minutes there are new public proxies added. You can directly import these into your SEO tools or do it manually.
    There are proxies for ScrapeBox and all other tools.
    Let me know if you need free public proxies for other tools.
    I’ll try to add them if I can.


Leave a Reply

Your email address will not be published. Required fields are marked *