Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcClusterHaTakeover


NAME
Get-NcClusterHaTakeover

SYNOPSIS
Get the takeover status of a node.

SYNTAX
Get-NcClusterHaTakeover [[-Node] <String[]>] [[-Aggregate] <String[]>] [-Att
ributes <TakeoverStatus>] [-Controller <NcController[]>] [<CommonParameters>
]

Get-NcClusterHaTakeover -Template [-Controller <NcController[]>] [<CommonPar
ameters>]

Get-NcClusterHaTakeover -Query <TakeoverStatus> [-Attributes <TakeoverStatus
>] [-Controller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Get the takeover status of a node and the takeover status of all its partner
aggregates, for all nodes in a cluster.


PARAMETERS
-Node <String[]>
One or more nodes to get takeover status. Data ONTAP wildcards are perm
itted.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Aggregate <String[]>
One or more aggregates. Data ONTAP wildcards are permitted.

Required? false
Position? 2
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false

-Attributes <TakeoverStatus>
For improved scalability in large clusters, provide a TakeoverStatus obj
ect with various fields set to indicate which fields to return on all ob
jects. Undesired fields should remain set to null. Use "Get-NcClusterH
aTakeover -Template" to get the initially empty TakeoverStatus object.
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 TakeoverStatus object for use with advanced quer
ies involving the Query attribute.

Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-Query <TakeoverStatus>
For advanced queries, provide a TakeoverStatus object with various field
s set to indicate which records to retrieve. Other fields should remain
set to null. Use "Get-NcClusterHaTakeover -Template" to get the initia
lly empty TakeoverStatus 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.TakeoverStatus


NOTES


Category: cf
API: cf-takeover-status
Family: cluster

-------------- Example 1 --------------

C:\PS>Get-NcClusterHaTakeover


Get the takeover status.


Node Aggregate AggregateTakeoverStatus
NodeTakeoverStatus
---- --------- -----------------------
------------------
sfp-cmode-02-01 - -
Takeover not attempted.
sfp-cmode-02-02 - -
Takeover not attempted.



RELATED LINKS







 Data ONTAP® PowerShell Toolkit