|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Set-NcVserverPeer
NAME
Set-NcVserverPeer
SYNOPSIS
Modify a Vserver peer relationship.
SYNTAX
Set-NcVserverPeer [-Vserver] <String> [-PeerVserver] <String> [-Application]
<String[]> [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Modify a Vserver peer relationship.
PARAMETERS
-Vserver <String>
Name of the local Vserver in the relationship.
Required? true
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-PeerVserver <String>
Name of the peer Vserver in the relationship.
Required? true
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Application <String[]>
Applications which can make use of the peering relationship. Possible v
alues: 'snapmirror'.
Required? true
Position? 3
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.VserverPeer.VserverPeerInfo
NOTES
Category: vserver peer
API: vserver-peer-modify
Family: cluster
-------------- Example 1 --------------
C:\PS>Set-NcVserverPeer -Vserver dummy -PeerVserver beam01 -Application snap
mirror
Set the vserver peer relationship's application to 'snapmirror'.
Vserver PeerVserver PeerState PeerC
luster Applications
------- ----------- --------- -----
------ ------------
dummy beam01 peered sfp-c
mode-02 {snapmirror}
RELATED LINKS
Get-NcVserverPeer
New-NcVserverPeer
Remove-NcVserverPeer
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|