Skip to main content

如何在 DELL EMC Networking OS10 交換器中產生和收集支援套裝

Summary: 如何在 DELL EMC Networking OS10 交換器中產生和收集支援套裝。

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

目錄

什麼是支援套裝?
如何產生支援套裝
支援套裝儲存在何處?
如何確認支援套裝產生已開始
如何確認支援套裝產生已完成
如何從交換器擷取支援套裝
刪除現有支援套裝

 

什麼是支援套裝?

支援套裝是以 sosreport 工具為基礎。支援套裝會產生包含 Linux 系統組態和診斷資訊的 tar 檔案,並顯示命令輸出。Dell 技術支援專員需要支援套裝來進行詳細分析。

如何產生支援套裝

在 EXEC 模式下執行以下命令:

  • 對 OS10 版本 10.5.2.0 及更新版本使用以下命令:
    OS10# generate support-bundle
  • 10.5.2.0 之前的任何 OS10 版本,請使用以下命令:
    OS10# generate support-bundle enable-all-plugin-options

如果您沒有看到執行命令後立即產生支援套裝,請勿嘗試產生其他支援套裝。產生支援套裝需要一些時間 (可能超過 15 分鐘)。

支援套裝儲存在何處?

支援套裝儲存在 supportbundle 目錄中。若要檢視內容,請使用以下命令:

OS10# dir supportbundle

範例輸出:

OS10# dir supportbundle
Directory contents for folder: supportbundle
Date (modified)        Size (bytes)  Name
---------------------  ------------  ------------------------------------------
2020-01-12T19:34:21Z   8070044       sosreport-OS10-20200112193142.tar.xz
2020-01-12T19:34:27Z   33            sosreport-OS10-20200112193142.tar.xz.md5

如何確認支援套裝產生已開始

在產生支援套裝期間,我們會看到在支援套裝目錄中隨機產生的檔案。您必須等待產生過程完成。

範例輸出

OS10# dir supportbundle
Directory contents for folder: supportbundle
Date (modified)        Size (bytes)  Name
---------------------  ------------  ------------------------------------------
2020-01-13T09:17:12Z   3932160       _proc_sys.tar     <<<This is not the complete file. This files size increases during support bundle generation.

記錄
開始產生支援套裝時,系統會進行記錄。

範例輸出

OS10# show logging log-file | grep "SUPPORT_BUNDLE_STARTED"
<165>1 2020-01-12T19:31:11.808623+00:00 OS10 dn_svc_sw 832 - - Node.1-Unit.1:PRI [event], Dell EMC (OS10) %SUPPORT_BUNDLE_STARTED: generate support-bundle execution has started successfully:All Plugin options enabled

如何確認支援套裝產生已完

產生支援套裝後,支援套裝目錄中有兩個檔;一個是支援套裝檔案,另一個是副檔名為 md5 的檔案。md5 檔案是用來驗證套裝檔案完整性的檢查總和檔案。將兩個檔案傳送給技術支援部門。

範例輸出

OS10# dir supportbundle
Directory contents for folder: supportbundle
Date (modified)        Size (bytes)  Name
---------------------  ------------  ------------------------------------------
2020-01-12T19:34:21Z   8070044       sosreport-OS10-20200112193142.tar.xz     <<<Support bundle file
2020-01-12T19:34:27Z   33            sosreport-OS10-20200112193142.tar.xz.md5     <<<Md5 checksum file

在上述範例中,sosreport-OS10-20200112193142.tar.xz 是支援套裝檔案,而 sosreport-OS10-20200112193142.tar.xz.md5 是其 md5 檢查總和檔案。

記錄
在產生支援套裝完成時,系統會進行記錄。

範例輸出

OS10# show logging log-file | grep "BUNDLE_COMPLETED"
<165>1 2020-01-12T19:34:27.831211+00:00 OS10 dn_svc_sw 832 - - Node.1-Unit.1:PRI [event], Dell EMC (OS10) %SUPPORT_BUNDLE_COMPLETED: generate support-bundle execution has completed successfully:All Plugin options enabled

如何從交換器擷取支援套裝。

您可以使用 ftp、http、https、scp、sftp、tftp 或 usb 收集支援套裝,或是使用系統 bash 將支援套裝 scp 至機架中的本機節點,以透過 WinSCP 下載。

從交換器命令提示中使用以下命令:

OS10# copy supportbundle://sosreport-OS10- file-number.tar.xz XXXX://server-address/path commands

其中 XXXX = ftp、http、https、scp、sftp 或 tftp。如果您使用的是 USB,請將其格式化為 FAT32。

範例輸出

OS10#copy supportbundle://sosreport-OS10-20200112193142.tar.xz tftp://10.0.0.0.1/sosreport-OS10-20200112193142.tar.xz

對系統 bash 使用以下命令:

  • system bash
  • ls -ltrh /var/opt/dell/os10/support_bundle/bundle/
  • sudo scp /var/opt/dell/os10/support_bundle/bundle/sosreport* <user>@<node IP>:/target/dir
    • 然後在出現提示時輸入正確的密碼

範例輸出

OS10# system bash
admin@OS10:~$ ls -ltrh /var/opt/dell/os10/support_bundle/bundle/
total 12M
-rw------- 1 root root 12M Nov  6 19:47 sosreport-os10-20241106194507.tar.xz
-rw-r--r-- 1 root root  33 Nov  6 19:47 sosreport-os10-20241106194507.tar.xz.md5
admin@OS10:~$ sudo scp /var/opt/dell/os10/support_bundle/bundle/sosreport* admin@192.168.219.5:/home/admin
[sudo] password for admin:
The authenticity of host '192.168.219.5 (192.168.219.5)' can't be established.
ED25519 key fingerprint is SHA256:SObGGFqgOZ4nY8np1sYvobZAHw2F96Goi7rdzHS+jQU.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.219.5' (ED25519) to the list of known hosts.
Password:
sosreport-os10-20241106194507.tar.xz                                                                                                      100%   12MB   1.6MB/s   00:07
sosreport-os10-20241106194507.tar.xz.md5                                                                                                  100%   33     4.1KB/s   00:00

刪除現有支援套裝

支援套裝可能會耗用交換器儲存裝置的部分空間。因此,在擷取完套裝後,您可以將其刪除。使用以下命令:

OS10# delete supportbundle://sosreport- filename.tar.extention

範例輸出

OS10#delete supportbundle://sosreport-OS10-20200112193142.tar.xz

 

Affected Products

PowerSwitch S3048-ON, PowerSwitch S4048-ON, Dell EMC Networking MX5108n, Dell EMC Networking MX9116n, PowerSwitch S4048T-ON, PowerSwitch S4112F-ON/S4112T-ON, PowerSwitch S4128F-ON/S4128T-ON, PowerSwitch S4148F-ON/S4148T-ON/S4148FE-ON , PowerSwitch S4148U-ON, PowerSwitch S4248FB-ON /S4248FBL-ON, PowerSwitch S5212F-ON, PowerSwitch S5224F-ON, PowerSwitch S5232F-ON, PowerSwitch S5248F-ON, PowerSwitch S5296F-ON, PowerSwitch S6100-ON, PowerSwitch Z9100-ON, PowerSwitch Z9264F-ON ...
Article Properties
Article Number: 000132936
Article Type: How To
Last Modified: 06 Mar 2025
Version:  8
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.