This sample demonstrates how to connect a node to a cluster if it was not known in advance.
In a console window run:
cluster_dynamic <main_addr:main_port>Then in additional console windows run:
cluster_dynamic <main_addr:main_port> <own_addr:own_port>But it is more instructive to run one instance in your development environment debugger, stepping through the code.