|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcVserverPeer
NAME
Get-NcVserverPeer
SYNOPSIS
Get a list of Vserver peer relationships.
SYNTAX
Get-NcVserverPeer [[-Vserver] <String[]>] [[-PeerVserver] <String[]>] [-Peer
State <String[]>] [-Application <String[]>] [-Attributes <VserverPeerInfo>]
[-VserverContext <String>] [-Controller <NcController[]>] [<CommonParameters
>]
Get-NcVserverPeer -Template [-VserverContext <String>] [-Controller <NcContr
oller[]>] [<CommonParameters>]
Get-NcVserverPeer -Query <VserverPeerInfo> [-Attributes <VserverPeerInfo>] [
-VserverContext <String>] [-Controller <NcController[]>] [<CommonParameters>
]
DESCRIPTION
Get a list of Vserver peer relationships. If the cmdlet is issued to the Clu
ster LIF, then information about all Vservers is shown. If the request is se
nt to the Vserver LIF, then
information about that Vserver is shown.
PARAMETERS
-Vserver <String[]>
Name of the local Vserver. Data ONTAP wildcards are accepted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-PeerVserver <String[]>
Name of the peer Vserver. Data ONTAP wildcards are accepted.
Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-PeerState <String[]>
State of the Vserver peer relationship. Data ONTAP wildcards are accept
ed.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Application <String[]>
Applications which can make use of the peering relationship. Data ONTAP
wildcards are accepted.
Required? false
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <VserverPeerInfo>
For improved scalability in large clusters, provide a VserverPeerInfo ob
ject with various fields set to indicate which fields to return on all o
bjects. Undesired fields should remain set to null. Use "Get-NcVserver
Peer -Template" to get the initially empty VserverPeerInfo object. If n
ot specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
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
-Template
Specify to get an empty VserverPeerInfo object for use with advanced que
ries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <VserverPeerInfo>
For advanced queries, provide a VserverPeerInfo object with various fiel
ds set to indicate which records to retrieve. Other fields should remai
n set to null. Use "Get-NcVserverPeer -Template" to get the initially e
mpty VserverPeerInfo object.
Required? true
Position? named
Default value
Accept pipeline input? false
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
API: vserver-get-iter
Family: cluster, vserver
-------------- Example 1 --------------
C:\PS>Get-NcVserverPeer -Vserver beam01
Get all of the vserver peer relationships for the given vserver.
Vserver PeerVserver PeerState PeerC
luster Applications
------- ----------- --------- -----
------ ------------
beam01 dummy peered sfp-c
mode-02 {snapmirror}
-------------- Example 2 --------------
C:\PS>$q = Get-NcVserverPeer -Template
$q.PeerCluster = "sfp-cmode-02"
Get-NcVserverPeer -Query $q
Get all of the vserver peer relationships with the given peer cluster.
Vserver PeerVserver PeerState PeerC
luster Applications
------- ----------- --------- -----
------ ------------
beam01 dummy peered sfp-c
mode-02 {snapmirror}
RELATED LINKS
New-NcVserverPeer
Confirm-NcVserverPeer
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|