CheckProposedNodeAdditions
You can use the CheckProposedNodeAdditions
method to test a set of storage nodes to see if you can add them to a storage cluster without errors or best practice violations.
Parameter
This method has the following input parameter:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
nodes |
A list of storage IP addresses of storage nodes that are ready to be added to a storage cluster. |
string array |
None |
Yes |
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. Possible error codes:
|
string array |
Request example
Requests for this method are similar to the following example:
{ "method": "CheckProposedNodeAdditions", "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