VNX:如何创建 NAR 文件
Summary: 如何通过 Unisphere Analyzer 创建 NAR 文件。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Instructions
Unisphere 设计为登录到任一 SP 并控制阵列。Unisphere 首先请求“对等”SP;如果您始终接受证书,则将来可能不会这样做。但是,它从两个 SP 获取要显示的信息。
因此,对于 Analyzer,它被设计为从任一 SP 启动或停止,并且同时为两个 SP 运行。如果 SP 在启动分析器时没有响应,则会出现例外情况。在这种情况下,我们停止所有 anlayzer 设置,重新启动管理服务器,然后重新打开分析器。
从 Unisphere 上的任一 SP 中:
- 在“常规”选项卡上的“系统 -> 系统属性”下打开 Statistics Logging
- 在 System -> Monitoring&Alerts -> StatisticsforBlock -> PerformanceDataLogging下的 Data Logging窗口中,已完成/看到以下作。记录数据的当前状态;启动/停止数据记录;更改轮询间隔的值。这对两个 SP 都有影响。
- 从检索存档中确认。在这里,您可以选择要从中提取日志的 SP。每个 SP 都应具有大致相同时间的归档文件。
创建文件至少需要 10 轮询,因此第一个文件要等到轮询速率设置的 10 倍以秒为准。
从 cli 命令中,我们还可以看到 anlayzer。
这些命令大多特定于选取的 SP,因此建议检查每个命令以获得最佳确认。
如果您在计算机上为 naviseccli 创建了安全文件,则该命令可以缩短为以下示例;我替换了“vnxa”或“vnxb”作为ipaddress。
选择 SPA 或 SPB 的 ipaddress 以在 SP 级别进行确认。
在统一阵列的 CS 控制站中,格式为“/nas/sbin/navicli -h <spa 或 spb> 分析器 -xxxxxxx”
以下是选项列表,后跟示例:
C:\>naviseccli -h vnxa analyzer - Invalid Command. Invalid command line parameters. usage: analyzer -set <-narinterval seconds> <-rtinterval seconds> <-nonstop | -logperiod days> <-periodicarchiving 0|1> <-default> -get <-narinterval> <-rtinterval> <-logperiod> <-periodicarchiving> -logging <-reset> -start -stop -status -archive <-list> <-path path> <-o> <-all | -file filenames> <-delete> <-new | -statusnew filename> naviseccli -h <vnxa/vnxb> analyzer -status naviseccli -h <vnxa/vnxb> analyzer -get naviseccli -h <vnxa/vnxb> analyzer -stop naviseccli -h <vnxa/vnxb> analyzer -start naviseccli -h <vnxa/vnxb> analyzer -archive -list repeat on each SP as desired to confirm/make changes or retrieve files as needed.
下面是一个输出示例。这表明 Unisphere 从 SPA 或 SPb 工作,并在两个 SP 上设置功能/选项。
C:\Users\schilt>naviseccli -h vnxa analyzer -status Stopped on 02/03/2016 01:44:55
然后,我从 Unisphere 启动了数据记录,并从 cli 进行了检查:
C:\>naviseccli -h vnxa analyzer -status Running. Started on 02/17/2016 00:18:28 C:\>naviseccli -h vnxb analyzer -status Running. Started on 02/17/2016 00:18:28 C:\>naviseccli -h vnxa analyzer -get Archive Poll Interval (sec): 60 Real Time Poll Interval (sec): 60 Periodic Archiving: Yes Current Logging Period (day): 1 C:\>naviseccli -h vnxb analyzer -get Archive Poll Interval (sec): 60 Real Time Poll Interval (sec): 60 Periodic Archiving: Yes Current Logging Period (day): 1
从 Unisphere 停止分析器,并通过 cli 显示归档文件,删除列出的多余文件。
C:\>naviseccli -h vnxa analyzer -status Stopped on 02/17/2016 00:46:04 C:\>naviseccli -h vnxb analyzer -status Stopped on 02/17/2016 00:45:40 C:\>naviseccli -h vnxa analyzer -archive -list Index Size in KB Last Modified Filename 0 87 09/19/2013 08:10:33 Serial-Number_SPA_2013-09-19_13-10-33-GMT_M06-00.nar 39 120 02/03/2016 00:44:54 Serial-Number_SPA_2016-02-03_06-44-54-GMT_M06-00.nar 40 94 02/16/2016 23:46:03 Serial-Number_SPA_2016-02-17_05-46-03-GMT_M06-00.nar C:\Users\schilt>naviseccli -h vnxb analyzer -archive -list Index Size in KB Last Modified Filename 0 90 09/19/2013 08:12:36 Serial-Number_SPB_2013-09-19_13-12-35-GMT_M06-00.nar 39 121 02/03/2016 00:44:55 Serial-Number_SPB_2016-02-03_06-44-54-GMT_M06-00.nar 40 95 02/16/2016 23:45:39 Serial-Number_SPB_2016-02-17_05-45-39-GMT_M06-00.nar
Affected Products
VNX/VNXeProducts
VNX1 Series, VNX2 Series, VNX/VNXeArticle Properties
Article Number: 000019421
Article Type: How To
Last Modified: 30 Jan 2026
Version: 4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.