How to change the number of ONTAP SnapMirror relationship update retries
Applies to
- ONTAP 9
- ONTAP Select
Description
- SnapMirror updates, both manual and scheduled, will retry when encountering an abort condition
- The default number of tries is EIGHT based on the initial update attempt in addition to 7 retries (default)
- When troubleshooting the number of retries, and the resulting messages, can increase the amount of time required to reproduce an error, or locate a root cause
- The number of SnapMirror retries is configurable, and lowering the number of retries will reduce the time required to troubleshoot SnapMirror issues
- Lowering the number of retries can be particularly helpful in scenarios where we need to quickly reach an error when packet traces are being collected
- SnapMirror relationships are managed by their respective SnapMirror policies
- Retries are controlled by these same policies
In the example below, SnapMirror is failing with network errors, so we are performing packet traces. As packet traces can grow very quickly, we ideally want to start the traces, reproduce the error, and stop traces to keep their size manageable. This is an ideal situation to reduce retries.
- SnapMirror Failures:
network error(CSM: Request was canceled because of a connection failure.)
network error(CSM: An operation did not complete within the specified timeout window.))
- CSM Failures:
CSM: Connection aborted.
CSM_CANNABORTED