Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/advanced-analytics/postgis.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Before you get started, ensure that the Apache Cloudberry is correctly installed
Before starting the compilation process, run the following commands to make sure the environment variables are set ready:

```bash
source /usr/local/cloudberry/greenplum_path.sh
source /usr/local/cloudberry/cloudberry-env.sh
source /home/gpadmin/cloudberry/gpAux/gpdemo/gpdemo-env.sh
scl enable devtoolset-10 bash
source /opt/rh/devtoolset-10/enable
Expand Down
4 changes: 2 additions & 2 deletions docs/cbdb-op-deploy-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ After the preparation, it is time to install Apache Cloudberry. You need to down
=>
```

If you fail to run `gpssh`, you can first run `source /usr/local/cloudberry/greenplum_path.sh` on the coordinator node.
If you fail to run `gpssh`, you can first run `source /usr/local/cloudberry/cliudberry-env.sh` on the coordinator node.

## Step 4. Initialize Apache Cloudberry

Expand All @@ -130,7 +130,7 @@ Before performing the following operations, run `su - gpadmin` to switch to the
1. Add a new line of `source` command to the `~/.bashrc` files of all nodes (coordinator/standby coordinator/segment). The example is as follows:

```bash
source /usr/local/cloudberry/greenplum_path.sh
source /usr/local/cloudberry/cloudberry-env.sh
```

2. Run the `source` command to make the newly added content effective:
Expand Down
6 changes: 3 additions & 3 deletions docs/deployment/create-gpadmin-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ The script uses a heredoc (EOF) block to execute multiple commands under the `gp
sudo -u gpadmin bash <<'EOF'
# Add Cloudberry environment setup to .bashrc
echo -e '\n# Add Cloudberry entries
if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then
source /usr/local/cloudberry-db/greenplum_path.sh
if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then
source /usr/local/cloudberry-db/cloudberry-env.sh
fi

# US English with UTF-8 character encoding
Expand All @@ -86,4 +86,4 @@ chmod 700 /home/gpadmin/.ssh
chmod 600 /home/gpadmin/.ssh/authorized_keys
chmod 644 /home/gpadmin/.ssh/id_rsa.pub
EOF
```
```
12 changes: 6 additions & 6 deletions docs/deployment/quick-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ sudo -u gpadmin sudo whoami # if the output is root, the configuration is correc
sudo -u gpadmin bash <<'EOF'
## Add Cloudberry environment setup to .bashrc
echo -e '\n# Add Cloudberry entries
if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then
source /usr/local/cloudberry-db/greenplum_path.sh
if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then
source /usr/local/cloudberry-db/cloudberry-env.sh
fi
## US English with UTF-8 character encoding
export LANG=en_US.UTF-8
Expand Down Expand Up @@ -177,7 +177,7 @@ make install -C ~/cloudberry/contrib
ldd /usr/local/cloudberry-db/bin/postgres

# Set up a Cloudberry demo cluster
source /usr/local/cloudberry-db/greenplum_path.sh
source /usr/local/cloudberry-db/cloudberry-env.sh
make create-demo-cluster -C ~/cloudberry
source ~/cloudberry/gpAux/gpdemo/gpdemo-env.sh
psql -P pager=off template1 -c 'SELECT * from gp_segment_configuration'
Expand All @@ -200,8 +200,8 @@ sudo -u gpadmin sudo whoami # if the output is root, the configuration is correc
sudo -u gpadmin bash <<'EOF'
## Add Cloudberry environment setup to .bashrc
echo -e '\n# Add Cloudberry entries
if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then
source /usr/local/cloudberry-db/greenplum_path.sh
if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then
source /usr/local/cloudberry-db/cloudberry-env.sh
fi
## US English with UTF-8 character encoding
export LANG=en_US.UTF-8
Expand Down Expand Up @@ -326,7 +326,7 @@ make install -C ~/cloudberry/contrib
ldd /usr/local/cloudberry-db/bin/postgres

# Set up a Cloudberry demo cluster
source /usr/local/cloudberry-db/greenplum_path.sh
source /usr/local/cloudberry-db/cloudberry-env.sh
make create-demo-cluster -C ~/cloudberry
source ~/cloudberry/gpAux/gpdemo/gpdemo-env.sh
psql -P pager=off template1 -c 'SELECT * from gp_segment_configuration'
Expand Down
2 changes: 1 addition & 1 deletion docs/deployment/set-demo-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ssh $(hostname) date
Load Cloudberry environment variables that set up paths for binaries, libraries, and other essential components:

```bash
source /usr/local/cloudberry-db/greenplum_path.sh
source /usr/local/cloudberry-db/cloudberry-env.sh
```

## Create development cluster
Expand Down
2 changes: 1 addition & 1 deletion docs/performance/investigate-performance-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ To search for related log entries in the segment log files, you can run `gplogfi

```shell
gpssh -f seg_hosts_file -e 'source
/usr/local/cloudberry-db/greenplum_path.sh ; gplogfilter -f
/usr/local/cloudberry-db/cloudberry-env.sh ; gplogfilter -f
con6 /gpdata/*/log/gpdb*.csv' > seglog.out
```
2 changes: 1 addition & 1 deletion docs/security/client-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ The following steps set the parameter values with the Apache Cloudberry utility

### Change the number of allowed connections

1. Log into the Apache Cloudberry coordinator host as the Apache Cloudberry administrator and source the file `$GPHOME/greenplum_path.sh`.
1. Log into the Apache Cloudberry coordinator host as the Apache Cloudberry administrator and source the file `$GPHOME/cloudberry-env.sh`.
2. Set the value of the `max_connections` parameter. This `gpconfig` command sets the value on the segments to 1000 and the value on the coordinator to 200.

```shell
Expand Down
2 changes: 1 addition & 1 deletion docs/security/log-auditing.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You can also use `gplogfilter` to search through all segment log files at once b

```shell
$ gpssh -f seg_host_file
=> source /usr/local/cloudberry-db/greenplum_path.sh
=> source /usr/local/cloudberry-db/cloudberry-env.sh
=> gplogfilter -n 3 /data*/*/gp*/pg_log/gpdb*.csv
```

Expand Down
2 changes: 1 addition & 1 deletion docs/sys-admin/check-database-system.md
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ gpssh -f <seg_host_file>
```

```shell
=> source /usr/local/cloudberry/greenplum_path.sh
=> source /usr/local/cloudberry/cloudberry-env.sh
=> gplogfilter -n 3 <seg_host_file>
``` -->

Expand Down
4 changes: 2 additions & 2 deletions docs/sys-utilities/gpdemo.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ It is not recommended to use `gpdemo` for production environments, except when d

## How to use

You can run `gpdemo` once the RPM package is installed on the target server and `greenplum_path.sh` is correctly loaded.
You can run `gpdemo` once the RPM package is installed on the target server and `cloudberry-env.sh` is correctly loaded.

### Deploy with default settings

Expand Down Expand Up @@ -108,4 +108,4 @@ PORT_BASE=7000 gpdemo
| `-d` | Deletes the test cluster.<br /><br />Before running `gpdemo -c`, you need to run `source gpdemo-env.sh` to load the basic information of a cluster. The `sh` file is located in the directory where the cluster is created. |
| `-p` | Views cluster status, version and other information of the coordinator and segment nodes.<br /><br />Before running `gpdemo -c`, you need to run `source gpdemo-env.sh` to load the basic information of a cluster. The `sh` file is located in the directory where the cluster is created. |
| `-H ` or `-H` | `gpdemo -h` outputs a brief help description.`gpdemo -H` outputs a more detailed help description, including additional configurations such as environment variables. |
| `-v` | Checks the current `gpdemo` version. |
| `-v` | Checks the current `gpdemo` version. |
4 changes: 2 additions & 2 deletions docs/sys-utilities/gplogfilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can also use `gplogfilter` to search through all segment log files at once b

```shell
gpssh -f seg_host_file
=> source /usr/local/cloudberry/greenplum_path.sh
=> source /usr/local/cloudberry/cloudberry-env.sh
=> gplogfilter -n 3 /gpdata/*/log/gpdb*.csv
```

Expand Down Expand Up @@ -153,7 +153,7 @@ Using [gpssh](/docs/sys-utilities/gpssh.md), run `gplogfilter` on the segment ho

```shell
gpssh -f seg_hosts_file -e 'source
/usr/local/cloudberry/greenplum_path.sh ; gplogfilter -f
/usr/local/cloudberry/cloudberry-env.sh ; gplogfilter -f
con6 /gpdata/*/log/gpdb*.csv' > seglog.out
```

Expand Down
2 changes: 1 addition & 1 deletion docs/sys-utilities/gpssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Specifies a single host name that will participate in this SSH session. You can

**`-s`**

