You can use the CreateClusterSupportBundle on the management node to gather support bundles from all nodes in a cluster. When a bundle is created, it is stored on the node as a .tar.gz file. You can only run this method on a management node; it does not work when run on a storage node.
https://<management node IP>:442/json-rpc/10.0
This method has the following input parameters:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
allowIncomplete | Allows the script to continue to run if bundles cannot be gathered from one or more of the nodes. | boolean | None | No |
bundleName | Unique name for each support bundle created. If no name is provided, then "supportbundle" and the node name are used as the file name | string | None | No |
extraArgs | This parameter is fed to the sf_make_support_bundle script. This parameter should be used only at the request of NetApp Support. | string | None | No |
mvip | The MVIP of the cluster. Bundles are gathered from all nodes in the cluster. This parameter is required if the nodes parameter is not specified. | string | None | Yes |
nodes | The IP addresses of the nodes from which to gather bundles. Use either nodes or mvip, but not both, to specify the nodes from which to gather bundles. This parameter is required if mvip is not specified. | string array | None | Yes |
password | The cluster admin password. Note: This password is visible as text when entered.
|
string | None | Yes |
username | The cluster admin user name. | string | None | Yes |
This method has no return values.
Requests for this method are similar to the following example:
{ "method": "CreateClusterSupportBundle", "params": { "bundlename": "clusterbundle", "mvip": "132.119.120.100" } }, "id": 1 }
This method returns a response similar to the following example:
{ "id":1, "result":{ "details":{ "bundleName":"clusterbundle", "extraArgs":"", "files":[ "/tmp/supportbundles/clusterbundle.cl-4SD5.tar" ], "output":"timeout -s KILL 1790s /usr/local/bin/sfclustersupportbundle --quiet --name=\"clusterbundle\" --target-directory=\"/tmp/solidfire-dtemp.MM7f0m\" --user=\"admin\" --pass=\"admin\" --mvip=132.119.120.100" }, "duration":"00:00:24.938127", "result":"Passed" } }
9.6