Skip to content

Commit

Permalink
[build/multinode-local] Fix Multinode local cluster script (#988)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ramboio authored Jan 11, 2024
1 parent 095ca48 commit 9505bb0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions build/dev/haproxy_local_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,12 @@ docker run -d --rm --name roacha \

echo "Starting roachb with admin port on :8088"
docker run -d --rm --name roachb \
-p 8088:8088 \
-p 8088:8080 \
$FLAGS > /dev/null

echo "Starting roachc with admin port on :8089"
docker run -d --rm --name roachc \
-p 8089:8089 \
-p 8089:8080 \
$FLAGS > /dev/null

echo "Initialize cluster setup"
Expand Down
6 changes: 3 additions & 3 deletions build/dev/mutli_node_local_dss.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,16 +31,16 @@ To test the DB connection through HAProxy, run [`./build/dev/check_scd_write.sh`

Stop one of the cluster nodes by running:

```docker container stop roacha```
```docker rm -f roachc```

DSS services should still be up and running. Test it by running read operations:

```./build/dev/check_scd_read.sh```

Run following to bring up a new node in the cluster environment:

```docker container run -d --name roachc \
--hostname roachc -p 8087:8087 \
```docker run -d --name roachc \
--hostname roachc -p 8089:8080 \
--network dss_sandbox-default \
cockroachdb/cockroach:v21.2.3 start --insecure --join=roacha,roachb
```
Expand Down

0 comments on commit 9505bb0

Please sign in to comment.