You can refer to the following example, but starting multiple instances on a single machine requires handling port and data directory conflicts.
## Example of distributed scaffolding for 3 nodes and 3 replicas
...
...
@@ -48,9 +61,10 @@ Note: If there is no public network IP or private network IP, both can be set to
The operation steps are as follows:
1. Make sure ports 6567, 6667, 9003, 9004, 40010, 40011 and 31999 are open on all three nodes.
2. Use 'mvn clean package -pl cluster -am -DskipTests' to compile the distributed module.
3. Send the generated package (iotdb-cluster-0.13.0-SNAPSHOT) to all servers.
1. Use 'mvn clean package -pl cluster -am -DskipTests' to compile the distributed module or directly go into the [website](https://iotdb.apache.org/Download/) to download the latest version.
2. Make sure ports 6567, 6667, 9003, 9004, 40010, 40011 and 31999 are open on all three nodes.
3. Send the package to all servers.
4. Configure all nodes' seed_nodes in conf/iotdb-cluster.properties as "A_private_ip:9003,B_private_ip:9003,C_private_ip:9003"
5. Configure the internal_ip in conf/iotdb-cluster.properties to be the private_ip of each node.
6. Configure the default_replica_num in conf/iotdb-cluster.properties to be 3.