跳转到主内容

如何使用 NetApp PowerShell Toolkit 检索其他 ONTAP SAN 配置信息

Views:
100
Visibility:
Public
Votes:
0
Category:
ontap-9
Specialty:
san
Last Updated:

适用于

  • ONTAP 9
  • NetApp PowerShell 工具包

说明

此脚本对基于 ONTAP SAN 的系统执行各种检查,并在 Excel 电子表格中返回结果。  以下是相关检查。

脚本详细信息
  1. 将每个 igroup 中定义的启动器与每个节点上实际登录的启动器进行比较。
  2. 显示每个 LIF 的启动器总数(有利于 计算队列深度)。
  3. 收集可能具有最佳实践影响的 FCP 适配器详细信息。
  4. 将选择性 LUN 映射报告节点与托管 HA 对、群集中的其他节点以及不再位于群集中的节点进行比较。
示例输出
FCP 启动器
igroup 启动程序 别名 LIF 端口集 发现节点 节点缺失 状态
IGROUP1 50:01:01:01:01:01:01:01   fclif01_2a、fclif02_2a HostGroup01 CLUSTER1-01、CLUSTER1-02   正确
IGROUP2 10:00:00:00:00:00:00:00   fclif01_0e HostGroup05 CLUSTER1-01 CLUSTER1-02 未完成

 

LIF 计数
LIF 已连接的启动器数量
fclif01_0e 44
fclif01_2a 14
fclif02_2a 14

 

FCP 适配器
节点 适配器 WWPN 交换机端口 最大速度 已配置速度 当前速度 功能使用 SFP 接收光功率 SFP 传输光功率
CLUSTER1-01 0e 50:0a:09:81:00:00:00:00 SW1:150 16Gb 自动 8Gb 部分 333 442
CLUSTER1-01 1b 50:0a:09:82:00:00:00:00 SW1:75 16Gb 8Gb 8Gb 部分 439 478
CLUSTER1-01 1c 50:0a:09:84:00:00:00:00 SW1:46 16Gb 16Gb 16Gb 357 500
CLUSTER1-01 1d 50:0a:09:83:00:00:00:00 SW1:169 16Gb 16Gb 16Gb 完整 235 587

 

LUN 映射
LUN 主节点 来自 HA 对的报告节点 来自其他集群节点的报告节点 来自未知节点的报告节点
/vol/VOL_001/LUN_001 CLUSTER1-01 CLUSTER1-01、CLUSTER1-02 CLUSTER1-03 CLUSTER2-01

 

注意:  这是基于社区的脚本,因此受社区支持,而不受 NetApp 支持组织支持。

 

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.