snapmirror config-replication status show-communication
Display SnapMirror configuration replication communication status information
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The snapmirror config-replication status show-communication
command displays the current SnapMirror configuration replication communication status.
The command displays the following aspects of SnapMirror configuration replication for each peer cluster:
-
Remote Heartbeat: Verifies that the SnapMirror configuration replication heartbeat with the remote cluster is healthy.
-
Last Heartbeat Sent: Prints the timestamp of the last SnapMirror configuration replication heartbeat sent to the remote cluster.
-
Last Heartbeat Received: Prints the timestamp of the last SnapMirror configuration replication heartbeat received from the remote cluster.
Additional information about the warnings (if any) and recovery steps can be viewed by running the command with the -instance option.
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. [-cluster-uuid <UUID>]
- Remote Cluster-
Display only rows that have a matching peer cluster UUID.
[-cluster <text>]
- Peer Cluster Name-
Display only rows that have matching peer cluster name.
[-remote-heartbeat {ok|warning|not-run|not-applicable}]
- Remote Heartbeat-
Display only rows that have a matching remote heartbeat status.
[-last-heartbeat-sent <MM/DD/YYYY HH:MM:SS>]
- Last Heartbeat Sent Time-
Display only rows that have a matching timestamp of the last heartbeat sent.
[-last-heartbeat-received <MM/DD/YYYY HH:MM:SS>]
- Last Heartbeat Received Time-
Display only rows that have a matching timestamp of the last heartbeat received.
[-heartbeat-recovery-steps <text>]
- Heartbeat Recovery Steps-
Display only rows that have matching heartbeat recovery steps.
Examples
The following example shows the execution of the command in a SnapMirror configuration with two peer clusters:
clus1::*> snapmirror config-replication status show-communication Peer Cluster: clus2 Remote Heartbeat: ok Last Heartbeat Sent: 11/11/2014 11:11:45 Last Heartbeat Received: 11/11/2014 11:11:46 Peer Cluster: clus3 Remote Heartbeat: ok Last Heartbeat Sent: 11/11/2014 11:11:26 Last Heartbeat Received: 11/11/2014 11:11:27 2 entries were displayed.