Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[build/multinode-local] Fix Multinode local cluster script port mapping #988

Merged
merged 1 commit into from
Jan 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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