ONTAP 9.14.1 commands

snapmirror failover show

Display failover status

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The snapmirror failover show command is used to monitor the progress of the failover operation on the SnapMirror Business Continuity (SM-BC) relationship. You must execute this command from the destination cluster of the SM-BC relationship.

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.

[-start-time <MM/DD/YYYY HH:MM:SS>] - Start Time

Start operation time of the failover.

[-source-path {<[vserver:][volume]>|<[[cluster:]//vserver/]volume>|<hostip:/lun/name>|<hostip:/share/share-name>|<[vserver:]/cg/[app-cgname]>}] - Source Path

Specifies the source endpoint of the SnapMirror relationship.

[-destination-path {<[vserver:][volume]>|<[[cluster:]//vserver/]volume>|<hostip:/lun/name>|<hostip:/share/share-name>|<[vserver:]/cg/[app-cgname]>}] - Destination Path

Specifies the destination endpoint of the SnapMirror relationship.

[-status {started|failed|completed|completed_with_warnings}] - Failover Status

Ths status of snapmirror failover.

[-error-reason <text>] - Error Reason

The reason for failure occured during snapmirror failover.

[-end-time <MM/DD/YYYY HH:MM:SS>] - End Time

End operation time of the failover.

[-primary-data-cluster <text>] - Primary Data Cluster

Primary data cluster.

[-last-progress-update <text>] - Last Progress Update

Last progress update.

[-type {planned|unplanned|incapable}] - Failover Type

Whether the SnapMirror failover was planned or unplanned.

[-error-reason-codes <integer>,…​] - Error Reason codes

The reason codes for failure occured during snapmirror failover.

Examples

To see the progress of the failover operation performed on an SM-BC relationship with destination Consistency Group cg_dst in Vserver vs2.example.com , type the following command from the destination cluster:

destination::> snapmirror failover show -destination-path
                vs2.example.com:/cg/cg_dst
Top of Page