Quantcast
Channel: VMware Communities : Discussion List - Site Recovery Manager
Viewing all articles
Browse latest Browse all 3691

SRM APIs: Figuring out when a Recovery plan execution ends

$
0
0

While leveraging the SRM APIs, is there a way to find out when a Test failover or other operation completes when we run it using the Start method under Recovery?
One option that I see is the RecoveryPlanGetInfo() method, which would return something like "running" or "needsCleanup" etc.

But this would involve running the RecoveryPlanGetInfo() method at a regular interval till we see a change in the state, which isn't the most ideal way of doing it.

I want to know if this is the best way out there, or if there is a way to poll the Start() API and find out when the operation ends. Since the return value for Start() is null, I can't get anything there.


Viewing all articles
Browse latest Browse all 3691

Trending Articles