Microsoft Virtualization Discussions
Microsoft Virtualization Discussions
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
Solved! See The Solution
It is not possible to just modify a policy to sync of existing snapmirror relationship
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
It is not possible to just modify a policy to sync of existing snapmirror relationship
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
Hi Sergey
If I want create a synchronous snapmirror
How should I use the new-ncsnapmirror command to finish this task?