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沒有回應,則會出現例外情況。在這種情況下,我們會停止所有 anlayzer 設置,重新啟動管理伺服器,然後重新打開分析器。

從 Unisphere 上的任一 SP:

  1. 在「一般」選項卡上的「系統 -> 系統屬性」下打開統計資訊紀錄記錄
  2. 在「系統」-> 「監控&警示」-> 「StatisticsforBlock」-> 「PerformanceDataLogging」下的「資料記錄」視窗中,完成/看到下列操作。日誌記錄數據的當前狀態;啟動/停止數據記錄;更改輪詢間隔的值。這對兩個SP都是有影響的。
  3. 從「檢索存檔」 確認。您可以在其中選取要從中提取記錄的 SP每個 SP 應具有時間大致相同的歸檔檔案。
    建立檔案至少需要 10 次輪詢,因此在輪詢率秒數設定的 10 倍之前,第一個檔案無法存在。

從 cli 命令中,我們還可以看到 anlayzer。
這些命令大多專屬於選取的 SP,因此建議您檢查每個命令以獲得最佳確認。

如果在計算機上為 naviseccli 創建安全檔,則可以將命令縮短為以下範例;我用“vnxa”或“vnxb”代替了ipaddress。
挑選 SPa 或 SPb 的 IP 位址,以在 SP 層級確認。

從統一陣列的 CS-Control 站,格式為“/nas/sbin/navicli -h <spa 或 spb> analyzer -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/VNXe

Products

VNX1 Series, VNX2 Series, VNX/VNXe
Article 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.