Microsoft Virtualization Discussions

how to assign the policy type is sync or async when create snapmirror

AllenChang
1,672 Views

I use the new-ncsnapmirror to create a snapmirror,

but when it created and initialized finished,

I found it is an async-mirror policy type,

how to define the policy become sync-mirror in new-ncsnapmirror ?

 or modify the policy become sync-mirror after snapmirror created?

 

Thanks

1 ACCEPTED SOLUTION

Sergey_Osipov
1,656 Views

It is not possible to just modify a policy to sync of existing snapmirror relationship

https://kb.netapp.com/onprem/ontap/dp/SnapMirror/How_to_convert_the_SnapMirror_Relationship_between_Asynchronous_and_Synchronous

 

Regarding the new-ncsnapmirror to create a snapmirror

from the new-ncsnapmirror webhelp

 -Policy <String>
Specifies the name of the snapmirror policy for the relationship. For
SnapMirror relationships of type 'vault', the policy will also have
rules to select snapshot copies that must be transferred. If no policy
is specified, a default policy will be applied depending on the type of
the SnapMirror relationship. This parameter is only available on Data
ONTAP 8.2 or later if the relationship control plane is 'v2'.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

 

View solution in original post

2 REPLIES 2

Sergey_Osipov
1,657 Views

It is not possible to just modify a policy to sync of existing snapmirror relationship

https://kb.netapp.com/onprem/ontap/dp/SnapMirror/How_to_convert_the_SnapMirror_Relationship_between_Asynchronous_and_Synchronous

 

Regarding the new-ncsnapmirror to create a snapmirror

from the new-ncsnapmirror webhelp

 -Policy <String>
Specifies the name of the snapmirror policy for the relationship. For
SnapMirror relationships of type 'vault', the policy will also have
rules to select snapshot copies that must be transferred. If no policy
is specified, a default policy will be applied depending on the type of
the SnapMirror relationship. This parameter is only available on Data
ONTAP 8.2 or later if the relationship control plane is 'v2'.

Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

 

AllenChang
1,624 Views

Hi Sergey 

If I want create a synchronous snapmirror

How should I use the new-ncsnapmirror command to finish this task?

Public