Java Client: Create Cluster
This example demonstrates how to create a cluster.
Usage
nmakecluster <cluster name> <convert local stores> <rnames> [-r]
<Required Arguments>
<cluster name> -
The name for the new cluster.
The cluster name must be alphanumeric.
<convert local stores> -
Flag to indicate whether the local stores of the master
should be converted to cluster wide stores.
<rnames> -
Server URLs to be included in the cluster.
There can be several names, separated by a space.
The proper format is:
[nsp/nhp/nsps/nhps]://[hostname]:[port]
or
shm://[path/to/file]
Note: -? provides help on environment variables
Application Source Code