Skip to content

Commit 1d6a86b

Browse files
committed
Readme tweaks
1 parent 1406a04 commit 1d6a86b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ optional arguments:
3535
--debug Whether to print debug info (default: false)
3636
```
3737

38-
The script takes care of creating the cluster.ini file (using the config.ini.in file as a base template) in the build stage, and then starts up the cluster using the same configuration in the start stage. You must there invoke cluster.py with both the build and start corresponding arguments being the same, as the initial number of ndb nodes must be as expected when started before the cluster will complete initialization.
38+
The script takes care of creating the cluster.ini file (using the config.ini.in file as a base template) in the build stage, and then starts up the cluster using the same configuration in the start stage. You must therefore invoke cluster.py with both the build and start corresponding arguments being the same, as the initial number of ndb nodes must be as configured , before the cluster will complete initialization.
3939

4040
For a simple installation test environment this is as simple as:
4141

@@ -76,11 +76,11 @@ $ cluster.py start
7676
2016-10-28T09:06:47.983000: Info: Started: [ "node" : { "name" : "mycluster-mgmd49", "bound_port" : 33036, "node_type" : "mgmd" } , "node" : { "name" : "mycluster-mgmd50", "bound_port" : 33037, "node_type" : "mgmd" } , "node" : { "name" : "mycluster-ndbmtd1", "bound_port" : 33038, "node_type" : "ndbmtd" } , "node" : { "name" : "mycluster-ndbmtd2", "bound_port" : 33039, "node_type" : "ndbmtd" } , "node" : { "name" : "mycluster-ndbmtd3", "bound_port" : 33040, "node_type" : "ndbmtd" } , "node" : { "name" : "mycluster-ndbmtd4", "bound_port" : 33041, "node_type" : "ndbmtd" } , "node" : { "name" : "mycluster-sql51", "bound_port" : 33042, "node_type" : "sql" } , "node" : { "name" : "mycluster-sql52", "bound_port" : 33043, "node_type" : "sql" } ]
7777
```
7878

79-
By default this builds and starts a docker network called `mycluster`, and within it a cluster containing 2 management nodes, 4 data nodes and 2 SQL nodes.
79+
By default cluster.py builds and starts a docker network called `mycluster`, and within it a cluster containing 2 management nodes, 4 data nodes and 2 SQL nodes.
8080

8181
#### Starting multiple clusters
8282

83-
To start multiple clusters on the same host, we need to have a unique naming scheme for the container names, and a unique network IP range to run each clutser network over. These are provided by the `--name` and `--base-network` parameters (or `-n` and `-b`).
83+
To start multiple clusters on the same host, we need to have a unique naming scheme for the container names, and a unique network IP range to run each cluster network over. These are provided by the `--name` and `--base-network` parameters (or `-n` and `-b`).
8484

8585
As long as you provide unique values for the `--base-network` parameter when running both the `build` and `start` commands, and a unique `--name` whilst using `start`, then you can run two clusters of any shape relatively easily:
8686

0 commit comments

Comments
 (0)