本产品推出了新版本。
简体中文版经机器翻译而成,仅供参考。如与英语版出现任何冲突,应以英语版为准。
CreateSupportBundle
您可以使用 CreateSupportBundle 在节点的目录下创建支持包文件。创建后,该捆绑包将以 tar 文件的形式存储在节点上(可以通过 extraArgs 参数使用 gz 压缩选项。)
Parameters
此方法具有以下输入参数:
| Name | Description | Type | 默认值 | Required |
|---|---|---|---|---|
捆绑包名称 |
支持包的唯一名称。如果未提供名称,则使用 "supportbundle" 和节点名称作为文件名。 |
string |
无 |
否 |
非凡的 Args |
使用 "-compress gz" 将支持包创建为 tar.gz 文件。 |
string |
无 |
否 |
超时秒 |
支持包脚本运行的秒数。 |
整型 |
1500 |
否 |
返回值
此方法具有以下返回值:
Name |
Description |
Type |
详细信息 |
支持包的详细信息。可能值:
|
JSON 对象 |
Duration |
创建支持包所用的时间,格式为 HH : MM : SS.ssssss 。 |
string |
结果 |
支持包操作的成功或失败。 |
string |
请求示例
此方法的请求类似于以下示例:
{
"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