|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Test-NcSnapmirrorVolume
NAME
Test-NcSnapmirrorVolume
SYNOPSIS
Test the snapmirror status for the given volume.
SYNTAX
Test-NcSnapmirrorVolume [-Vserver] <String> [-Volume] <String> [-Controller
<NcController[]>] [<CommonParameters>]
DESCRIPTION
Test the snapmirror status for the given volume.
The cmdlet checks if the volume is a source or destination volume of snapmir
ror data_protection relationships.
If the volume is a data_protection source in one or more snapmirror relation
ships, the IsSource return field is set to true.
If the volume is a data_protection destination in one or more snapmirror rel
ationships, the IsDestination return field is set to true.
If the volume is a source or destination and at least one relationship statu
s is 'transferring', the IsTransferring return field is set to true.
If the volume is a destination and at least one relationship status is 'brok
en-off', the IsBroken return field is set to true.
PARAMETERS
-Vserver <String>
The owning Vserver of the volume to test.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Volume <String>
The name of the volume to test.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".
INPUTS
OUTPUTS
DataONTAP.C.Types.Snapmirror.VolSnapmirrorStatus
NOTES
Category: snapmirror
API: snapmirror-get-iter, volume-get-iter, cluster-identity-get
Family: cluster,vserver
-------------- Example 1 --------------
C:\PS>Test-NcSnapmirrorVolume beam01 luns
Test the snapmirror volume 'luns' on vserver 'beam01'.
Vserver : beam01
IsSource : False
IsDestination : False
IsTransferBroken : False
IsTransferInProgress : False
Volume : luns
RELATED LINKS
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|