跳转到主内容

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

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

适用场景

  • ONTAP 9
  • NetApp PowerShell 工具包

问题描述

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

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

 

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

 

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

 

LUN映射
LUN 主节点 报告HA对中的节点 报告其他集群节点中的节点 报告未知节点中的节点
/vol/VOL_001/LN_001 cluster-01 CLUSter1-01、CLUSter1-02 1-03 CLUSCLUSU- 01

 

注意:  这是一个基于社区的脚本、因此受社区而非NetApp支持组织的支持。

 

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.