| Index | Top - Up | Data ONTAP 8.3 |
Promote the destination to read-write
Availability: This command is available to cluster and Vserver administrators at the admin privilege level.
The snapmirror promote command performs a failover to the destination volume of a SnapMirror relationship. This command changes the destination volume from a read-only volume to a read-write volume and makes the destination volume assume the identity of the source volume. The command then destroys the original source volume. The destination volume must be a load-sharing volume. Note that you can promote a load-sharing volume that has been left in read-write state by a previously failed promote operation.
Client accesses are redirected from the original source volume to the promoted destination volume. The view clients see on the promoted destination volume is the latest transferred Snapshot copy, which might lag behind the view clients had of the original source volume before the promote.
The SnapMirror relationship is always deleted as part of the promotion process.
It is possible that the original source volume is the source of multiple SnapMirror relationships. For such a configuration, the promoted destination volume becomes the new source volume of the other SnapMirror relationships.
This command is only supported for SnapMirror relationships with the field "Relationship Capability" showing as "Pre 8.2" in the output of the snapmirror show command.
The snapmirror promote command fails if a SnapMirror transfer is in progress for any SnapMirror relationship with "Relationship Capability" of "Pre 8.2" involving the original source volume. It does not fail if a SnapMirror transfer is in progress for a relationship with "Relationship Capability" of "8.2 and above".
This command is not supported on Infinite Volume snapmirror relationships.
{ [-source-path | -S {<[vserver:]volume>|<[[cluster:]//vserver/]volume>}] - Source Path
| [-source-cluster <Cluster name>] - Source Cluster
[-source-vserver <vserver name>] - Source Vserver
[-source-volume <volume name>] } - Source Volume
{ -destination-path {<[vserver:]volume>|<[[cluster:]//vserver/]volume>} - Destination Path
| [-destination-cluster <Cluster name>] - Destination Cluster
-destination-vserver <vserver name> - Destination Vserver
-destination-volume <volume name> } - Destination Volume
[-force | -f [true]] - Force
To promote a mirror named dept_eng_ls_mirror1 to be the source read-write volume for mirroring and client access, type the following command:
cluster1::> snapmirror promote -destination-path
//vs1.example.com/dept_eng_ls_mirror1
-source-path //vs1.example.com/dept_eng -f true
| Index | Top - Up | Data ONTAP 8.3 |
Copyright © 1994-2015 NetApp, Inc. Legal Information