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 ```