VMware Cloud Community
qwert1235
Enthusiast
Enthusiast

script to check SRM health

Is there a way to check SRM health by running PowerCLI script?

I do not want to configure SRM via PowerCli, no recovery plan execution or anything like that...  I just want a script that will run (once in a while) and check health of my SRM: check that devices are still replicated, that all VMs (on protected DSs) protected and configured, that there is no any changes that can cuase issues and etc...

Thank you,

qwert

Reply
0 Kudos
2 Replies
LucD
Leadership
Leadership

Not sure if this will bring what you are looking for, but we included a Get-SRMPlanStatus function in the PowerCLI Reference.

The code can be found here.

The SRM functions you find there show a way to interface with SRM.


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

Reply
0 Kudos
qwert1235
Enthusiast
Enthusiast

thanks, Luc!  I'll check it out!

Reply
0 Kudos