NiFi Ingest 24.3

# Set up Additional Nodes

Your Apache NiFi cluster should include either three or five ZooKeeper nodes (see Set up a NiFi Cluster). This procedure describes how to add additional nodes that do not run ZooKeeper. You can add additional nodes without restarting the existing NiFi instances.

To add an additional node to your NiFi cluster

1. Install Apache NiFi on the node.

2. Open the file `./conf/nifi.properties` and set or review the following properties:

   Property | Description
   --- | ---
   `nifi.cluster.is.node` | Set this property to `true`.
   `nifi.state.management.embedded.zookeeper.start` | Set this property to `false`.
   `nifi.zookeeper.connect.string` | A comma-separated list of host names and ports, for connecting to ZooKeeper on your ZooKeeper nodes. For example, `host1:4881,host2:4881,host3:4881`.
   `nifi.web.http.port` | The NiFi HTTP Port. This is the port that you would use to open the Apache NiFi web interface.
   `nifi.cluster.node.protocol.port` | Specify any free port above 1024.
   `nifi.cluster.load.balance.port` | Specify any free port above 1024.

3. Open the file `./conf/state-management.xml` and set the `Connect String` property (in the ZooKeeper section) to the same value you set for `nifi.zookeeper.connect.string` in the `nifi.properties` file. For example:

       <property name="Connect String">host1:4881,host2:4881,host3:4881</property>

4. Start Apache NiFi on this node.

   Apache NiFi starts and the new node joins the cluster.

5. Open the NiFi user interface for any node in the cluster. To check the status of the nodes in the cluster, click followed by Cluster.

Copyright 2018-2024 Open Text
Version 24.3 | Last updated June 2024

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: IDOL NiFi Ingest 24.3

Topic Title: Set up Additional Nodes