You can use the CreateCluster method to initialize the node in a cluster that has ownership of the "mvip" and "svip" addresses. Each new cluster is initialized using the management IP (MIP) of the first node in the cluster. This method also automatically adds all the nodes being configured into the cluster. You only need to use this method once each time a new cluster is initialized.
This method has the following input parameters:
Name | Description | Type | Default value | Required |
---|---|---|---|---|
acceptEula | Indicate your acceptance of the End User License Agreement when creating this cluster. To accept the EULA, set this parameter to true. | boolean | None | Yes |
attributes | List of name-value pairs in JSON object format. | JSON Object | None | No |
defaultProtectionScheme | The protection scheme used by default for new volumes, unless a protection scheme is provided with the CreateVolume method call. | string | None | No |
disabledProtectionSchemes | A list of all protection schemes that should be disabled on this storage cluster. | string array | None | No |
mvip | Floating (virtual) IP address for the cluster on the management network. | string | None | Yes |
nodes | CIP/SIP addresses of the initial set of nodes making up the cluster. This node's IP must be in the list. | string array | None | Yes |
password | Initial password for the cluster admin account. | string | None | Yes |
repCount | Number of replicas of each piece of data to store in the cluster. Valid value is "2". | integer | 2 | Yes |
svip | Floating (virtual) IP address for the cluster on the storage (iSCSI) network. | string | None | Yes |
username | User name for the cluster admin. | string | None | Yes |
This method has no return values.
Requests for this method are similar to the following example:
{ "method": "CreateCluster", "params": { "acceptEula": true, "mvip": "10.0.3.1", "svip": "10.0.4.1", "repCount": 2, "username": "Admin1", "password": "9R7ka4rEPa2uREtE", "attributes": { "clusteraccountnumber": "axdf323456" }, "nodes": [ "10.0.2.1", "10.0.2.2", "10.0.2.3", "10.0.2.4" ] }, "id": 1 }
This method returns a response similar to the following example:
{ "id" : 1, "result" : {} }