|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcClusterNode
NAME
Get-NcClusterNode
SYNOPSIS
Get information about nodes in a cluster.
SYNTAX
Get-NcClusterNode [[-Name] <String[]>] [-Attributes <ClusterNodeInfo>] [-Con
troller <NcController[]>] [<CommonParameters>]
Get-NcClusterNode -Template [-Controller <NcController[]>] [<CommonParameter
s>]
Get-NcClusterNode -Query <ClusterNodeInfo> [-Attributes <ClusterNodeInfo>] [
-Controller <NcController[]>] [<CommonParameters>]
DESCRIPTION
Get information about nodes in a cluster.
PARAMETERS
-Name <String[]>
Name of one or more nodes to get. Data ONTAP wildcards are permitted.
Required? false
Position? 1
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-Attributes <ClusterNodeInfo>
For improved scalability in large clusters, provide a ClusterNodeInfo 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-NcCluster
Node -Template" to get the initially empty ClusterNodeInfo 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
-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 ClusterNodeInfo 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 <ClusterNodeInfo>
For advanced queries, provide a ClusterNodeInfo object with various fiel
ds set to indicate which records to retrieve. Other fields should remai
n set to null. Use "Get-NcClusterNode -Template" to get the initially e
mpty ClusterNodeInfo 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.Cluster.ClusterNodeInfo
NOTES
Category: cluster
API: cluster-node-get-iter
Family: cluster
-------------- Example 1 --------------
C:\PS>Get-NcClusterNode
Get cluster information for all of the nodes on the cluster.
IsNodeEligible : True
IsNodeEpsilon : False
IsNodeHealthy : True
NcController : 10.63.165.62
NodeName : sfp-cmode-02-01
NodeUuid : 8465d61f-a182-11e1-aa4a-3ffec582086d
IsNodeEligibleSpecified : True
IsNodeEpsilonSpecified : True
IsNodeHealthySpecified : True
IsNodeEligible : True
IsNodeEpsilon : False
IsNodeHealthy : True
NcController : 10.63.165.62
NodeName : sfp-cmode-02-02
NodeUuid : e3f6a70d-3e7f-11e2-b566-993f20743733
IsNodeEligibleSpecified : True
IsNodeEpsilonSpecified : True
IsNodeHealthySpecified : True
-------------- Example 2 --------------
C:\PS>$q = Get-NcClusterNode -Template
$q.IsNodeEligible = $true
Get-NcClusterNode -Query $q
Get all of the eligible node cluster information.
IsNodeEligible : True
IsNodeEpsilon : False
IsNodeHealthy : True
NcController : 10.63.165.62
NodeName : sfp-cmode-02-01
NodeUuid : 8465d61f-a182-11e1-aa4a-3ffec582086d
IsNodeEligibleSpecified : True
IsNodeEpsilonSpecified : True
IsNodeHealthySpecified : True
IsNodeEligible : True
IsNodeEpsilon : False
IsNodeHealthy : True
NcController : 10.63.165.62
NodeName : sfp-cmode-02-02
NodeUuid : e3f6a70d-3e7f-11e2-b566-993f20743733
IsNodeEligibleSpecified : True
IsNodeEpsilonSpecified : True
IsNodeHealthySpecified : True
RELATED LINKS
Set-NcClusterNode
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|