ONTAP Discussions

snapmirror status

DOLPHIN168
2,664 Views

Hi,

We would like to know the snapmirror status periodically. How to go about it? Is it possible to write script and run it through schedule inside the filer? If so, how to go about it?

Thanks in advance.

3 REPLIES 3

HARI_KRISHNA981
2,664 Views

Hi Leong YC,

Go through the below threads

For snapmirror.conf scheduling

https://communities.netapp.com/thread/14485

to edit the snapmirror.conf file

https://communities.netapp.com/thread/6807

For further info refer this doc::

https://library.netapp.com/ecmdocs/ECMP1196991/html/GUID-47724B21-7C7E-4AC9-A497-9505B42C27AF.html

Hope you may find it useful.

Regards,

Hari.

DOLPHIN168
2,665 Views

Hi,

Sorry, I think I did not make myself clear. I actually like to have the output of "snapmirror status -l" to me periodically via mail. Is it possible?

HARI_KRISHNA981
2,665 Views

Hi Leong YC,

I think you can build a custom Report using OCUM or with OC Report and you can also schedule the snapmirror alerts.

or else

Go through the script in the given link which explains you retrieve the snapmirror status info through powershell script.

http://www.jasemccarty.com/blog/?p=554

and this thread too

https://communities.netapp.com/message/116665  which gives you the idea about script and the output through mail.

Hope you may find it useful.

Regards,

Hari.

Public