set_cluster_members

By running the set_cluster_members command, you can configure the members in a cluster.

The following help text is displayed when you run the command followed by -h:
Usage (creating a cluster): set_cluster_members -c
Usage (adding a new member): set_cluster_members hostname/ip_of_existing_cluster_member
Usage (runtime change): set_cluster_members -r hostname/ip_1 [hostname/ip_2 hostname/ip_3 ...]
Usage (de-clustering): set_cluster_members -d
 -c will create a new cluster. This only needs to be run against the 1st member creating the cluster and not the others
 -r indicates a transient change in cluster membership based on runtime monitoring
 -d de-clusters this node from any others and turns it into a standalone machine.
 -s shortcuts 'creating a cluster' or 'adding a new member' if they have run before.
[V5.0.8 or later] -v re-cluster just with currently visible servers. Prompts for confirmation.
[V5.0.8 or later] -1 modifies the behavior of -v to go standalone if no other servers are visible.
Note: If you run the set_cluster_members command to configure the clustering, the command will check whether the IP addresses that you have provided are Developer Portal nodes, and that they are at the same version of system code.

If you run the command with a list of IP addresses of other nodes to cluster with, the command checks the system version and checks whether at least one other node on the list has had set_cluster_members -c run on it.