From 0a3cbefd757ad745a9b199d6424d67c199fb00f4 Mon Sep 17 00:00:00 2001 From: Sudhanshu Prajapati Date: Wed, 19 Feb 2025 16:52:49 +0530 Subject: [PATCH 1/3] replace --listen flag to --advertise_address --- .../func_yb_is_local_table.md | 6 +++--- .../func_yb_server_region.md | 6 +++--- docs/content/preview/develop/gitdev/codespaces.md | 2 +- docs/content/preview/develop/gitdev/gitpod.md | 2 +- .../going-beyond-sql/tablespaces-yugabyted.md | 14 +++++++------- .../explore/going-beyond-sql/tablespaces.md | 6 +++--- docs/content/preview/integrations/cdc/debezium.md | 2 +- .../content/preview/tutorials/quick-start/linux.md | 4 +++- .../func_yb_is_local_table.md | 6 +++--- .../func_yb_server_region.md | 6 +++--- docs/content/stable/develop/gitdev/codespaces.md | 2 +- docs/content/stable/develop/gitdev/gitpod.md | 2 +- .../going-beyond-sql/tablespaces-yugabyted.md | 14 +++++++------- .../stable/explore/going-beyond-sql/tablespaces.md | 6 +++--- .../func_yb_is_local_table.md | 6 +++--- .../func_yb_server_region.md | 6 +++--- docs/content/v2.20/develop/gitdev/codespaces.md | 2 +- docs/content/v2.20/develop/gitdev/gitpod.md | 2 +- .../going-beyond-sql/tablespaces-yugabyted.md | 14 +++++++------- .../func_yb_is_local_table.md | 6 +++--- .../func_yb_server_region.md | 6 +++--- docs/content/v2024.1/develop/gitdev/codespaces.md | 2 +- docs/content/v2024.1/develop/gitdev/gitpod.md | 2 +- .../going-beyond-sql/tablespaces-yugabyted.md | 14 +++++++------- .../explore/going-beyond-sql/tablespaces.md | 6 +++--- 25 files changed, 73 insertions(+), 71 deletions(-) diff --git a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 8d74f5c1e9b9..7bfdbcecc72b 100644 --- a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -36,20 +36,20 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index c9803157e0ad..6aecc0cfec01 100644 --- a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -44,20 +44,20 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/preview/develop/gitdev/codespaces.md b/docs/content/preview/develop/gitdev/codespaces.md index bec17de5ad9b..8b04a6cb2f90 100644 --- a/docs/content/preview/develop/gitdev/codespaces.md +++ b/docs/content/preview/develop/gitdev/codespaces.md @@ -124,7 +124,7 @@ RUN echo "CREATE DATABASE todo;" > $STORE/init-db.sql \ && echo "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" >> $STORE/init-db.sql RUN echo "/usr/local/yugabyte/bin/post_install.sh 2>&1" >> ~/.bashrc -RUN echo "yugabyted start --base_dir=$STORE/ybd1 --listen=$LISTEN" >> ~/.bashrc +RUN echo "yugabyted start --base_dir=$STORE/ybd1 --advertise_address=$LISTEN" >> ~/.bashrc RUN echo "[[ ! -f $STORE/.init-db.sql.completed ]] && " \ "{ for i in {1..10}; do (nc -vz $LISTEN $PORT >/dev/null 2>&1); [[ \$? -eq 0 ]] && " \ "{ ysqlsh -f $STORE/init-db.sql; touch $STORE/.init-db.sql.completed; break; } || sleep \$i; done }" >> ~/.bashrc diff --git a/docs/content/preview/develop/gitdev/gitpod.md b/docs/content/preview/develop/gitdev/gitpod.md index 4c7223765821..c9471efb6537 100644 --- a/docs/content/preview/develop/gitdev/gitpod.md +++ b/docs/content/preview/develop/gitdev/gitpod.md @@ -124,7 +124,7 @@ tasks: - name: db-run before: /usr/local/yugabyte/bin/post_install.sh init: | - yugabyted start --base_dir=$STORE/ybd1 --listen=$LISTEN && \ + yugabyted start --base_dir=$STORE/ybd1 --advertise_address=$LISTEN && \ [[ ! -f $STORE/.init-db.sql.completed ]] && { for i in {1..10}; do (nc -vz $LISTEN $PORT >/dev/null 2>&1); [[ $? -eq 0 ]] && { ysqlsh -f $STORE/init-db.sql; touch $STORE/.init-db.sql.completed; break; } || sleep $i; done } && \ [[ ! -f $STORE/.init-db.sql.completed ]] && echo 'YugabyteDB is not running!' - name: app-run diff --git a/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md index 5d16f9889a1e..ef1b044a931f 100644 --- a/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -3,7 +3,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -11,7 +11,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" @@ -20,7 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" @@ -29,7 +29,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" ``` @@ -37,7 +37,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" ``` @@ -45,7 +45,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -53,7 +53,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` diff --git a/docs/content/preview/explore/going-beyond-sql/tablespaces.md b/docs/content/preview/explore/going-beyond-sql/tablespaces.md index d2a756dc06e3..83c492be7bcf 100644 --- a/docs/content/preview/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/preview/explore/going-beyond-sql/tablespaces.md @@ -232,19 +232,19 @@ The example below expects the following servers to be added to the cluster: ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" ``` diff --git a/docs/content/preview/integrations/cdc/debezium.md b/docs/content/preview/integrations/cdc/debezium.md index 75872859e91b..0498680cd4fa 100644 --- a/docs/content/preview/integrations/cdc/debezium.md +++ b/docs/content/preview/integrations/cdc/debezium.md @@ -55,7 +55,7 @@ Use the following steps to run change data capture (CDC) with Debezium on a loca 1. Start a cluster using yugabyted. Note that you need to run yugabyted with the IP of your machine; otherwise, it would consider localhost (which would be mapped to the docker host instead of your machine). ```sh - ./bin/yugabyted start --listen $IP + ./bin/yugabyted start --advertise_address $IP ``` 1. Connect using ysqlsh and create a table: diff --git a/docs/content/preview/tutorials/quick-start/linux.md b/docs/content/preview/tutorials/quick-start/linux.md index 07b19eab7462..6956f7e1a6c7 100644 --- a/docs/content/preview/tutorials/quick-start/linux.md +++ b/docs/content/preview/tutorials/quick-start/linux.md @@ -116,9 +116,11 @@ Use the [yugabyted](../../../reference/configuration/yugabyted/) utility to crea To create a single-node local cluster with a replication factor (RF) of 1, run the following command: ```sh -./bin/yugabyted start +./bin/yugabyted start --advertise_address 127.0.0.1 ``` +Note: By default, yugabyted on Linux-based machines binds to the internal IP address. If it fails to do so, set the --advertise_address flag. + {{< readfile "/preview/tutorials/quick-start/include-connect.md" >}} ## Build an application diff --git a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 99040111aa18..b7bb41b82cc6 100644 --- a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -36,20 +36,20 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 2b3833a61580..8188447be206 100644 --- a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -44,20 +44,20 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/stable/develop/gitdev/codespaces.md b/docs/content/stable/develop/gitdev/codespaces.md index cf210dc37204..addfb21f7a8a 100644 --- a/docs/content/stable/develop/gitdev/codespaces.md +++ b/docs/content/stable/develop/gitdev/codespaces.md @@ -124,7 +124,7 @@ RUN echo "CREATE DATABASE todo;" > $STORE/init-db.sql \ && echo "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" >> $STORE/init-db.sql RUN echo "/usr/local/yugabyte/bin/post_install.sh 2>&1" >> ~/.bashrc -RUN echo "yugabyted start --base_dir=$STORE/ybd1 --listen=$LISTEN" >> ~/.bashrc +RUN echo "yugabyted start --base_dir=$STORE/ybd1 --advertise_address=$LISTEN" >> ~/.bashrc RUN echo "[[ ! -f $STORE/.init-db.sql.completed ]] && " \ "{ for i in {1..10}; do (nc -vz $LISTEN $PORT >/dev/null 2>&1); [[ \$? -eq 0 ]] && " \ "{ ysqlsh -f $STORE/init-db.sql; touch $STORE/.init-db.sql.completed; break; } || sleep \$i; done }" >> ~/.bashrc diff --git a/docs/content/stable/develop/gitdev/gitpod.md b/docs/content/stable/develop/gitdev/gitpod.md index b2a2a4375658..64964e3591af 100644 --- a/docs/content/stable/develop/gitdev/gitpod.md +++ b/docs/content/stable/develop/gitdev/gitpod.md @@ -124,7 +124,7 @@ tasks: - name: db-run before: /usr/local/yugabyte/bin/post_install.sh init: | - yugabyted start --base_dir=$STORE/ybd1 --listen=$LISTEN && \ + yugabyted start --base_dir=$STORE/ybd1 --advertise_address=$LISTEN && \ [[ ! -f $STORE/.init-db.sql.completed ]] && { for i in {1..10}; do (nc -vz $LISTEN $PORT >/dev/null 2>&1); [[ $? -eq 0 ]] && { ysqlsh -f $STORE/init-db.sql; touch $STORE/.init-db.sql.completed; break; } || sleep $i; done } && \ [[ ! -f $STORE/.init-db.sql.completed ]] && echo 'YugabyteDB is not running!' - name: app-run diff --git a/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md index 5d16f9889a1e..ef1b044a931f 100644 --- a/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -3,7 +3,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -11,7 +11,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" @@ -20,7 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" @@ -29,7 +29,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" ``` @@ -37,7 +37,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" ``` @@ -45,7 +45,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -53,7 +53,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` diff --git a/docs/content/stable/explore/going-beyond-sql/tablespaces.md b/docs/content/stable/explore/going-beyond-sql/tablespaces.md index 9041b44b5d3e..ae11e4157583 100644 --- a/docs/content/stable/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/stable/explore/going-beyond-sql/tablespaces.md @@ -232,19 +232,19 @@ The example below expects the following servers to be added to the cluster: ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" ``` diff --git a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 5a747d6748d0..8f5b137a6f4e 100644 --- a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -36,20 +36,20 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 94c8be042a03..e0a4ffe2c427 100644 --- a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -44,20 +44,20 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/v2.20/develop/gitdev/codespaces.md b/docs/content/v2.20/develop/gitdev/codespaces.md index 8204d7b9dfb9..17acd47a7cab 100644 --- a/docs/content/v2.20/develop/gitdev/codespaces.md +++ b/docs/content/v2.20/develop/gitdev/codespaces.md @@ -124,7 +124,7 @@ RUN echo "CREATE DATABASE todo;" > $STORE/init-db.sql \ && echo "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" >> $STORE/init-db.sql RUN echo "/usr/local/yugabyte/bin/post_install.sh 2>&1" >> ~/.bashrc -RUN echo "yugabyted start --base_dir=$STORE/ybd1 --listen=$LISTEN" >> ~/.bashrc +RUN echo "yugabyted start --base_dir=$STORE/ybd1 --advertise_address=$LISTEN" >> ~/.bashrc RUN echo "[[ ! -f $STORE/.init-db.sql.completed ]] && " \ "{ for i in {1..10}; do (nc -vz $LISTEN $PORT >/dev/null 2>&1); [[ \$? -eq 0 ]] && " \ "{ ysqlsh -f $STORE/init-db.sql; touch $STORE/.init-db.sql.completed; break; } || sleep \$i; done }" >> ~/.bashrc diff --git a/docs/content/v2.20/develop/gitdev/gitpod.md b/docs/content/v2.20/develop/gitdev/gitpod.md index 7c620752e574..8c265dcd1b54 100644 --- a/docs/content/v2.20/develop/gitdev/gitpod.md +++ b/docs/content/v2.20/develop/gitdev/gitpod.md @@ -124,7 +124,7 @@ tasks: - name: db-run before: /usr/local/yugabyte/bin/post_install.sh init: | - yugabyted start --base_dir=$STORE/ybd1 --listen=$LISTEN && \ + yugabyted start --base_dir=$STORE/ybd1 --advertise_address=$LISTEN && \ [[ ! -f $STORE/.init-db.sql.completed ]] && { for i in {1..10}; do (nc -vz $LISTEN $PORT >/dev/null 2>&1); [[ $? -eq 0 ]] && { ysqlsh -f $STORE/init-db.sql; touch $STORE/.init-db.sql.completed; break; } || sleep $i; done } && \ [[ ! -f $STORE/.init-db.sql.completed ]] && echo 'YugabyteDB is not running!' - name: app-run diff --git a/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md index 5d16f9889a1e..ef1b044a931f 100644 --- a/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md @@ -3,7 +3,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -11,7 +11,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" @@ -20,7 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" @@ -29,7 +29,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" ``` @@ -37,7 +37,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" ``` @@ -45,7 +45,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -53,7 +53,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` diff --git a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 6beab5281d21..f74c62bd357f 100644 --- a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -36,20 +36,20 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index e17965f9ef83..5caba843ab9f 100644 --- a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -44,20 +44,20 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/v2024.1/develop/gitdev/codespaces.md b/docs/content/v2024.1/develop/gitdev/codespaces.md index 6098b1bd47d8..baa78c434da5 100644 --- a/docs/content/v2024.1/develop/gitdev/codespaces.md +++ b/docs/content/v2024.1/develop/gitdev/codespaces.md @@ -124,7 +124,7 @@ RUN echo "CREATE DATABASE todo;" > $STORE/init-db.sql \ && echo "CREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";" >> $STORE/init-db.sql RUN echo "/usr/local/yugabyte/bin/post_install.sh 2>&1" >> ~/.bashrc -RUN echo "yugabyted start --base_dir=$STORE/ybd1 --listen=$LISTEN" >> ~/.bashrc +RUN echo "yugabyted start --base_dir=$STORE/ybd1 --advertise_address=$LISTEN" >> ~/.bashrc RUN echo "[[ ! -f $STORE/.init-db.sql.completed ]] && " \ "{ for i in {1..10}; do (nc -vz $LISTEN $PORT >/dev/null 2>&1); [[ \$? -eq 0 ]] && " \ "{ ysqlsh -f $STORE/init-db.sql; touch $STORE/.init-db.sql.completed; break; } || sleep \$i; done }" >> ~/.bashrc diff --git a/docs/content/v2024.1/develop/gitdev/gitpod.md b/docs/content/v2024.1/develop/gitdev/gitpod.md index a68aa91790e6..f483ab79a98c 100644 --- a/docs/content/v2024.1/develop/gitdev/gitpod.md +++ b/docs/content/v2024.1/develop/gitdev/gitpod.md @@ -124,7 +124,7 @@ tasks: - name: db-run before: /usr/local/yugabyte/bin/post_install.sh init: | - yugabyted start --base_dir=$STORE/ybd1 --listen=$LISTEN && \ + yugabyted start --base_dir=$STORE/ybd1 --advertise_address=$LISTEN && \ [[ ! -f $STORE/.init-db.sql.completed ]] && { for i in {1..10}; do (nc -vz $LISTEN $PORT >/dev/null 2>&1); [[ $? -eq 0 ]] && { ysqlsh -f $STORE/init-db.sql; touch $STORE/.init-db.sql.completed; break; } || sleep $i; done } && \ [[ ! -f $STORE/.init-db.sql.completed ]] && echo 'YugabyteDB is not running!' - name: app-run diff --git a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md index 5d16f9889a1e..ef1b044a931f 100644 --- a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -3,7 +3,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -11,7 +11,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" @@ -20,7 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" @@ -29,7 +29,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" ``` @@ -37,7 +37,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" ``` @@ -45,7 +45,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -53,7 +53,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` diff --git a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md index c64697284bd5..a2b0b33acd2e 100644 --- a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md @@ -232,19 +232,19 @@ The example below expects the following servers to be added to the cluster: ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --listen= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" ``` From 50deacb0ef05e9686fa2869fd718cbdd1fb61d97 Mon Sep 17 00:00:00 2001 From: Sudhanshu Prajapati Date: Thu, 20 Feb 2025 13:49:17 +0530 Subject: [PATCH 2/3] re-align the slashes \ --- .../func_yb_is_local_table.md | 6 +++--- .../func_yb_server_region.md | 6 +++--- .../going-beyond-sql/tablespaces-yugabyted.md | 14 +++++++------- .../explore/going-beyond-sql/tablespaces.md | 6 +++--- .../func_yb_is_local_table.md | 6 +++--- .../func_yb_server_region.md | 6 +++--- .../going-beyond-sql/tablespaces-yugabyted.md | 14 +++++++------- .../stable/explore/going-beyond-sql/tablespaces.md | 6 +++--- .../func_yb_is_local_table.md | 6 +++--- .../func_yb_server_region.md | 6 +++--- .../going-beyond-sql/tablespaces-yugabyted.md | 14 +++++++------- .../func_yb_is_local_table.md | 6 +++--- .../func_yb_server_region.md | 6 +++--- .../going-beyond-sql/tablespaces-yugabyted.md | 14 +++++++------- .../explore/going-beyond-sql/tablespaces.md | 10 +++++----- 15 files changed, 63 insertions(+), 63 deletions(-) diff --git a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 7bfdbcecc72b..55b69ca22ec2 100644 --- a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -36,20 +36,20 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 6aecc0cfec01..70c9c7023f1f 100644 --- a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -44,20 +44,20 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md index ef1b044a931f..24e679de23b0 100644 --- a/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -3,7 +3,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -11,7 +11,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" @@ -20,7 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" @@ -29,7 +29,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" ``` @@ -37,7 +37,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" ``` @@ -45,7 +45,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -53,7 +53,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` diff --git a/docs/content/preview/explore/going-beyond-sql/tablespaces.md b/docs/content/preview/explore/going-beyond-sql/tablespaces.md index 83c492be7bcf..c34591196933 100644 --- a/docs/content/preview/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/preview/explore/going-beyond-sql/tablespaces.md @@ -232,19 +232,19 @@ The example below expects the following servers to be added to the cluster: ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" ``` diff --git a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index b7bb41b82cc6..9baf0abbfcad 100644 --- a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -36,20 +36,20 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 8188447be206..16563518abd4 100644 --- a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -44,20 +44,20 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md index ef1b044a931f..24e679de23b0 100644 --- a/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -3,7 +3,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -11,7 +11,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" @@ -20,7 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" @@ -29,7 +29,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" ``` @@ -37,7 +37,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" ``` @@ -45,7 +45,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -53,7 +53,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` diff --git a/docs/content/stable/explore/going-beyond-sql/tablespaces.md b/docs/content/stable/explore/going-beyond-sql/tablespaces.md index ae11e4157583..e329bee6d723 100644 --- a/docs/content/stable/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/stable/explore/going-beyond-sql/tablespaces.md @@ -232,19 +232,19 @@ The example below expects the following servers to be added to the cluster: ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" ``` diff --git a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 8f5b137a6f4e..abe9d669ce6c 100644 --- a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -36,20 +36,20 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index e0a4ffe2c427..279f95537f84 100644 --- a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -44,20 +44,20 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md index ef1b044a931f..24e679de23b0 100644 --- a/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md @@ -3,7 +3,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -11,7 +11,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" @@ -20,7 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" @@ -29,7 +29,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" ``` @@ -37,7 +37,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" ``` @@ -45,7 +45,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -53,7 +53,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` diff --git a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index f74c62bd357f..0e8dead4a114 100644 --- a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -36,20 +36,20 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 5caba843ab9f..003301dfc2ca 100644 --- a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -44,20 +44,20 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" diff --git a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md index ef1b044a931f..24e679de23b0 100644 --- a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -3,7 +3,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -11,7 +11,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" @@ -20,7 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" @@ -29,7 +29,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" ``` @@ -37,7 +37,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" ``` @@ -45,7 +45,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` @@ -53,7 +53,7 @@ To create a local cluster with the preceding configuration, use the following yu ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" ``` diff --git a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md index a2b0b33acd2e..d0183eed0fc1 100644 --- a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md @@ -232,20 +232,20 @@ The example below expects the following servers to be added to the cluster: ```sh ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ + --advertise_address= \ --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" - ./bin/yugabyted start \ + ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ - --advertise_address= \ - --join= \ + --advertise_address= \ + --join= \ --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" ``` From de58b299f36a2733063d3993eaa55aa9be95205f Mon Sep 17 00:00:00 2001 From: Sudhanshu Prajapati Date: Tue, 25 Feb 2025 12:56:24 +0530 Subject: [PATCH 3/3] master/tserver placement flags - are they now replaced by yugabyted --cloud_location flag --- .../func_yb_is_local_table.md | 9 +++------ .../func_yb_server_region.md | 9 +++------ .../going-beyond-sql/tablespaces-yugabyted.md | 17 +++++++---------- .../explore/going-beyond-sql/tablespaces.md | 6 +++--- .../func_yb_is_local_table.md | 9 +++------ .../func_yb_server_region.md | 9 +++------ .../going-beyond-sql/tablespaces-yugabyted.md | 17 +++++++---------- .../explore/going-beyond-sql/tablespaces.md | 6 +++--- .../func_yb_is_local_table.md | 9 +++------ .../func_yb_server_region.md | 9 +++------ .../going-beyond-sql/tablespaces-yugabyted.md | 17 +++++++---------- .../func_yb_is_local_table.md | 9 +++------ .../func_yb_server_region.md | 9 +++------ .../going-beyond-sql/tablespaces-yugabyted.md | 17 +++++++---------- .../explore/going-beyond-sql/tablespaces.md | 6 +++--- 15 files changed, 61 insertions(+), 97 deletions(-) diff --git a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 55b69ca22ec2..ac58e27ab901 100644 --- a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -37,22 +37,19 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" + --cloud_location=aws.us-west-1.us-west-1c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" + --cloud_location=aws.us-east-2.us-east-2c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` 1. Use [yb-admin](../../../../../admin/yb-admin/) to specify the placement configuration to be used by the cluster as follows: diff --git a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 70c9c7023f1f..f9a2a964af87 100644 --- a/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/preview/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -45,22 +45,19 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" + --cloud_location=aws.us-west-1.us-west-1c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" + --cloud_location=aws.us-east-2.us-east-2c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` 1. Use [yb-admin](../../../../../admin/yb-admin/) to specify the placement configuration to be used by the cluster: diff --git a/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md index 24e679de23b0..67a826191325 100644 --- a/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/preview/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -4,8 +4,7 @@ To create a local cluster with the preceding configuration, use the following yu ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` ```sh @@ -13,8 +12,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" + --cloud_location=aws.us-east-1.us-east-1b \ ``` ```sh @@ -22,8 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" + --cloud_location=aws.us-east-1.us-east-1c \ ``` ```sh @@ -31,7 +28,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" + --cloud_location=aws.ap-south-1.ap-south-1a \ ``` ```sh @@ -39,7 +36,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" + --cloud_location=aws.eu-west-2.eu-west-2c \ ``` ```sh @@ -47,7 +44,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` ```sh @@ -55,7 +52,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` After cluster creation, verify that the nodes have been created with the given configuration by navigating to the Tablet Servers page in the YB-Master UI. diff --git a/docs/content/preview/explore/going-beyond-sql/tablespaces.md b/docs/content/preview/explore/going-beyond-sql/tablespaces.md index c34591196933..65d227df17a4 100644 --- a/docs/content/preview/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/preview/explore/going-beyond-sql/tablespaces.md @@ -234,19 +234,19 @@ The example below expects the following servers to be added to the cluster: --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" + --cloud_location=aws.us-east-1.us-east-1b \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" + --cloud_location=aws.us-east-2.us-east-2a \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" + --cloud_location=aws.us-west-1.us-west-1a \ ``` {{< /note >}} diff --git a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 9baf0abbfcad..e4c281ef4bd2 100644 --- a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -37,22 +37,19 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" + --cloud_location=aws.us-west-1.us-west-1c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" + --cloud_location=aws.us-east-2.us-east-2c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` 1. Use [yb-admin](../../../../../admin/yb-admin/) to specify the placement configuration to be used by the cluster as follows: diff --git a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 16563518abd4..c05bc92cc360 100644 --- a/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/stable/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -45,22 +45,19 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" + --cloud_location=aws.us-west-1.us-west-1c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" + --cloud_location=aws.us-east-2.us-east-2c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` 1. Use [yb-admin](../../../../../admin/yb-admin/) to specify the placement configuration to be used by the cluster: diff --git a/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md index 24e679de23b0..67a826191325 100644 --- a/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/stable/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -4,8 +4,7 @@ To create a local cluster with the preceding configuration, use the following yu ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` ```sh @@ -13,8 +12,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" + --cloud_location=aws.us-east-1.us-east-1b \ ``` ```sh @@ -22,8 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" + --cloud_location=aws.us-east-1.us-east-1c \ ``` ```sh @@ -31,7 +28,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" + --cloud_location=aws.ap-south-1.ap-south-1a \ ``` ```sh @@ -39,7 +36,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" + --cloud_location=aws.eu-west-2.eu-west-2c \ ``` ```sh @@ -47,7 +44,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` ```sh @@ -55,7 +52,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` After cluster creation, verify that the nodes have been created with the given configuration by navigating to the Tablet Servers page in the YB-Master UI. diff --git a/docs/content/stable/explore/going-beyond-sql/tablespaces.md b/docs/content/stable/explore/going-beyond-sql/tablespaces.md index e329bee6d723..61b1dc47c02d 100644 --- a/docs/content/stable/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/stable/explore/going-beyond-sql/tablespaces.md @@ -234,19 +234,19 @@ The example below expects the following servers to be added to the cluster: --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" + --cloud_location=aws.us-east-1.us-east-1b \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" + --cloud_location=aws.us-east-2.us-east-2a \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" + --cloud_location=aws.us-west-1.us-west-1a \ ``` {{< /note >}} diff --git a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index abe9d669ce6c..d00716e8756e 100644 --- a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -37,22 +37,19 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" + --cloud_location=aws.us-west-1.us-west-1c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" + --cloud_location=aws.us-east-2.us-east-2c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` 1. Use [yb-admin](../../../../../admin/yb-admin/) to specify the placement configuration to be used by the cluster as follows: diff --git a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 279f95537f84..c615970aa394 100644 --- a/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/v2.20/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -45,22 +45,19 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" + --cloud_location=aws.us-west-1.us-west-1c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" + --cloud_location=aws.us-east-2.us-east-2c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` 1. Use [yb-admin](../../../../../admin/yb-admin/) to specify the placement configuration to be used by the cluster: diff --git a/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md index 24e679de23b0..67a826191325 100644 --- a/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/v2.20/explore/ysql-language-features/going-beyond-sql/tablespaces-yugabyted.md @@ -4,8 +4,7 @@ To create a local cluster with the preceding configuration, use the following yu ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` ```sh @@ -13,8 +12,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" + --cloud_location=aws.us-east-1.us-east-1b \ ``` ```sh @@ -22,8 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" + --cloud_location=aws.us-east-1.us-east-1c \ ``` ```sh @@ -31,7 +28,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" + --cloud_location=aws.ap-south-1.ap-south-1a \ ``` ```sh @@ -39,7 +36,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" + --cloud_location=aws.eu-west-2.eu-west-2c \ ``` ```sh @@ -47,7 +44,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` ```sh @@ -55,7 +52,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` After cluster creation, verify that the nodes have been created with the given configuration by navigating to the Tablet Servers page in the YB-Master UI. diff --git a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md index 0e8dead4a114..49b3e946ff03 100644 --- a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md +++ b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_is_local_table.md @@ -37,22 +37,19 @@ This function is helpful while implementing [Row-level geo-partitioning](../../. ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" + --cloud_location=aws.us-west-1.us-west-1c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" + --cloud_location=aws.us-east-2.us-east-2c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` 1. Use [yb-admin](../../../../../admin/yb-admin/) to specify the placement configuration to be used by the cluster as follows: diff --git a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md index 003301dfc2ca..b515fa35ec71 100644 --- a/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md +++ b/docs/content/v2024.1/api/ysql/exprs/geo_partitioning_helper_functions/func_yb_server_region.md @@ -45,22 +45,19 @@ Do the following to create a 3-node multi-region cluster and a geo-partitioned t ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1c" + --cloud_location=aws.us-west-1.us-west-1c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2c" + --cloud_location=aws.us-east-2.us-east-2c \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` 1. Use [yb-admin](../../../../../admin/yb-admin/) to specify the placement configuration to be used by the cluster: diff --git a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md index 24e679de23b0..67a826191325 100644 --- a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md +++ b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces-yugabyted.md @@ -4,8 +4,7 @@ To create a local cluster with the preceding configuration, use the following yu ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` ```sh @@ -13,8 +12,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" + --cloud_location=aws.us-east-1.us-east-1b \ ``` ```sh @@ -22,8 +20,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --master_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1c" + --cloud_location=aws.us-east-1.us-east-1c \ ``` ```sh @@ -31,7 +28,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=ap-south-1,placement_zone=ap-south-1a" + --cloud_location=aws.ap-south-1.ap-south-1a \ ``` ```sh @@ -39,7 +36,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=eu-west-2,placement_zone=eu-west-2c" + --cloud_location=aws.eu-west-2.eu-west-2c \ ``` ```sh @@ -47,7 +44,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` ```sh @@ -55,7 +52,7 @@ To create a local cluster with the preceding configuration, use the following yu --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1a" + --cloud_location=aws.us-east-1.us-east-1a \ ``` After cluster creation, verify that the nodes have been created with the given configuration by navigating to the Tablet Servers page in the YB-Master UI. diff --git a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md index d0183eed0fc1..d07da1ea3f6f 100644 --- a/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md +++ b/docs/content/v2024.1/explore/going-beyond-sql/tablespaces.md @@ -234,19 +234,19 @@ The example below expects the following servers to be added to the cluster: --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-1,placement_zone=us-east-1b" + --cloud_location=aws.us-east-1.us-east-1b \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-east-2,placement_zone=us-east-2a" + --cloud_location=aws.us-east-2.us-east-2a \ ./bin/yugabyted start \ --base_dir=/home/yugabyte//yugabyte-data \ --advertise_address= \ --join= \ - --tserver_flags "placement_cloud=aws,placement_region=us-west-1,placement_zone=us-west-1a" + --cloud_location=aws.us-west-1.us-west-1a \ ``` {{< /note >}}