snapmirror mediator tba-history show
Contributors
Suggest changes
Show Mediator Agent Event History
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The snapmirror mediator tba-history show
command shows the history of the ONTAP Mediator Agent events..
Parameters
- {
[-fields <fieldname>,…]
-
If you specify the
-fields <fieldname>, …
parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]
} -
If you specify the
-instance
parameter, the command displays detailed information about all fields. [-cg-rel-uuid <UUID>]
- Cg Relationship Uuid-
Cg Relationship Uuid.
[-start-time <MM/DD/YYYY HH:MM:SS>]
- TBA Task Start Time-
Mediator Agent Task Start Time.
[-token-num <integer>]
- Token Number-
Token Number.
[-cg-path {<[vserver:][volume]>|<[[cluster:]//vserver/]volume>|<hostip:/lun/name>|<hostip:/share/share-name>|<[vserver:]/cg/[app-cgname]>}]
- Cg Path-
Cg Path.
[-aux-generation-num <integer>]
- Auxillary Generation Number-
Auxillary Generation Number.
[-cg-rel-task <text>]
- TBA Task Type-
Mediator Agent Task Type.
[-cg-rel-state {invalid-state|waiting|task-processing|task-complete}]
- Cg Management State-
Cg Management State.
[-end-time <MM/DD/YYYY HH:MM:SS>]
- TBA Task End Time-
Mediator Agent Task End Time.
[-cg-rel-action {invalid|none|continue|stop|failover-incapable|auto-failover|success|failed|mismatch|retry|success-pending|stop-pending|continue-pending|failover-incapable-pending|try-failover-incapable-ic|try-failover-incapable-med|try-auto-failover}]
- Cg Management Action-
Cg Management Action.
[-errCode <integer>]
- Error Code for Task Failure-
Error Code for Task Failure.
Examples
The following example shows the list of mediator configurations.
C1_sti89-vsim-ucs525q_cluster::> snapmirror mediator tba-history show (snapmirror mediator tba-history show) Path Token API Event Start Time State End Time Action ------------ ----- ----- ------- ----------- ---------- ---------- ----------- vs0:/cg/cg1_src 5 4 Process Set Resync Context 4/28/2021 11:09:52 task-complete 4/28/2021 11:09:52 continue vs0:/cg/cg1_src 6 1 Process Master InSync 4/28/2021 11:10:08 task-complete 4/28/2021 11:10:08 success 2 entries were displayed. C1_sti89-vsim-ucs525q_cluster::> snapmirror mediator tba-history show -instance Cg Relationship Uuid: ad49a4f1-a833-11eb-9846-005056a7c906 Mediator Agent Task Start Time: 4/28/2021 11:09:52 Token Number: 5 Cg Path: vs0:/cg/cg1_src Auxillary Generation Number: 4 Mediator Agent Task Type: Process Set Resync Context Cg Management State: task-complete Mediator Agent Task End Time: 4/28/2021 11:09:52 Cg Management Action: continue Error Code for Task Failure: 0 Cg Relationship Uuid: ad49a4f1-a833-11eb-9846-005056a7c906 Mediator Agent Task Start Time: 4/28/2021 11:10:08 Token Number: 6 Cg Path: vs0:/cg/cg1_src Auxillary Generation Number: 1 Mediator Agent Task Type: Process Master InSync Cg Management State: task-complete Mediator Agent Task End Time: 4/28/2021 11:10:08 Cg Management Action: success Error Code for Task Failure: 0