Optional. If specified, before running any commands on the target host, `gpssh` sources the file `greenplum_path.sh` in the directory specified by the `$GPHOME` environment variable.
Optional. If specified, before running any commands on the target host, `gpssh` sources the file `cloudberry-env.sh` in the directory specified by the `$GPHOME` environment variable.

This option is valid for both interactive mode and single command mode.

Expand Down
2 changes: 1 addition & 1 deletion docs/sys-utilities/pg-filedump.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Before compiling filedump, you need to have a Apache Cloudberry cluster installe

```bash
su - gpadmin
source /usr/local/cloudberry/greenplum_path.sh
source /usr/local/cloudberry/cloudberry-env.sh
```

2. Clone the GitHub repository `cloudberry-contrib/filedump` to your local environment:
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.x/advanced-analytics/postgis.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ Before you get started, ensure that the Apache Cloudberry is correctly installed
Before starting the compilation process, run the following commands to make sure the environment variables are set ready:

```bash
source /usr/local/cloudberry/greenplum_path.sh
source /usr/local/cloudberry/cloudberry-env.sh
source /home/gpadmin/cloudberry/gpAux/gpdemo/gpdemo-env.sh
scl enable devtoolset-10 bash
source /opt/rh/devtoolset-10/enable
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-2.x/cbdb-op-deploy-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ After the preparation, it is time to install Apache Cloudberry. You need to down
=>
```

If you fail to run `gpssh`, you can first run `source /usr/local/cloudberry/greenplum_path.sh` on the coordinator node.
If you fail to run `gpssh`, you can first run `source /usr/local/cloudberry/cloudberry-env.sh` on the coordinator node.

## Step 4. Initialize Apache Cloudberry

Expand All @@ -130,7 +130,7 @@ Before performing the following operations, run `su - gpadmin` to switch to the
1. Add a new line of `source` command to the `~/.bashrc` files of all nodes (coordinator/standby coordinator/segment). The example is as follows:

```bash
source /usr/local/cloudberry/greenplum_path.sh
source /usr/local/cloudberry/cloudberry-env.sh
```

2. Run the `source` command to make the newly added content effective:
Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-2.x/deployment/create-gpadmin-user.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ The script uses a heredoc (EOF) block to execute multiple commands under the `gp
sudo -u gpadmin bash <<'EOF'
# Add Cloudberry environment setup to .bashrc
echo -e '\n# Add Cloudberry entries
if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then
source /usr/local/cloudberry-db/greenplum_path.sh
if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then
source /usr/local/cloudberry-db/cloudberry-env.sh
fi

# US English with UTF-8 character encoding
Expand Down
12 changes: 6 additions & 6 deletions versioned_docs/version-2.x/deployment/quick-build.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ sudo -u gpadmin sudo whoami # if the output is root, the configuration is correc
sudo -u gpadmin bash <<'EOF'
## Add Cloudberry environment setup to .bashrc
echo -e '\n# Add Cloudberry entries
if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then
source /usr/local/cloudberry-db/greenplum_path.sh
if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then
source /usr/local/cloudberry-db/cloudberry-env.sh
fi
## US English with UTF-8 character encoding
export LANG=en_US.UTF-8
Expand Down Expand Up @@ -183,7 +183,7 @@ make install -C ~/cloudberry/contrib
ldd /usr/local/cloudberry-db/bin/postgres

# Set up a Cloudberry demo cluster
source /usr/local/cloudberry-db/greenplum_path.sh
source /usr/local/cloudberry-db/cloudberry-env.sh
make create-demo-cluster -C ~/cloudberry
source ~/cloudberry/gpAux/gpdemo/gpdemo-env.sh
psql -P pager=off template1 -c 'SELECT * from gp_segment_configuration'
Expand All @@ -206,8 +206,8 @@ sudo -u gpadmin sudo whoami # if the output is root, the configuration is correc
sudo -u gpadmin bash <<'EOF'
## Add Cloudberry environment setup to .bashrc
echo -e '\n# Add Cloudberry entries
if [ -f /usr/local/cloudberry-db/greenplum_path.sh ]; then
source /usr/local/cloudberry-db/greenplum_path.sh
if [ -f /usr/local/cloudberry-db/cloudberry-env.sh ]; then
source /usr/local/cloudberry-db/cloudberry-env.sh
fi
## US English with UTF-8 character encoding
export LANG=en_US.UTF-8
Expand Down Expand Up @@ -332,7 +332,7 @@ make install -C ~/cloudberry/contrib
ldd /usr/local/cloudberry-db/bin/postgres

# Set up a Cloudberry demo cluster
source /usr/local/cloudberry-db/greenplum_path.sh
source /usr/local/cloudberry-db/cloudberry-env.sh
make create-demo-cluster -C ~/cloudberry
source ~/cloudberry/gpAux/gpdemo/gpdemo-env.sh
psql -P pager=off template1 -c 'SELECT * from gp_segment_configuration'
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.x/deployment/set-demo-cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ ssh $(hostname) date
Load Cloudberry environment variables that set up paths for binaries, libraries, and other essential components:

```bash
source /usr/local/cloudberry-db/greenplum_path.sh
source /usr/local/cloudberry-db/cloudberry-env.sh
```

## Create development cluster
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,6 @@ To search for related log entries in the segment log files, you can run `gplogfi

