gridSetup.sh -addNode
The gridSetup.sh -addNode command adds a new node to your cluster.
Syntax
gridSetup.sh -addNode -clusterNodes list_of_nodes_to_add [-executePrereqs] [-executeRootScript -configMethod ]
Parameters
Table: gridSetup.sh -addNode Command Parameters
| Parameter | Mandatory? | Description |
|---|---|---|
-clusterNodes list_of_nodes_to_add | Yes | Names of the new cluster nodes that you want to add to your cluster. |
-executePrereqs | No | Run prerequisite checks to ensure that all necessary conditions and requirements are met before proceeding with the installation or configuration process. |
-executeRootScript | No | Specify this option to run the root script automatically. |
-configMethod | No | Specify the configuration method to use for automatic root script execution. This can be either as the root user or as a sudo user. |
-help | No | Displays gridSetup.sh -addNode command help. |
Usage Notes
The new cluster node name must be unique throughout the cluster.
Example
To add two new nodes, node3 and node4 to an existing cluster.
gridSetup.sh -addNode -clusterNodes node3,node4