Adding Nodes to a Cluster
Describes how to add nodes to a cluster.
About this task
Procedure
-
Prepare all nodes.
If you do not use the Domain Name System (DNS), ping the new node from an existing node and vice versa. Use the host name instead of an IP address. If you do not get a response, and if you rule out a network problem, a possible fix is to edit the
/etc/hosts
files of all nodes in the cluster. All nodes need to be listed in all/etc/hosts
files. -
Plan which packages to install based on services you want to run on the new nodes.
See Select Services and Data Fabric Repositories and Packages for more information.
-
Install HPE Ezmeral Data Fabric
Software.
- On all new nodes, add the HPE Ezmeral Data Fabric Repository.
- On each new node, install the planned packages.
See Step 3: Prepare Packages and Repositories and Step 4: Install Cluster Service Packages for more information. -
Configure all new nodes by running
configure.sh
.If you added a ZooKeeper role to a node, run the following command on all nodes with the new ZooKeeper list:configure.sh -no-autostart
. Seeconfigure.sh
for more information. -
On all new nodes, format disks for use by HPE Ezmeral Data Fabric if you plan to re-use a node from another
cluster.
Format the disks from a re-used node to remove data from the old cluster.See Formatting Disks on a Node From the Command-line for more information.NOTEAll the disks (for use by HPE Ezmeral Data Fabric) on a node must be of the same type. That is, all the disks on a node must either be rotational or SSDs; node with disks of both types is not supported.
- If you manually modified configuration files on the existing nodes and those changes apply to the new nodes, copy only those changes to the respective files on the new nodes.
-
Perform the following steps if you added the node(s) to any secure cluster that is
configured for cross-cluster operations.
-
Start ZooKeeper on all new nodes that have ZooKeeper installed:
service mapr-zookeeper start
-
Start Warden on all new nodes:
service mapr-warden start
-
Restart services that you reconfigured.
Running
configure.sh
alone does not reconfigure services, such as ZooKeeper. Reconfigured services also require a restart. For example, restart ZooKeeper on each node, one at a time after runningconfigure.sh
. Restart the lead ZooKeeper last. Restarting ZooKeeper adds the new nodes into the existing ZooKeeper quorum. Services that need to connect to CLDB do not always discover a newly added CLDB node without restarting warden. - Set up node topology for the new nodes.
- On any new nodes running NFS, set up NFS for HA.