From 9505bb02bd15d66dac4f1e4d27e9f4c388322b8e Mon Sep 17 00:00:00 2001 From: Rafael Albarello <36966454+Ramboio@users.noreply.github.com> Date: Thu, 11 Jan 2024 16:08:54 -0300 Subject: [PATCH] [build/multinode-local] Fix Multinode local cluster script (#988) --- build/dev/haproxy_local_setup.sh | 4 ++-- build/dev/mutli_node_local_dss.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/build/dev/haproxy_local_setup.sh b/build/dev/haproxy_local_setup.sh index 7130cc6d1..12b8b59a0 100644 --- a/build/dev/haproxy_local_setup.sh +++ b/build/dev/haproxy_local_setup.sh @@ -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" diff --git a/build/dev/mutli_node_local_dss.md b/build/dev/mutli_node_local_dss.md index 10e3be7e0..d665b9e33 100644 --- a/build/dev/mutli_node_local_dss.md +++ b/build/dev/mutli_node_local_dss.md @@ -31,7 +31,7 @@ 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: @@ -39,8 +39,8 @@ DSS services should still be up and running. Test it by running read operations: 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 ```