Skip to main content
NetApp Knowledge Base

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

Views:
388
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
san
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.

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.