What's the best way to set up a local (single box) cluster for testing?

To avoid joining another cluster, the easiest way is to use a unique multicast address and a unique port number. To avoid the multicast traffic from going across the network, set the TTL to 0. For example, add the following parameters to the command line when starting up the JVM: