Monitor SnapMirror data transfers for FlexGroup volumes

Contributors

You should periodically monitor the status of the FlexGroup volume SnapMirror relationships to verify that the destination FlexGroup volume is updated periodically as per the specified schedule.

About this task

You must perform this task from the destination cluster.

Steps
  1. View the SnapMirror relationship status of all FlexGroup volume relationships: snapmirror show -relationship-group-type flexgroup

    cluster2::> snapmirror show -relationship-group-type flexgroup
                                                                           Progress
    Source            Destination Mirror  Relationship   Total             Last
    Path        Type  Path        State   Status         Progress  Healthy Updated
    ----------- ---- ------------ ------- -------------- --------- ------- --------
    vss:s       XDP  vsd:d        Snapmirrored
                                          Idle           -         true    -
    vss:s2      XDP  vsd:d2       Uninitialized
                                          Idle           -         true    -
    2 entries were displayed.
  2. View the SnapMirror relationship status for each constituent in the FlexGroup volume: snapmirror show -expand

    cluster2::> snapmirror show -expand
                                                                           Progress
    Source            Destination Mirror  Relationship   Total             Last
    Path        Type  Path        State   Status         Progress  Healthy Updated
    ----------- ---- ------------ ------- -------------- --------- ------- --------
    vss:s       XDP  vsd:d        Snapmirrored
                                          Idle           -         true    -
    vss:s__0001 XDP  vsd:d__0001  Snapmirrored
                                          Idle           -         true    -
    vss:s__0002 XDP  vsd:d__0002  Snapmirrored
                                          Idle           -         true    -
    vss:s__0003 XDP  vsd:d__0003  Snapmirrored
                                          Idle           -         true    -
    vss:s__0004 XDP  vsd:d__0004  Snapmirrored
                                          Idle           -         true    -
    vss:s__0005 XDP  vsd:d__0005  Snapmirrored
                                          Idle           -         true    -
    vss:s__0006 XDP  vsd:d__0006  Snapmirrored
                                          Idle           -         true    -
    vss:s__0007 XDP  vsd:d__0007  Snapmirrored
                                          Idle           -         true    -
    vss:s__0008 XDP  vsd:d__0008  Snapmirrored
                                          Idle           -         true    -
    ...
  3. If the SnapMirror transfer fails, identify the FlexGroup volume constituent for which the transfer failed and the reason for the error: snapmirror show -fields last-transfer-error -expand

    cluster2::> snapmirror show -fields last-transfer-error -expand
    source-path destination-path last-transfer-error
    ----------- ---------------- -----------------------------------------------
    vss:s       vsd:d            Group Update failed (Failed to complete update operation on one or more item relationships.)
    vss:s__0001 vsd:d__0001      -
    vss:s__0002 vsd:d__0002      -
    vss:s__0003 vsd:d__0003      Failed to get information for source volume "vss:s__0003" for setup of transfer. (Failed to get volume attributes for e2de028c-8049-11e6-96ea-005056851ca2:s__0003. (Volume is offline))
    vss:s__0004 vsd:d__0004      -
    vss:s__0005 vsd:d__0005      -
    vss:s__0006 vsd:d__0006      -
    vss:s__0007 vsd:d__0007      -
    vss:s__0008 vsd:d__0008      -
    9 entries were displayed.

    After rectifying the issue, you must rerun the SnapMirror operation.