Skip to main content
NetApp Knowledge Base

How to retrieve additional ONTAP SAN configuration information with the NetApp PowerShell Toolkit

Views:
19
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
core
Last Updated:

Applies to

  • ONTAP 9
  • NetApp PowerShell Toolkit

Description

This script performs a variety of checks against an ONTAP SAN based system and returns the results in an Excel spreadsheet.  Following are the checks involved.

Script Detail
  1. Compare the initiators defined in each igroup against the actual logged in initiators on each node.
  2. Show total number of initiators per LIF (beneficial for Calculating queue depth).
  3. Gather FCP adapter details that might have a best practice impact.
  4. Compare selective LUN mapping reporting-nodes against the hosting HA pair, other nodes in the cluster, and nodes no longer in the cluster.
Example Output
FCP Initiators
Igroup Initiator Alias LIFs Portsets Nodes Found Nodes Missing Status
IGROUP1 50:01:01:01:01:01:01:01   fclif01_2a,fclif02_2a HostGroup01 CLUSTER1-01,CLUSTER1-02   CORRECT
IGROUP2 10:00:00:00:00:00:00:00   fclif01_0e HostGroup05 CLUSTER1-01 CLUSTER1-02 INCOMPLETE
 
LIF Counts
LIF Number of Connected Initiators
fclif01_0e 44
fclif01_2a 14
fclif02_2a 14
 
FCP Adapters
Node Adapter WWPN Switch Port Maximum Speed Configured Speed Current Speed Capability Usage SFP Receive Optical Power SFP Transmit Optical Power
CLUSTER1-01 0e 50:0a:09:81:00:00:00:00 SW1:150 16Gb auto 8Gb PARTIAL 333 442
CLUSTER1-01 1b 50:0a:09:82:00:00:00:00 SW1:75 16Gb 8Gb 8Gb PARTIAL 439 478
CLUSTER1-01 1c 50:0a:09:84:00:00:00:00 SW1:46 16Gb 16Gb 16Gb FULL 357 500
CLUSTER1-01 1d 50:0a:09:83:00:00:00:00 SW1:169 16Gb 16Gb 16Gb FULL 235 587
 
LUN Maps
LUN Home Node Reporting Nodes from HA Pair Reporting Nodes from Other Cluster Nodes Reporting Nodes from Unknown Nodes
/vol/VOL_001/LUN_001 CLUSTER1-01 CLUSTER1-01,CLUSTER1-02 CLUSTER1-03 CLUSTER2-01

 

Note:  This is a community based script and therefore is supported by the community and not within the NetApp support organization.

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support