VMware Cloud Community
Greg_Lee
Contributor
Contributor

Initiating Recovery Plan test from command line

Hi,

I need to initiate SRM Recovery Plan test using any available scripting solution: (PowerCLI, vCLI, tools, etc).

We have VMware SRM v 5.1.1. Is there any other way to initiate Recovery Plan test, except doing it from SRM/vCenter GUI?

I know that I can call scripts from the Recovery plan, but can not find any tool or command to start the recovery plan test itself.

Any help or ideas will be greatly appreciated.

Thank you,

Greg Lee

0 Kudos
2 Replies
spulv
Contributor
Contributor

Please let me know if you found an answer to this.  I am actually looking to do the same thing and haven't had any luck.

0 Kudos
Greg_Lee
Contributor
Contributor

The result of my research: there is no command line. You have to use Java or C# code for SRM API. I have been able to find old PowerShell script from 2010 and modify it to work with SRM 5.1.1

The description of API is helpful to design PowerShell functions, but I had to dig into Web objects and methods published by SRM Web server on the SRM manager

0 Kudos