You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by mi...@apache.org on 2023/09/18 02:25:52 UTC
[shardingsphere-on-cloud] 01/01: docs: add more info for openGauss deployment
This is an automated email from the ASF dual-hosted git repository.
miaoliyao pushed a commit to branch mlycore-patch-2
in repository https://gitbox.apache.org/repos/asf/shardingsphere-on-cloud.git
commit 683c5f42aa0d1fb31bf6320d78004a83907dad26
Author: liyao <ma...@126.com>
AuthorDate: Mon Sep 18 10:25:45 2023 +0800
docs: add more info for openGauss deployment
---
pitr/README.md | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/pitr/README.md b/pitr/README.md
index 3b141c6..8e2990c 100644
--- a/pitr/README.md
+++ b/pitr/README.md
@@ -19,6 +19,9 @@ This is a cli tool for point-in-time recovery of Apache ShardingSphere and OpenG
- External access to OpenGauss Server via port 18080
- OpenGauss has user `omm` and database `omm` which can be accessed
- OpenGauss enables `cbm tracking`
+- Set below environment variables on OpenGauss Servers
+ - export PGDATABASE=13100
+ - export PGPORT=tpccdb
- SSL key pairs for Pitr cli-agent secure communication
#### Compilation (optional)
@@ -141,13 +144,14 @@ dataSources:
minPoolSize: 1
```
-### Step 2: Get OpenGauss Configurations
+### Step 2: Set OpenGauss Configurations
-Enable `cbm tracking` in postgres.conf
+a. Enable `cbm tracking` in postgres.conf
```shell
enable_cbm_tracking = on
```
+b. Execute `gs_probackup init -B ${backup-path}` to set the expected backup path.
### Step 3: Get Pitr tools