```shell
gpssh -f seg_hosts_file -e 'source
/usr/local/cloudberry-db/greenplum_path.sh ; gplogfilter -f
/usr/local/cloudberry-db/cloudberry-env.sh ; gplogfilter -f
con6 /gpdata/*/log/gpdb*.csv' > seglog.out
```
2 changes: 1 addition & 1 deletion versioned_docs/version-2.x/security/client-auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ The following steps set the parameter values with the Apache Cloudberry utility

### Change the number of allowed connections

1. Log into the Apache Cloudberry coordinator host as the Apache Cloudberry administrator and source the file `$GPHOME/greenplum_path.sh`.
1. Log into the Apache Cloudberry coordinator host as the Apache Cloudberry administrator and source the file `$GPHOME/cloudberry-env.sh`.
2. Set the value of the `max_connections` parameter. This `gpconfig` command sets the value on the segments to 1000 and the value on the coordinator to 200.

```shell
Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.x/security/log-auditing.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ You can also use `gplogfilter` to search through all segment log files at once b

```shell
$ gpssh -f seg_host_file
=> source /usr/local/cloudberry-db/greenplum_path.sh
=> source /usr/local/cloudberry-db/cloudberry-env.sh
=> gplogfilter -n 3 /data*/*/gp*/pg_log/gpdb*.csv
```

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ gpssh -f <seg_host_file>
```

```shell
=> source /usr/local/cloudberry/greenplum_path.sh
=> source /usr/local/cloudberry/cloudberry-env.sh
=> gplogfilter -n 3 <seg_host_file>
``` -->

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.x/sys-utilities/gpdemo.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ It is not recommended to use `gpdemo` for production environments, except when d

## How to use

You can run `gpdemo` once the RPM package is installed on the target server and `greenplum_path.sh` is correctly loaded.
You can run `gpdemo` once the RPM package is installed on the target server and `cloudberry-env.sh` is correctly loaded.

### Deploy with default settings

Expand Down
4 changes: 2 additions & 2 deletions versioned_docs/version-2.x/sys-utilities/gplogfilter.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ You can also use `gplogfilter` to search through all segment log files at once b

```shell
gpssh -f seg_host_file
=> source /usr/local/cloudberry/greenplum_path.sh
=> source /usr/local/cloudberry/cloudberry-env.sh
=> gplogfilter -n 3 /gpdata/*/log/gpdb*.csv
```

Expand Down Expand Up @@ -153,7 +153,7 @@ Using [gpssh](/docs/sys-utilities/gpssh.md), run `gplogfilter` on the segment ho

```shell
gpssh -f seg_hosts_file -e 'source
/usr/local/cloudberry/greenplum_path.sh ; gplogfilter -f
/usr/local/cloudberry/cloudberry-env.sh ; gplogfilter -f
con6 /gpdata/*/log/gpdb*.csv' > seglog.out
```

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.x/sys-utilities/gpssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ Specifies a single host name that will participate in this SSH session. You can

**`-s`**

Optional. If specified, before running any commands on the target host, `gpssh` sources the file `greenplum_path.sh` in the directory specified by the `$GPHOME` environment variable.
Optional. If specified, before running any commands on the target host, `gpssh` sources the file `cloudberry-env.sh` in the directory specified by the `$GPHOME` environment variable.

This option is valid for both interactive mode and single command mode.

Expand Down
2 changes: 1 addition & 1 deletion versioned_docs/version-2.x/sys-utilities/pg-filedump.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Before compiling filedump, you need to have a Apache Cloudberry cluster installe

```bash
su - gpadmin
source /usr/local/cloudberry/greenplum_path.sh
source /usr/local/cloudberry/cloudberry-env.sh
```

2. Clone the GitHub repository `cloudberry-contrib/filedump` to your local environment:
Expand Down