ONTAP Discussions

QUESTION - Specific SnapMirror events

emanuel
3,735 Views

Hello all

I am being asked about alerting for specific snapmirror events.  I looked at my 4.0 DFM ( 40D2 ) installation and queries the events:

[root@sjcfilermon01 ~]# dfm eventType list | grep mirror

snapmirror:not-scheduled                      Normal       sm.state

snapmirror:not-working                        Error        sm.state

snapmirror:off                                Normal       sm.state

snapmirror:possible-problem                   Warning      sm.state

snapmirror:unknown-state                      Warning      sm.state

snapmirror:working                            Normal       sm.state

[root@sjcfilermon01 ~]#

If you look here - http://now.netapp.com/NOW/knowledge/docs/DFM_win/rel40/html/software/opsmgr/GUID-BEAFFA1B-6405-4A3D-8A22-8C38ED98394D.html … you can see many events but when you query DFM for events for snapmirror, only six appear.

My question is; can i alarm for specific events like "Update Completed" or "Initialize Completed" as examples.

6 REPLIES 6

adaikkap
3,735 Views

Just change your grep you will find the rest of the events.

[root@lnx ~]# dfm eventtype list | grep -i snapmirror
snapmirror-abort:completed                    Normal       sm.abort
snapmirror-abort:failed                       Error        sm.abort
snapmirror-break:completed                    Normal       sm.break
snapmirror-break:failed                       Error        sm.break
snapmirror-delete:aborted                     Warning      sm.delete
snapmirror-delete:completed                   Normal       sm.delete
snapmirror-delete:failed                      Error        sm.delete
snapmirror-initialize:aborted                 Warning      sm.initialize
snapmirror-initialize:completed               Normal       sm.initialize
snapmirror-initialize:failed                  Error        sm.initialize
snapmirror-quiesce:aborted                    Warning      sm.quiesce
snapmirror-quiesce:completed                  Normal       sm.quiesce
snapmirror-quiesce:failed                     Error        sm.quiesce
snapmirror-resume:completed                   Normal       sm.resume
snapmirror-resume:failed                      Error        sm.resume
snapmirror-resync:aborted                     Warning      sm.resync
snapmirror-resync:completed                   Normal       sm.resync
snapmirror-resync:failed                      Error        sm.resync
snapmirror-update:aborted                     Warning      sm.update
snapmirror-update:completed                   Normal       sm.update
snapmirror-update:failed                      Error        sm.update
snapmirror:date-ok                            Normal       sm.lag
snapmirror:deleted                            Information  sm.lag
snapmirror:discovered                         Information  sm.relationship
snapmirror:modified                           Information  sm.relationship
snapmirror:nearly-out-of-date                 Warning      sm.lag
snapmirror:not-scheduled                      Normal       sm.state
snapmirror:not-working                        Error        sm.state
snapmirror:off                                Normal       sm.state
snapmirror:out-of-date                        Error        sm.lag
snapmirror:possible-problem                   Warning      sm.state
snapmirror:undeleted                          Information  sm.relationship
snapmirror:unknown-state                      Warning      sm.state
snapmirror:working                            Normal       sm.state
sync-snapmirror:in-sync                       Information  sm.sync
sync-snapmirror:out-of-sync                   Warning      sm.sync
[root@lnx ~]#

Regards

adai

emanuel
3,735 Views

Arg look at that ... okay so in the GUI these are not appearing ... this means i need to use the command line to create a specific alarm for any of these specific events?

adaikkap
3,736 Views

Hi emanuel,

          I can see them in the GUI too, and the first post you made shows output from cli.

Attached is the screenshot of the gui.

regards

adai

emanuel
3,736 Views

interesting; there must be a reason why i am not seeing it at my customer site; is there a license issue on the controllers i have to be aware of or is it i am only on 4.0D2 and i need to upgrade to the lastest patch?

seeing is believing and these questions will be discussed on a phone call as a general session so i have time to use a DFM server here in the labs to double check

zelle
3,735 Views

On the full event list posted, what is meant or can you fully define what the following are noting what is and is not working?

snapmirror:not-working                        Error        sm.state
snapmirror:working                            Normal       sm.state

So what is working, the mirror, the update itself or something else?

adaikkap
3,735 Views

I think its the update.........

Regards

adai.

Public