|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: New-NcVserverPeer
NAME
New-NcVserverPeer
SYNOPSIS
Create a new Vserver peer relationship between two existing Vservers.
SYNTAX
New-NcVserverPeer [-Vserver] <String> [-PeerVserver] <String> [-Application]
<String[]> [-PeerCluster <String>] [-Controller <NcController[]>] [<CommonP
arameters>]
DESCRIPTION
Create a new Vserver peer relationship between two existing Vservers.
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
-PeerCluster <String>
Name of the peer Cluster. If peer Cluster is not given, the local cluste
r is considered.
Required? false
Position? named
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-create
Family: cluster
-------------- Example 1 --------------
C:\PS>New-NcVserverPeer -Vserver beam01 -PeerVserver dummy -Application snap
mirror
Establish a vserver peer relationship.
Applications : {snapmirror}
NcController : 10.63.165.62
PeerCluster : sfp-cmode-02
PeerState : peered
PeerVserver : dummy
Vserver : beam01
RELATED LINKS
Get-NcVserverPeer
Confirm-NcVserverPeer
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|