CheckProposedCluster
You can use the CheckProposedCluster
method to test a set of storage nodes before creating a storage cluster with them to identify possible errors or faults that would occur from the attempt, such as unbalanced mixed node capabilities or node types that are not supported for two-node storage clusters.
Parameters
This method has the following input parameter:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
nodes |
A list of storage IP addresses of the initial set of storage nodes making up the storage cluster. |
string array |
None |
Yes |
force |
Set to true to run on all storage nodes in the storage cluster. |
boolean |
None |
No |
Return values
This method has the following return values:
Name |
Description |
Type |
proposedClusterValid |
Indicates whether or not the proposed storage nodes would make up a valid storage cluster. Possible values:
|
boolean |
proposedClusterErrors |
Errors that would occur if a storage cluster was created using the proposed storage nodes. |
string array |
Request example
Requests for this method are similar to the following example:
{ "method": "CheckProposedCluster", "params": { "nodes": [ "192.168.1.11", "192.168.1.12", "192.168.1.13", "192.168.1.14" ] }, "id": 1 }
Response example
This method returns a response similar to the following example:
{ "id": 1, "result": { "proposedClusterValid": true, "proposedClusterErrors": [ ] } }
New since version
11.0