此產品有較新版本可以使用。
本繁體中文版使用機器翻譯,譯文僅供參考,若與英文版本牴觸,應以英文版本為準。
建立支援包
您可以使用 `CreateSupportBundle`在節點目錄下建立支援包檔案。創建完成後,該軟體包將以 tar 檔案的形式儲存在節點上(可透過 extraArgs 參數選擇 gz 壓縮選項)。
參數
此方法有以下輸入參數:
| Name | 描述 | 類型 | 預設值 | 必需的 |
|---|---|---|---|---|
捆綁包名稱 |
支援包的唯一名稱。如果沒有提供名稱,則使用“supportbundle”和節點名稱作為檔案名稱。 |
細繩 |
沒有任何 |
不 |
額外參數 |
使用“--compress gz”將支援包建立為 tar.gz 檔案。 |
細繩 |
沒有任何 |
不 |
超時時間秒 |
支援包腳本運行的秒數。 |
整數 |
1500 |
不 |
傳回值
此方法具有以下傳回值:
Name |
描述 |
類型 |
細節 |
支援方案的詳細資訊。可能的值:
|
JSON 物件 |
期間 |
用於建立支援包的時間,格式為:HH:MM:SS.ssssss。 |
細繩 |
結果 |
支援包操作的成功或失敗。 |
細繩 |
請求範例
該方法的請求類似於以下範例:
{
"method": "CreateSupportBundle",
"params": {
"extraArgs": "--compress gz"
},
"id": 1
}
回應範例
此方法傳回類似以下範例的回應:
{
"id": 1,
"result": {
"details": {
"bundleName": "supportbundle",
"extraArgs": "--compress gz",
"files": [
"supportbundle.nodehostname.tar.gz"
],
"output": "timeout -s KILL 1500s /sf/scripts/sfsupportbundle --quiet --compress gz /tmp/solidfire-dtemp.1L6bdX/supportbundle<br><br>Moved '/tmp/solidfire-dtemp.1L6bdX/supportbundle.nodehostname.tar.gz' to /tmp/supportbundles",
"timeoutSec": 1500,
"url": [
"https://nodeIP:442/config/supportbundles/supportbundle.nodehostname.tar.gz"
]
},
"duration": "00:00:43.101627",
"result": "Passed"
}
}
自版本以來的新版本
9.6