cluster add-node

Contributors

Expand the cluster by discovering and adding new nodes

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The cluster add-node command discovers and adds new nodes to the cluster. When the -node-count parameter is specified, the command attempts to add that many nodes to the cluster. The -node-ip parameter can be specified to directly add a node.

The system node show-discovered command displays all the nodes discovered on the local network.

Parameters

{ -node-count <integer> - Number of Nodes Being Added

Number of nodes to be added to the cluster. If fewer nodes are discovered, all the discovered nodes are added to the cluster and the command will fail since there are fewer nodes than specified. If more nodes are found than the number specified, the command will fail because there is no way to determine which nodes you intend to add to the cluster.

Note The -node-count parameter is supported on non-shared architecture platforms only.
| -node-ip <IP Address> - Cluster IP Address of Node }

Cluster IP address of the node to add. When this parameter is provided, the command directly adds the node.

[-foreground {true|false}] - Foreground Process

When set to false the command runs in the background as a job. The default is true , which causes the command to return after the operation completes.

[-allow-mixed-version-join <true>] - Allow a node at a different version to join Cluster

This parameter allows nodes with different, but compatible versions of Data ONTAP to be added to the cluster. A Data ONTAP best practice is to add nodes to the cluster that are of the same Data ONTAP version as the nodes in the cluster, but that may not always be possible.

Examples

The following example adds a node using -node-ip :

cluster1::> cluster add-node -node-ip 192.168.1.5
      [Job 22] Job succeeded.

The following example adds 3 nodes using -node-count .

cluster1::> cluster add-node -node-count 3
      [Job 22] Job succeeded.