Connectrix:如何使用 SANnav、CLI 和 Brocade USB 收集 Brocade Supportsave 記錄
Summary: Connectrix:如何使用 SANnav、CLI 和 Brocade USB 收集 Brocade Supportsave 記錄
Symptoms
提供如何使用 SANnav UI、SSH (CLI) 和 Brocade USB 正確收集 Brocade Supportsave 的指示和範例。
使用者不熟悉如何收集 Brocade Supportsave 的程序。
Cause
Resolution
使用 SANnav 收集交換器 Supportsave :
-
選取 SANnav >Services >supportsave management

- Supportsave Management 對話方塊隨即顯示。選取所有或個別交換器以產生 Supportsave。
- 選取交換器右側的下拉式箭頭,然後選取 產生 以收集個別交換器

-
-
勾選機箱名稱旁左側的方塊,然後從動作下拉式方塊中選取產生以收集所有交換器
-

-
選取 產生後, 會產生 Supportsave 對話方塊隨即開啟,其中包含幾個選項供使用者選取:
1 - Select the desired protocol => SFTP / SCP 2 - FRU Dump: => only FRU dump data will be collected. 3 - Include prefix to the file name: => Can add for example datacenter name, or any other prefix. 4 - Upload Generated file after completion: => Can automatically upload the file to FTP / SFTP / SCP site. 5 - Use password to protect file: => Can give the compressed file a password if needed. 6 - Reset Counter: => Reset the counters on the switch AFTER the collection.

-
啟動 Supportsave 後,Supportsave 管理對話方塊的狀態會在狀態欄下方顯示進度

-
Supportsave 產生完成後,在產生的檔案標籤上的相同對話方塊下,會看到收集到的 Supportsave。使用右側的下拉式方塊,將收集的 Supportsave 下載至本機系統,以進行進一步處理。

使用 Fabric OS CLI 收集交換器支援儲存:
注意:這需要內部檔案傳輸通訊協定 (FTP) 或安全複製通訊協定 (SCP) 伺服器與交換器位於相同的 IP 網路上,或是 IP 網路中必須有可連線至 FTP 或 SCP 伺服器的路由。
- 使用 telnet 或 SSH 上的使用者帳戶登入交換器
- 在命令提示字元中,輸入下列 CLI 命令以供互動式使用
supportsave
- 回答以下提示:
- 提供 FTP 伺服器的 IP 位址
- 提供 FTP 伺服器的使用者名稱和密碼
- 選取通訊協定 (例如 FTP)
- 要將檔案傾印到的 FTP 伺服器上的遠端目錄
supportftp 命令, 執行 supportsave 使用那些儲存的參數使用 supportsave -c 命令。
範例:
#> supportsave
此命令會從使用中和待機的 CP 收集 RASLOG、TRACE、supportShow、core file、FFDC 資料及其他支援資訊,然後傳輸至 FTP、SCP 或 SFTP 伺服器或 USB 裝置。本機 CP、遠端 CP 和 BP 資訊會儲存,但 Supportshow 資訊僅適用於使用中的 CP。此作業可能需要數分鐘的時間。
OK to proceed? (yes, y, no, n): [no] y Host IP or Host Name: 10.10.10.10 (IP address of FTP/SCP server) User Name: anonymous (user name used to login to the FTP/SCP server) Protocol (ftp | scp | sftp): ftp Remote Directory: /temp (folder in the root directory of the FTP/SCP server that you want to dump the files to.) Saving support information for switch:Brocade, module:RAS...
使用 Brocade 標籤收集交換器 Supportsave USB:
注意:在 Fabric OS 9.0 版之前, 您必須 使用標示為 USB 的 Brocade,因為它具有特殊的檔案系統。這不適用於任何其他 USB。此外,從 Fabric OS 9.0 版及更新版本開始,也支援一般 USB 磁碟機。請參閱建議之通用品牌 USB 磁碟機的版本資訊。
- 使用 CLI 命令掛接 USB:
usbstorage e
- 使用 CLI 命令列出 USB 內容:
usbstorage l
- 執行 Supportsave 命令以建立資料夾,並使用 CLI 命令傾印檔案:
supportsave -U -d <directory>
- 使用 CLI 命令列出 USB 內容,以確認所有檔案都存在。它位於名為「支援」的根資料夾下。
usbstorage l
- 使用以下命令停用 USB 磁碟機,並將其從交換器卸下:
usbstorage d
-
在可傳送至 Dell 的位置收集記錄檔後,請將其壓縮。
Switch Supportsave 的檔案名稱格式為:
<Switchname>-<SlotCP#>-<YearMonthDayTime>.Filename.Extension Example: #> usbstorage -e Trying to enable USB device. Please wait... USB storage enabled #> usbstorage -l firmware\ 1775MB 2009 May 20 13:05 v6.4.2a\ 900MB 2012 Mar 09 18:31 v6.3.1b\ 875MB 2012 Feb 21 17:16 config\ 0B 2009 May 20 13:05 support\ 0B 2009 May 20 13:05 firmwarekey\ 0B 2009 May 20 13:05 cryptocfg\ 1kB 2013 Jan 22 16:40 bes_CPcert.pem 1kB 2013 Jan 22 16:40 Available space on usbstorage 4% #> supportsave -U -d support Saving support information for switch:ES_5832B, module:RAS... ..................................... Saving support information for switch:ES_5832B, module:AP_SS... #> usbstorage -l firmware\ 1775MB 2009 May 20 13:05 v6.4.2a\ 900MB 2012 Mar 09 18:31 v6.3.1b\ 875MB 2012 Feb 21 17:16 config\ 0B 2009 May 20 13:05 support\ 0B 2009 May 20 13:05 support\ ES_5832B-S0bp-201311251742.support.tar [output truncated..] firmwarekey\ 0B 2009 May 20 13:05 cryptocfg\ 1kB 2013 Jan 22 16:40 bes_CPcert.pem 1kB 2013 Jan 22 16:40 Available space on usbstorage 4% #> ...usbstorage -d USB storage disabled
Additional Information
請參閱此視頻:
您也可以在 YouTube 上觀看此視頻。
如果有可能必須使用支援終止產品 Connectrix Manager Converged Network Edition (CMCNE) 來收集 Supportsave,請按照以下步驟操作:
使用 CMCNE 收集交換器 Supportsave:
-
選取 「Monitor >Technical Support >Product/Host SupportSave」
此時將顯示技術支援保存對話框

- 您可以移動整個網狀架構或個別交換器。
-
將交換器移至右側功能表後,按一下 確定 以開始收集程序。隨即開啟新視窗,顯示每個交換器的進度。
