|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Find-NaController
NAME
Find-NaController
SYNOPSIS
Discover Data ONTAP controllers.
SYNTAX
Find-NaController [-Community <String>] [-Address] <String> [-Timeout <Int32
>] [-NoPing] [-All] [<CommonParameters>]
Find-NaController [-Community <String>] [-Address] <String> [-Mask] <String>
[-Timeout <Int32>] [-NoPing] [-All] [<CommonParameters>]
Find-NaController [-Community <String>] -StartAddress <String> -EndAddress <
String> [-Timeout <Int32>] [-NoPing] [-All] [<CommonParameters>]
DESCRIPTION
Discover Data ONTAP controllers. This cmdlet is used in various ways to fin
d controllers on the network. It uses SNMP to perform the discovery, so SNM
P must be enabled on the controllers. It does not rely on any SNMP function
ality in the Microsoft Windows host operating system. This cmdlet does not
currently support IPv6.
To discover a single controller:
Find-NaController -Address 10.61.167.60
To discover controllers within a range of addresses:
Find-NaController -StartAddress 10.61.167.1 -EndAddress 10.61.167.100
To discover controllers on a subnet:
Find-NaController -Address 10.61.167.1 -Mask 255.255.255.0
or use CIDR notation:
Find-NaController -Address 10.61.167.0/24
PARAMETERS
-Community <String>
If specified, this is the community string to use during SNMP discovery.
The default value is 'public'.
Required? false
Position? named
Default value public
Accept pipeline input? false
Accept wildcard characters? false
-Address <String>
Specify to discover a single address, or to specify any address within a
subnet when using the -Mask parameter, or to specify a subnet in CIDR f
ormat.
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Timeout <Int32>
Timeout value for discovery, specified in milliseconds. Default is 5000
.
Required? false
Position? named
Default value 5000
Accept pipeline input? false
Accept wildcard characters? false
-NoPing
For efficiency, the discovery engine first attempts to ping a controller
before sending any SNMP commands. But if ICMP traffic is blocked withi
n a network, specify this option to forego pinging and proceed to the SN
MP query stage.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-All
Specify to return all SNMP devices, not just Data ONTAP controllers.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Mask <String>
Specify in dotted quad notation when specifying a subnet to query.
Required? true
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-StartAddress <String>
The starting address within an address range to query.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-EndAddress <String>
The ending address within an address range to query.
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.PowerShell.SDK.Cmdlets.Discovery.Controller
NOTES
Category: toolkit
-------------- Example 1 --------------
C:\PS>Find-NaController 10.61.167.60
Discover a controller (if any exists) at address '10.61.167.60'.
Name : dunn
Type : CLUSTERED_CONTROLLER
Model : FAS3040
VolumeCount : 10
AggregateCount : 3
Address : 10.61.167.60
PartnerName : benson
SystemID : 118044195
Description : NetApp Release 7.3.3: Thu Mar 11 22:29:52 PST 2010
SerialNumber : 1086295
-------------- Example 2 --------------
C:\PS>Find-NaController -StartAddress 10.61.167.60 -EndAddress 10.61.167.65
Discover all controllers between the addresses '10.61.167.60' and '10.61.167
.65', inclusive.
Name : dunn
Type : CLUSTERED_CONTROLLER
Model : FAS3040
VolumeCount : 10
AggregateCount : 3
Address : 10.61.167.60
PartnerName : benson
SystemID : 118044195
Description : NetApp Release 7.3.3: Thu Mar 11 22:29:52 PST 2010
SerialNumber : 1086295
Name : benson
Type : CLUSTERED_CONTROLLER
Model : FAS3040
VolumeCount : 4
AggregateCount : 2
Address : 10.61.167.61
PartnerName : dunn
SystemID : 118045471
Description : NetApp Release 7.3.3: Thu Mar 11 22:29:52 PST 2010
SerialNumber : 1086297
Name : sas1
Type : CLUSTERED_CONTROLLER
Model : FAS3070
VolumeCount : 3
AggregateCount : 2
Address : 10.61.167.64
PartnerName :
SystemID : 118043753
Description : NetApp Release 7.3.3: Thu Mar 11 22:29:52 PST 2010
SerialNumber : 1080000
-------------- Example 3 --------------
C:\PS>Find-NaController -Address 10.61.168.0 -Mask 255.255.255.0
Find all controllers on a subnet. The -Address parameter is any address on
the subnet, while the -Mask parameter defines the range of addresses using t
he subnet mask.
Name : netappwh13a
Type : CLUSTERED_CONTROLLER
Model : FAS3170
VolumeCount : 3
AggregateCount : 2
Address : 10.61.168.3
PartnerName : netappwh13b
SystemID : 151697004
Description : NetApp Release 8.0RC3 7-Mode
SerialNumber : 30015609
Name : netappwh13b
Type : CLUSTERED_CONTROLLER
Model : FAS3170
VolumeCount : 1
AggregateCount : 2
Address : 10.61.168.4
PartnerName : netappwh13a
SystemID : 151697086
Description : NetApp Release 8.0RC3 7-Mode
SerialNumber : 30015610
Name : bert
Type : CLUSTERED_CONTROLLER
Model : FAS3050
VolumeCount : 34
AggregateCount : 2
Address : 10.61.168.8
PartnerName : ernie
SystemID : 101193945
Description : NetApp Release 7.3.1.1: Mon Apr 20 22:58:46 PDT 2009
SerialNumber : 3070513
-------------- Example 4 --------------
C:\PS>Find-NaController -Address 10.61.169.1/24 -Timeout 1000
Find all controllers on a subnet.
Name : ntapfiler13
Type : CLUSTERED_CONTROLLER
Model : FAS6030
VolumeCount : 8
AggregateCount : 3
Address : 10.61.169.22
PartnerName : ntapfiler14
SystemID : 118056066
Description : NetApp Release 7.3.3: Thu Mar 11 22:29:52 PST 2010
SerialNumber : 1072453
Name : ntapfiler14
Type : CLUSTERED_CONTROLLER
Model : FAS6030
VolumeCount : 6
AggregateCount : 3
Address : 10.61.169.23
PartnerName : ntapfiler13
SystemID : 118042982
Description : NetApp Release 7.3.3: Thu Mar 11 22:29:52 PST 2010
SerialNumber : 1072355
-------------- Example 5 --------------
C:\PS>Find-NaController 10.61.165.1/24 -All -Timeout 500 | ft Name, Address,
Description
List all SNMP devices on a subnet.
Name Address Description
---- ------- -----------
nasbetor 10.61.165.23 NetApp Release 7.2.6.1
...
naspike 10.61.165.24 NetApp Release 7.2.6.1
...
prak 10.61.165.41 NetApp Release 7.2.3P4
...
brocade_p1 10.61.165.55 Fibre Channel Switch.
fabric2_60 10.61.165.60 SANbox 5602 FC Switch
BRO_3200_65 10.61.165.65 Fibre Channel Switch
Xsigo VP780 Chassis 10.61.165.70 Xsigo System
sulu1 10.61.165.71 NetApp Release 7.3.3X1
...
Cp0 10.61.165.83 Fibre Channel Switch.
cp1 10.61.165.84 Fibre Channel Switch.
brocade200e-13 10.61.165.100 Fibre Channel Switch.
warf 10.61.165.110 SunOS warf 5.10 Generi
...
sulu2 10.61.165.115 NetApp Release 7.3.3X1
...
ak_sw2 10.61.165.119 Fibre Channel Switch
brocade4100-5 10.61.165.121 Fibre Channel Switch.
jabba 10.61.165.122 NetApp Release 7.3.1.1
...
hutt 10.61.165.123 NetApp Release 7.3.1.1
...
elrond 10.61.165.125 SunOS elrond 5.10 Gene
...
brocade3800_2 10.61.165.128 Fibre Channel Switch
brocade4100-6 10.61.165.129 Fibre Channel Switch.
MCD6140-rtp2 10.61.165.131 MCDATA ED-6140 Model 0
...
sato 10.61.165.134 NetApp Release 7.3.1.1
...
FB060003420 10.61.165.141 Fibre Channel Switch.
brocade4100_9 10.61.165.146 Fibre Channel Switch.
FB030002056 10.61.165.159 Fibre Channel Switch.
malibu 10.61.165.175 SunOS malibu 5.10 Gene
...
kes 10.61.165.176 SunOS kes 5.10 Generic
...
sybok 10.61.165.180 SunOS sybok 5.10 Gener
...
joker1 10.61.165.183 SunOS joker1 5.10 Gene
...
FAS270c1 10.61.165.187 NetApp Release 7.3.1:
...
FAS270c2 10.61.165.188 NetApp Release 7.3.1:
...
brocade3850-2 10.61.165.191 Fibre Channel Switch.
NH060029600 10.61.165.192 Fibre Channel Switch.
borg1of5 10.61.165.221 Sun SNMP Agent,
indy 10.61.165.227 NetApp Release 7.2.7:
...
monza 10.61.165.229 NetApp Release 7.2.7:
...
bele 10.61.165.232 NetApp Release 7.2.3:
...
mira 10.61.165.233 NetApp Release 7.2.3:
...
brocade4100-7 10.61.165.251 Fibre Channel Switch.
brocade4100-8 10.61.165.252 Fibre Channel Switch.
RELATED LINKS
Connect-NaController
Initialize-NaController
| Copyright © 2012 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|