|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcClusterHaInfo
NAME
Get-NcClusterHaInfo
SYNOPSIS
Get a list of cf objects.
SYNTAX
Get-NcClusterHaInfo [[-Node] <String[]>] [-Attributes <StorageFailoverInfo>]
[-Controller <NcController[]>] [<CommonParameters>]
Get-NcClusterHaInfo -Template [-Controller <NcController[]>] [<CommonParamet
ers>]
Get-NcClusterHaInfo -Query <StorageFailoverInfo> [-Attributes <StorageFailov
erInfo>] [-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get a list of cf objects.
PARAMETERS
-Node <String[]>
One or more nodes performing the giveback. Data ONTAP wildcards are per
mitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <StorageFailoverInfo>
For improved scalability in large clusters, provide a StorageFailoverInf
o object with various fields set to indicate which fields to return on a
ll objects. Undesired fields should remain set to null. Use "Get-NcClu
sterHaInfo -Template" to get the initially empty StorageFailoverInfo obj
ect. If not specified, all data is returned for each object.
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 StorageFailoverInfo object for use with advanced
queries involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <StorageFailoverInfo>
For advanced queries, provide a StorageFailoverInfo object with various
fields set to indicate which records to retrieve. Other fields should r
emain set to null. Use "Get-NcClusterHaInfo -Template" to get the initi
ally empty StorageFailoverInfo 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.Cf.StorageFailoverInfo
NOTES
Category: cf
API: cf-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcClusterHaInfo -Node sfp-cmode-02-01
Get the storage failover info for the given node.
Node PartnerName NodeState TakeOverEnabled
TakeoverState GivebackState
---- ----------- --------- ---------------
------------- -------------
sfp-cmode-02-01 sfp-cmode-02-02 connected True
not_in_takeover nothing_to_gb
-------------- Example 2 --------------
C:\PS>Get-NcClusterHaInfo -Query @{NodeState="connected"}
Get storage failover info for all nodes that are in the connected state.
Node PartnerName NodeState TakeOverEnabled
TakeoverState GivebackState
---- ----------- --------- ---------------
------------- -------------
sfp-cmode-02-01 sfp-cmode-02-02 connected True
not_in_takeover nothing_to_gb
sfp-cmode-02-02 sfp-cmode-02-01 connected True
not_in_takeover nothing_to_gb
RELATED LINKS
Update-NcClusterHa
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|