From 4abea8f4a28e3e3c19ef847abc4c3fab6a68b10b Mon Sep 17 00:00:00 2001 From: pxq <1456889284@qq.com> Date: Sat, 4 Nov 2023 15:34:15 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=9A=90=E8=97=8FIP=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E7=AD=89=E6=95=8F=E6=84=9F=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2022/Automatic-Test-Framework-YAT.md | 4 +- ...andby-openGauss-Databases-on-Kubernetes.md | 8 +- ...o-Migrate-Data-from-Oracle-to-openGauss.md | 8 +- ...Gauss-Database-Performance-Optimization.md | 2 +- .../2022/openGauss-Log-Consensus-Framework.md | 6 +- ...openGauss1-0-1\344\270\273\345\244\207.md" | 14 +- ...45\350\214\247\346\212\275\344\270\235.md" | 12 +- ...15\347\275\256\344\275\277\347\224\250.md" | 8 +- ...OG\345\256\211\350\243\205\357\274\211.md" | 10 +- ...25\346\234\272\351\203\250\347\275\262.md" | 19 ++- ...73\344\273\216\346\220\255\345\273\272.md" | 12 +- ...02\346\225\260\344\274\230\345\214\226.md" | 2 +- ...77\347\224\250\346\226\271\346\263\225.md" | 6 +- ...7\224\250\351\203\250\347\275\262mogha.md" | 16 +- ...\206prometheus\346\225\260\346\215\256.md" | 2 +- ...05\344\270\216\344\275\277\347\224\250.md" | 20 +-- ...11\350\243\205\350\277\220\350\241\214.md" | 10 +- ...penGauss\345\255\246\344\271\240Docker.md" | 26 ++-- ...\225\260\346\215\256\345\210\260opengauss" | 10 +- ...s)\347\232\204\346\226\271\345\274\217.md" | 10 +- ...\342\200\224\342\200\224 simpleInstall.md" | 8 +- ...ss\346\225\260\346\215\256\345\272\223.md" | 4 +- ...350\277\236\346\216\245MogDB-opengauss.md" | 4 +- ...350\277\236\346\216\245MogDB-openGauss.md" | 6 +- ...OS7.6\345\256\211\350\243\205openGauss.md" | 6 +- ...1\205\215Grafana\345\217\212Prometheus.md" | 2 +- ...auss-MogDB\351\205\215\347\275\256IPv6.md" | 4 +- ...00\347\272\247\345\256\211\350\243\205.md" | 5 +- ...07\346\215\242\344\270\273\345\244\207.md" | 18 +-- ...01\344\270\232\347\211\210\357\274\211.md" | 2 +- ...02\346\225\260\345\210\206\346\236\220.md" | 12 +- ...57\345\242\203\351\205\215\347\275\256.md" | 2 +- ...42\345\244\215\344\271\213gsbasebackup.md" | 12 +- ...66\346\200\201\344\277\256\345\244\215.md" | 24 +-- .../\345\215\270\350\275\275openGauss.md" | 6 +- ...12\347\232\204\350\241\250\347\216\260.md" | 14 +- ...15\347\275\256\344\275\277\347\224\250.md" | 8 +- ...75\344\270\216\346\201\242\345\244\215.md" | 22 +-- ...11\350\243\205\350\277\220\350\241\214.md" | 10 +- ...21\345\205\245\351\227\250\343\200\221.md" | 6 +- ...42\345\256\236\350\267\265\343\200\221.md" | 2 +- ...1\350\243\205-\350\277\236\346\216\245.md" | 2 +- ...OS7.9\345\256\211\350\243\205openGauss.md" | 6 +- app/zh/blogs/buter/k8Sinit_guide.md | 8 +- ...\346\214\207\345\215\227(\344\272\214).md" | 12 +- ...05\344\270\216\344\275\277\347\224\250.md" | 14 +- app/zh/blogs/douxin/JDBC_usage_compile.md | 2 +- ...0\254\350\277\201\345\210\260openGauss.md" | 2 +- ...214\201oracle-fdw\345\222\214mysql-fdw.md" | 5 +- ...72\345\207\206\345\244\207\344\273\275.md" | 20 +-- ...44\350\257\201\346\265\213\350\257\225.md" | 24 +-- ...44\350\257\201\346\265\213\350\257\225.md" | 40 ++--- ...01\344\271\246\346\265\213\350\257\225.md" | 6 +- ...02\350\246\201\350\257\264\346\230\216.md" | 2 +- ...\225\260\346\215\256\351\233\206Mogila.md" | 2 +- ...42\345\244\215\346\265\213\350\257\225.md" | 12 +- ...06\347\246\273\346\265\213\350\257\225.md" | 2 +- ...77\347\224\250\345\260\235\351\262\234.md" | 2 +- ...11\345\205\250\347\255\226\347\225\245.md" | 58 +++---- ...350\277\236\346\216\245MogDB openGauss.md" | 6 +- ...\224\256\345\256\211\350\243\205 MogDB.md" | 46 +++--- ...350\277\236\346\216\245Mogdb openGauss.md" | 12 +- ...0\250\200\350\277\236\346\216\245Mogdb.md" | 4 +- ...\205\351\203\250\347\275\262MogDB2.1.1.md" | 5 +- ... 3.0.0 docker \345\256\211\350\243\205.md" | 4 +- ...50\346\210\267\350\242\253\351\224\201.md" | 2 +- ...44\271\213PITR\346\201\242\345\244\215.md" | 6 +- ...73\345\244\207\345\210\207\346\215\242.md" | 16 +- ...00\345\215\225\347\256\241\347\220\206.md" | 14 +- ...34\357\274\210gs_probackup\357\274\211.md" | 14 +- ...03\347\254\254\344\270\203\345\244\251.md" | 8 +- ...03\347\254\254\344\272\224\345\244\251.md" | 20 +-- ...03\347\254\254\345\205\255\345\244\251.md" | 4 +- ...44\271\213 vip\351\205\215\347\275\256.md" | 40 ++--- ...71\347\201\276\346\220\255\345\273\272.md" | 58 +++---- ...205docker\347\211\210\347\232\204MogDB.md" | 34 ++--- ...6\216\245mogdb\346\212\245\351\224\231.md" | 8 +- ...cker \345\256\211\350\243\205 MogDB3.0.md" | 6 +- ...67\345\256\211\350\243\205\357\274\211.md" | 8 +- ...50\346\210\267\350\256\244\350\257\201.md" | 4 +- ...ss\346\225\260\346\215\256\345\272\223.md" | 2 +- ...4\217\350\277\236\346\216\245openGauss.md" | 2 +- ...05\344\270\216\344\275\277\347\224\250.md" | 2 +- ...214permission-denied-for-schema-public.md" | 2 +- ...0\345\267\245\345\205\267 mog_xlogdump.md" | 4 +- ...40\347\247\215\346\226\271\345\274\217.md" | 130 ++++++++-------- ...71\213exporter\351\203\250\347\275\262.md" | 4 +- ...\206prometheus\346\225\260\346\215\256.md" | 2 +- ...47\345\210\266\347\256\200\344\273\213.md" | 2 +- ...43\345\206\263\346\226\271\346\263\225.md" | 2 +- ...77\207PTK\345\256\211\350\243\205MogDB.md" | 126 ++-------------- app/zh/blogs/hemny/2020-07-11_quickinstall.md | 12 +- ...05\345\222\214\350\277\220\350\241\214.md" | 6 +- ...47\350\203\275\346\265\213\350\257\225.md" | 16 +- ...e-inst Deployment of openGauss Database.md | 24 +-- .../openGauss Single-inst Deployment.md | 12 +- .../openGauss Single-inst HA Deployment.md | 41 +++-- .../blogs/jiajunfeng/openGauss-KeepAlived.md | 60 ++++---- ...openGauss-PITR\346\201\242\345\244\215.md" | 6 +- ...22\350\211\262\345\210\207\346\215\242.md" | 142 +++++++++--------- ...73\345\244\207\351\203\250\347\275\262.md" | 58 +++---- ...40\345\222\214\345\210\240\351\231\244.md" | 106 ++++++------- ...11\350\243\205\351\203\250\347\275\262.md" | 60 ++++---- ...00\347\211\210\345\256\211\350\243\205.md" | 12 +- ...07\344\273\275\346\201\242\345\244\215.md" | 16 +- ...50\346\200\201\350\204\261\346\225\217.md" | 3 +- ...50\243\205\346\214\207\345\215\227v1-2.md" | 16 +- ...73\345\244\207\346\234\272\347\276\244.md" | 2 +- ...11\350\243\205\346\214\207\345\215\227.md" | 2 +- .../01.getting-started-with-python.md | 10 +- ...56\351\242\230\345\244\204\347\220\206.md" | 20 ++- ...rkSQL\345\216\213\346\265\213openGauss.md" | 2 +- .../justbk/2021-03-03_zabbix_for_openGauss.md | 6 +- ...11\350\243\205\350\277\207\347\250\213.md" | 116 +++++++------- ...label success \351\227\256\351\242\230.md" | 10 +- .../lihongda/Debezium-Adapt-openGauss.md | 8 +- ...47\350\201\224\346\236\266\346\236\204.md" | 8 +- ...56\345\272\223\350\277\201\347\247\273.md" | 5 +- ...\346\234\215\345\212\241\345\231\250IP.md" | 14 +- ...71\345\231\250\346\272\220\347\240\201.md" | 35 ++--- ...33\345\210\266\347\250\213\345\272\217.md" | 2 +- ...4\271\213 Rust\351\251\261\345\212\250.md" | 2 +- ...44\271\213Rust\351\251\261\345\212\250.md" | 2 +- ...TO\347\232\204\345\275\261\345\223\215.md" | 37 ++--- app/zh/blogs/liuzhanfeng/build.sh | 12 +- ...42\345\244\215\345\267\245\345\205\267.md" | 14 +- ...ss\346\265\213\350\257\225\345\272\223.md" | 4 +- ...05\344\270\216\344\275\277\347\224\250.md" | 2 +- ...36\346\216\245\344\275\277\347\224\250.md" | 10 +- app/zh/blogs/optimize/opengauss-optimize1.md | 17 +-- ...5\272\223\345\257\274\345\207\272Excel.md" | 4 +- ...50\345\272\223\350\256\277\351\227\256.md" | 2 +- ...17\350\256\256\350\256\277\351\227\256.md" | 2 +- ...345\205\267--PTK(Provisioning Toolkit).md" | 15 +- .../openGauss\351\205\215\347\275\256IPv6.md" | 4 +- ...PG\347\232\204\345\257\271\346\257\224.md" | 8 +- ...15\345\210\266\347\216\257\345\242\203.md" | 16 +- ...32\347\211\210\345\215\225\346\234\272.md" | 3 +- ...34\347\250\213\345\244\207\344\273\275.md" | 4 +- ...23\347\232\204\350\277\236\346\216\245.md" | 2 +- ...05\344\270\216\344\275\277\347\224\250.md" | 20 +-- app/zh/blogs/wangshanshan/files/insert.java | 2 +- .../blogs/wangshanshan/files/update_diff.java | 2 +- .../blogs/wangshanshan/files/update_dup.java | 2 +- ...40\351\231\244\350\212\202\347\202\271.MD" | 6 +- ...4\271\213 Rust\351\251\261\345\212\250.md" | 2 +- ...7\201\347\247\273\350\207\263openGauss.md" | 22 +-- ...74\345\256\271\351\227\256\351\242\230.md" | 2 +- app/zh/blogs/xingchen/cluster_on_one_node.md | 14 +- app/zh/blogs/xiteming/HowtorunFastcheck.md | 3 +- app/zh/blogs/xuemengen/gs_expansion.md | 6 +- ...351\235\236om\345\256\211\350\243\205).md" | 4 +- ...\213mgo-client\345\256\211\350\243\205.md" | 2 +- ...25\346\234\272\351\203\250\347\275\262.md" | 18 +-- ...15\345\212\241\351\205\215\347\275\256.md" | 2 +- ...16\344\271\210\345\244\204\347\220\206.md" | 6 +- ...al\346\200\216\344\271\210\345\212\236.md" | 20 +-- ...45\346\200\216\344\271\210\345\212\236.md" | 11 +- ...75\346\200\216\344\271\210\345\212\236.md" | 19 +-- ...45\346\225\260\346\215\256\345\272\223.md" | 2 +- ...26\350\276\221\346\235\203\351\231\220.md" | 2 +- ...66\346\200\216\344\271\210\345\212\236.md" | 16 +- ...350\277\236\346\216\245MogDB openGauss.md" | 4 +- ...47\350\203\275\345\257\271\346\257\224.md" | 2 +- ...72\345\256\211\350\243\205\357\274\211.md" | 3 +- ...50\347\275\262\346\265\213\350\257\225.md" | 2 +- ...Gauss-DSS-Ceph\351\203\250\347\275\262.md" | 4 +- ...ss\346\225\260\346\215\256\345\272\223.md" | 8 +- ...14\346\234\272\347\256\241\347\220\206.md" | 3 +- ...06\347\276\244\346\226\271\346\241\210.md" | 4 +- ...75\346\201\242\345\244\215gs_probackup.md" | 13 +- ...12\347\232\204\351\203\250\347\275\262.md" | 11 +- ...43\205\346\226\271\346\263\225(docker).md" | 10 +- ...64\346\212\244\347\256\241\347\220\206.md" | 22 +-- app/zh/blogs/zhengxue/opengauss_compile.md | 2 +- ...06\347\276\244\345\210\207\346\215\242.md" | 24 +-- ...\344\271\213dd\346\250\241\346\213\237.md" | 8 +- ...\344\271\213cm\346\250\241\346\213\237.md" | 24 +-- ...57\345\242\203\351\205\215\347\275\256.md" | 2 +- ...71\346\200\247\345\205\245\351\227\250.md" | 4 +- 180 files changed, 1140 insertions(+), 1381 deletions(-) diff --git a/app/en/blogs/2022/Automatic-Test-Framework-YAT.md b/app/en/blogs/2022/Automatic-Test-Framework-YAT.md index 4549db21..1465271a 100644 --- a/app/en/blogs/2022/Automatic-Test-Framework-YAT.md +++ b/app/en/blogs/2022/Automatic-Test-Framework-YAT.md @@ -35,7 +35,7 @@ Figure 1 Overall YAT framework Currently, languages such as SQL, Shell, Python \(unittes\), and Groovy \(Junit/Spock\) are supported. New languages and frameworks can be added through adapters. SQL statements supported by YAT are supersets of standard SQL statements.That is, YAT is extended based on standard SQL statements. Users can run shell commands, control connections, execute loops, bind SQL statements, control multiple sessions, and concurrently execute SQL statements in SQL scripts. For example: ``` - @conn user/passwd@127.0.0.1:9090; -- Reconnect to the database as the new user. + @conn user/passwd@***.***.***.***:9090; -- Reconnect to the database as the new user. drop table if exists tbl_x; -- Execute SQL statements. create table tbl_x (id int, age int, xb int); @@ -71,7 +71,7 @@ Figure 1 Overall YAT framework commit; } - @session(name: s2, user: abc, password: 'gauss@123') + @session(name: s2, user: abc, password: '*****@***') { @set autocommit false; update table tbl_x set par1 = 2 par2 = 2; diff --git a/app/en/blogs/2022/Setting-up-One-Primary-and-Two-Standby-openGauss-Databases-on-Kubernetes.md b/app/en/blogs/2022/Setting-up-One-Primary-and-Two-Standby-openGauss-Databases-on-Kubernetes.md index b1f5a6f5..6d137630 100644 --- a/app/en/blogs/2022/Setting-up-One-Primary-and-Two-Standby-openGauss-Databases-on-Kubernetes.md +++ b/app/en/blogs/2022/Setting-up-One-Primary-and-Two-Standby-openGauss-Databases-on-Kubernetes.md @@ -32,14 +32,14 @@ Initialize the environment as the **master** or **node** role. -
localhost=192.168.1.1 localport=5433 localservice=5434 remotehost=192.168.1.3 remoteport=5433 remoteservice=5434
+localhost=***.***.***.*** localport=5433 localservice=5434 remotehost=192.168.1.3 remoteport=5433 remoteservice=5434
localhost=192.168.1.1 localport=5433 localservice=5434 remotehost=192.168.1.2 remoteport=5433 remoteservice=5434
+localhost=***.***.***.*** localport=5433 localservice=5434 remotehost=192.168.1.2 remoteport=5433 remoteservice=5434
/home/pv1 192.168.137.0/24(rw,async,all_squash)
+/home/pv1 ***.***.***.***/24(rw,async,all_squash)
[root@n-k8s-m ~]#exportfs -rv
-exporting 192.168.137.0/24:/home/pv1
+exporting ***.***.***.***/24:/home/pv1
-/home/pv1 192.168.137.0/24(rw,async,all_squash)
+/home/pv1 ***.***.***.***/24(rw,async,all_squash)
>[root@n-k8s-m ~]#exportfs -rv
-exporting 192.168.137.0/24:/home/pv1
+exporting ***.***.***.***/24:/home/pv1
```
### 4.创建 openGauss 所使用的存储 pv
@@ -82,8 +82,7 @@ spec:
persistentVolumeReclaimPolicy: Recycle
nfs:
path: "/home/pv1"
- server: 192.168.137.61
- readOnly: false
+ server: ***.***.***.*** readOnly: false
#创建pv
[root@n-k8s-m opengauss]# kubectl create -f opengauss_pv.yml
diff --git "a/app/zh/blogs/zhengwen2/openGauss\345\277\253\351\200\237\345\256\211\350\243\205\346\226\271\346\263\225(docker).md" "b/app/zh/blogs/zhengwen2/openGauss\345\277\253\351\200\237\345\256\211\350\243\205\346\226\271\346\263\225(docker).md"
index 64c595fe..4c0b81ec 100644
--- "a/app/zh/blogs/zhengwen2/openGauss\345\277\253\351\200\237\345\256\211\350\243\205\346\226\271\346\263\225(docker).md"
+++ "b/app/zh/blogs/zhengwen2/openGauss\345\277\253\351\200\237\345\256\211\350\243\205\346\226\271\346\263\225(docker).md"
@@ -35,7 +35,7 @@ times: '12:30'
使用 SSH 远程登录到服务器之后,即可开始之后的步骤。
执行命令 SSH 账户名@域名或 IP 地址连接到远程服务器,连接上之后输入密码登录。
-如 `SSH root@db.example.cn`或 `SSH root@127.0.0.1`。
+如 `SSH root@db.example.cn`或 `SSH root@***.***.***.***`。
如果是本地虚拟机,请开机输入密码登录即可。
### 关闭防火墙
@@ -84,8 +84,8 @@ times: '12:30'
### 拉取 openGauss 镜像并启动
```
-执行 docker run --name opengauss --privileged=true -d -e GS_PASSWORD=Enmo@123 -p 8887:5432 enmotech/opengauss:latest 拉取镜像并创建容器。
-其中,opengauss 为容器名,8887:5432 为容器内部的 5432 端口映射到外部 8887 端口,默认密码为 Enmo@123。
+执行 docker run --name opengauss --privileged=true -d -e GS_PASSWORD=****@*** -p 8887:5432 enmotech/opengauss:latest 拉取镜像并创建容器。
+其中,opengauss 为容器名,8887:5432 为容器内部的 5432 端口映射到外部 8887 端口,默认密码为 ****@***。
之后执行 docker start opengauss 启动 openGauss 镜像。
通过 docker update --restart=always opengauss 来设置 openGauss 镜像随着 docker 的启动而启动
```
@@ -103,7 +103,7 @@ times: '12:30'
因为外部连接时,不允许使用初始账户 omm,所以新建一个账户。
```
-执行语句 CREATE USER testuser WITH PASSWORD ‘Enmo@123’;创建一个名为 testuser,密码为 Enmo@123 的账户。
+执行语句 CREATE USER testuser WITH PASSWORD ‘****@***’;创建一个名为 testuser,密码为 ****@*** 的账户。
执行语句 GRANT ALL PRIVILEGES ON DATABASE omm testuser;给予 testuser 默认数据库 omm 权限。
执行语句 GRANT ALL PRIVILEGES ON all tables in schema public TO testuser;给予全部表权限给 testuser。
```
@@ -123,7 +123,7 @@ times: '12:30'
-设置主机地址为你的服务器/虚拟机 IP 地址,端口设置为 8887。数据库为 omm,用户名和密码为刚才设置的用户名和密码。(testuser,Enmo@123)
+设置主机地址为你的服务器/虚拟机 IP 地址,端口设置为 8887。数据库为 omm,用户名和密码为刚才设置的用户名和密码。(testuser,****@***)
diff --git "a/app/zh/blogs/zhengwen2/openGauss\346\225\260\346\215\256\345\272\223\347\273\264\346\212\244\347\256\241\347\220\206.md" "b/app/zh/blogs/zhengwen2/openGauss\346\225\260\346\215\256\345\272\223\347\273\264\346\212\244\347\256\241\347\220\206.md"
index cbd81ea5..712082ff 100644
--- "a/app/zh/blogs/zhengwen2/openGauss\346\225\260\346\215\256\345\272\223\347\273\264\346\212\244\347\256\241\347\220\206.md"
+++ "b/app/zh/blogs/zhengwen2/openGauss\346\225\260\346\215\256\345\272\223\347\273\264\346\212\244\347\256\241\347\220\206.md"
@@ -41,7 +41,7 @@ Processes: 113
Memory used: 7.0%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 2
[root@ecs-e1b3 ~]#
```
@@ -411,7 +411,7 @@ Processes: 109
Memory used: 6.7%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 1
[root@ecs-e1b3 ~]# su - omm
Last login: Fri Jul 10 19:05:39 CST 2020 on pts/0
@@ -422,7 +422,7 @@ Processes: 111
Memory used: 7.0%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 1
[omm@ecs-e1b3 ~]$
```
@@ -548,7 +548,7 @@ Processes: 109
Memory used: 6.7%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 1
[root@ecs-e1b3 ~]# su - omm
Last login: Fri Jul 10 19:05:39 CST 2020 on pts/0
@@ -559,7 +559,7 @@ Processes: 111
Memory used: 7.0%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 1
[omm@ecs-e1b3 ~]$
```
@@ -768,7 +768,7 @@ Processes: 109
Memory used: 6.7%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 1
[root@ecs-e1b3 ~]# su - omm
Last login: Fri Jul 10 19:05:39 CST 2020 on pts/0
@@ -779,7 +779,7 @@ Processes: 111
Memory used: 7.0%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 1
[omm@ecs-e1b3 ~]$
```
@@ -1180,7 +1180,7 @@ Processes: 154
Memory used: 2.3%
Swap used: 0.0%
Usage On: 14%
-IP address: 192.168.0.12
+IP address: ***.***.***.***
Users online: 3
[root@ecs-e1b3 ~]# su - omm
Last login: Mon Jul 27 09:23:44 CST 2020 on pts/0
@@ -1191,7 +1191,7 @@ Processes: 156
Memory used: 2.4%
Swap used: 0.0%
Usage On: 14%
-IP address: 192.168.0.12
+IP address: ***.***.***.***
Users online: 3
```
@@ -1343,7 +1343,7 @@ Processes: 109
Memory used: 6.7%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 1
[root@ecs-e1b3 ~]# su - omm
Last login: Fri Jul 27 16:22:11 CST 2020 on pts/0
@@ -1354,7 +1354,7 @@ Processes: 111
Memory used: 7.0%
Swap used: 0.0%
Usage On: 15%
-IP address: 192.168.0.96
+IP address: ***.***.***.***
Users online: 1
[omm@ecs-e1b3 ~]$
```
diff --git a/app/zh/blogs/zhengxue/opengauss_compile.md b/app/zh/blogs/zhengxue/opengauss_compile.md
index dea8049a..0840bd82 100644
--- a/app/zh/blogs/zhengxue/opengauss_compile.md
+++ b/app/zh/blogs/zhengxue/opengauss_compile.md
@@ -482,7 +482,7 @@ release版本:
```
mkdir $data/dn1 (其中$data指数据目录)
-gs_initdb $data/dn1 --nodename single_node -w "opengauss@123"
+gs_initdb $data/dn1 --nodename single_node -w "open*****@***"
```
(5) 启动数据库
diff --git "a/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\345\210\207\346\215\242.md" "b/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\345\210\207\346\215\242.md"
index efb0bce6..6de73db8 100644
--- "a/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\345\210\207\346\215\242.md"
+++ "b/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\345\210\207\346\215\242.md"
@@ -228,7 +228,7 @@ HA state:
sync_state : Async
sync_priority : 0
sync_most_available : Off
- channel : 127.0.0.1:6600-->127.0.0.1:43350
+ channel : ***.***.***.***:6600-->***.***.***.***:43350
Receiver info:
No information
@@ -271,7 +271,7 @@ No information
receiver_flush_location : 2/A458
receiver_replay_location : 2/A458
sync_percent : 100%
- channel : 127.0.0.1:41952<--127.0.0.1:6600
+ channel : ***.***.***.***:41952<--***.***.***.***:6600
备集群备节点1
gs_ctl query -D /home/omm/ss_hatest1/dn1
@@ -296,8 +296,8 @@ port = 6600
xlog_file_path = '/home/zx/ss_hatest/dorado_shared_disk'
xlog_lock_file_path = '/home/zx/ss_hatest/shared_lock_primary'
application_name = 'dn_master_0'
-cross_cluster_replconninfo1='localhost=127.0.0.1 localport=6600 remotehost=127.0.0.1 remoteport=9600'
-cross_cluster_replconninfo2='localhost=127.0.0.1 localport=6600 remotehost=127.0.0.1 remoteport=9700'
+cross_cluster_replconninfo1='localhost=***.***.***.*** localport=6600 remotehost=***.***.***.*** remoteport=9600'
+cross_cluster_replconninfo2='localhost=***.***.***.*** localport=6600 remotehost=***.***.***.*** remoteport=9700'
cluster_run_mode = 'cluster_primary'
ha_module_debug = off
ss_log_level = 255
@@ -309,8 +309,8 @@ port = 6700
xlog_file_path = '/home/zx/ss_hatest/dorado_shared_disk'
xlog_lock_file_path = '/home/zx/ss_hatest/shared_lock_primary'
application_name = 'dn_master_1'
-cross_cluster_replconninfo1='localhost=127.0.0.1 localport=6700 remotehost=127.0.0.1 remoteport=9600'
-cross_cluster_replconninfo2='localhost=127.0.0.1 localport=6700 remotehost=127.0.0.1 remoteport=9700'
+cross_cluster_replconninfo1='localhost=***.***.***.*** localport=6700 remotehost=***.***.***.*** remoteport=9600'
+cross_cluster_replconninfo2='localhost=***.***.***.*** localport=6700 remotehost=***.***.***.*** remoteport=9700'
cluster_run_mode = 'cluster_primary'
ha_module_debug = off
ss_log_level = 255
@@ -324,8 +324,8 @@ port = 9600
xlog_file_path = '/home/zx/ss_hatest/dorado_shared_disk'
xlog_lock_file_path = '/home/zx/ss_hatest/shared_lock_primary'
application_name = 'dn_standby_0'
-cross_cluster_replconninfo1='localhost=127.0.0.1 localport=9600 remotehost=127.0.0.1 remoteport=6600'
-cross_cluster_replconninfo2='localhost=127.0.0.1 localport=9600 remotehost=127.0.0.1 remoteport=6700'
+cross_cluster_replconninfo1='localhost=***.***.***.*** localport=9600 remotehost=***.***.***.*** remoteport=6600'
+cross_cluster_replconninfo2='localhost=***.***.***.*** localport=9600 remotehost=***.***.***.*** remoteport=6700'
cluster_run_mode = 'cluster_standby'
ha_module_debug = off
ss_log_level = 255
@@ -337,8 +337,8 @@ port = 9700
xlog_file_path = '/home/zx/ss_hatest/dorado_shared_disk'
xlog_lock_file_path = '/home/zx/ss_hatest/shared_lock_primary'
application_name = 'dn_standby_1'
-cross_cluster_replconninfo1='localhost=127.0.0.1 localport=9700 remotehost=127.0.0.1 remoteport=6600'
-cross_cluster_replconninfo2='localhost=127.0.0.1 localport=9700 remotehost=127.0.0.1 remoteport=6700'
+cross_cluster_replconninfo1='localhost=***.***.***.*** localport=9700 remotehost=***.***.***.*** remoteport=6600'
+cross_cluster_replconninfo2='localhost=***.***.***.*** localport=9700 remotehost=***.***.***.*** remoteport=6700'
cluster_run_mode = 'cluster_standby'
ha_module_debug = off
ss_log_level = 255
@@ -460,7 +460,7 @@ No information
sync_state : Async
sync_priority : 0
sync_most_available : Off
- channel : 127.0.0.1:9700-->127.0.0.1:37904
+ channel : ***.***.***.***:9700-->***.***.***.***:37904
Receiver info:
No information
@@ -491,7 +491,7 @@ No information
receiver_flush_location : 2/43EA798
receiver_replay_location : 2/43EA798
sync_percent : 100%
- channel : 127.0.0.1:37904<--127.0.0.1:9700
+ channel : ***.***.***.***:37904<--***.***.***.***:9700
备集群从备节点1
[omm@nodename pg_log]$ gs_ctl query -D /home/zx/ss_hatest1/dn1
diff --git "a/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\351\203\250\347\275\262(\344\270\200)\344\271\213dd\346\250\241\346\213\237.md" "b/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\351\203\250\347\275\262(\344\270\200)\344\271\213dd\346\250\241\346\213\237.md"
index 58856cdf..1f73b7d6 100644
--- "a/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\351\203\250\347\275\262(\344\270\200)\344\271\213dd\346\250\241\346\213\237.md"
+++ "b/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\351\203\250\347\275\262(\344\270\200)\344\271\213dd\346\250\241\346\213\237.md"
@@ -315,7 +315,7 @@ fi
@Precondition!@:节点 0 对应的 dssserver 必须提前拉起,即 dsserver 进程存在
```
-gs_initdb -D /opt/omm/cluster/dn0 --nodename=node1 -U omm -w opengauss@123 --vgname=+data --enable-dss --dms_url="0:10.10.10.10:4411,1:10.10.10.10:4412" -I 0 --socketpath='UDS:/opt/omm/cluster/ss_data/dss_home0/.dss_unix_d_socket' -d -n -g /dev/sdj
+gs_initdb -D /opt/omm/cluster/dn0 --nodename=node1 -U omm -w open*****@*** --vgname=+data --enable-dss --dms_url="0:10.10.10.10:4411,1:10.10.10.10:4412" -I 0 --socketpath='UDS:/opt/omm/cluster/ss_data/dss_home0/.dss_unix_d_socket' -d -n -g /dev/sdj
```
(2)配置主集群主节点 0
@@ -356,7 +356,7 @@ host all all 10.10.10.20/32 sha256
(3)主集群备节点 1 初始化
```
-gs_initdb -D /opt/omm/cluster/dn1 --nodename=node2 -U omm -w opengauss@123 --vgname=+data --enable-dss --dms_url="0:10.10.10.10:4411,1:10.10.10.10:4412" -I 1 --socketpath='UDS:/opt/omm/cluster/ss_data/dss_home1/.dss_unix_d_socket'
+gs_initdb -D /opt/omm/cluster/dn1 --nodename=node2 -U omm -w open*****@*** --vgname=+data --enable-dss --dms_url="0:10.10.10.10:4411,1:10.10.10.10:4412" -I 1 --socketpath='UDS:/opt/omm/cluster/ss_data/dss_home1/.dss_unix_d_socket'
```
主集群备节点 1 配置参数
@@ -383,7 +383,7 @@ gs_ctl start -D /opt/omm/cluster/dn0
(1) 备集群首备节点 0 初始化
```
-gs_initdb -D /opt/omm/cluster/dn0 --nodename=node1 -U omm -w opengauss@123 --vgname=+data --enable-dss --dms_url="0:10.10.10.20:4411,1:10.10.10.20:4412" -I 0 --socketpath='UDS:/opt/omm/cluster/ss_data/dss_home0/.dss_unix_d_socket' -d -n -g /dev/sdi
+gs_initdb -D /opt/omm/cluster/dn0 --nodename=node1 -U omm -w open*****@*** --vgname=+data --enable-dss --dms_url="0:10.10.10.20:4411,1:10.10.10.20:4412" -I 0 --socketpath='UDS:/opt/omm/cluster/ss_data/dss_home0/.dss_unix_d_socket' -d -n -g /dev/sdi
```
(2) 配置备集群首备节点 0
@@ -438,7 +438,7 @@ gs_ctl build -D /opt/omm/cluster/dn0 -b cross_cluster_full -g 0 --vgname=+data -
@shirley_zhengx tell you in secret that is very important!@:备集群第一次初始化的时候,一定要初始化首备节点 0 并对首备做完 build 之后,再初始化备集群其它从备节点,即第(3)要在第(4)之前执行 @very very important!@:
```
-gs_initdb -D /opt/omm/cluster/dn1 --nodename=node2 -U omm -w opengauss@123 --vgname=+data --enable-dss --dma-url="0:10.10.10.20:4411,1:10.10.10.20:4412" -I 1 --socketpath='UDS:/opt/omm/cluster/ss_data/dss_home1/.dss_unix_d_socket'
+gs_initdb -D /opt/omm/cluster/dn1 --nodename=node2 -U omm -w open*****@*** --vgname=+data --enable-dss --dma-url="0:10.10.10.20:4411,1:10.10.10.20:4412" -I 1 --socketpath='UDS:/opt/omm/cluster/ss_data/dss_home1/.dss_unix_d_socket'
```
备集群从备节点 1 配置参数
diff --git "a/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\351\203\250\347\275\262(\344\272\214)\344\271\213cm\346\250\241\346\213\237.md" "b/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\351\203\250\347\275\262(\344\272\214)\344\271\213cm\346\250\241\346\213\237.md"
index f9bd1e71..2453bb4b 100644
--- "a/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\351\203\250\347\275\262(\344\272\214)\344\271\213cm\346\250\241\346\213\237.md"
+++ "b/app/zh/blogs/zhengxue/\350\265\204\346\272\220\346\261\240\345\214\226\346\224\257\346\214\201\345\220\214\345\237\216dorado\345\217\214\351\233\206\347\276\244\351\203\250\347\275\262(\344\272\214)\344\271\213cm\346\250\241\346\213\237.md"
@@ -254,8 +254,8 @@ DSS_PORT_BASE=30000
PGPORT=(6600 6700)
STANDBY_PGPORT=(9600 9700)
-nodedata_cfg="0:127.0.0.1:6611,1:127.0.0.1:6711"
-standby_nodedata_cfg="0:127.0.0.1:9611,1:127.0.0.1:9711"
+nodedata_cfg="0:***.***.***.***:6611,1:***.***.***.***:6711"
+standby_nodedata_cfg="0:***.***.***.***:9611,1:***.***.***.***:9711"
```
ha_test.sh脚本适配了双集群模拟, 执行的时候带上dual_cluster就是双集群,不带就是单集群。脚本会自动将数据库拉起,执行完该脚本后,就相当于部署了2套独立的资源池化
@@ -332,8 +332,8 @@ port = 6600
xlog_file_path = '/home/omm/ss_hatest/dorado_shared_disk'
xlog_lock_file_path = '/home/omm/ss_hatest/shared_lock_primary'
application_name = 'dn_master_0'
-cross_cluster_replconninfo1='localhost=127.0.0.1 localport=6600 remotehost=127.0.0.1 remoteport=9600'
-cross_cluster_replconninfo2='localhost=127.0.0.1 localport=6600 remotehost=127.0.0.1 remoteport=9700'
+cross_cluster_replconninfo1='localhost=***.***.***.*** localport=6600 remotehost=***.***.***.*** remoteport=9600'
+cross_cluster_replconninfo2='localhost=***.***.***.*** localport=6600 remotehost=***.***.***.*** remoteport=9700'
cluster_run_mode = 'cluster_primary'
ha_module_debug = off
ss_log_level = 255
@@ -362,8 +362,8 @@ port = 6700
xlog_file_path = '/home/omm/ss_hatest/dorado_shared_disk'
xlog_lock_file_path = '/home/omm/ss_hatest/shared_lock_primary'
application_name = 'dn_master_1'
-cross_cluster_replconninfo1='localhost=127.0.0.1 localport=6700 remotehost=127.0.0.1 remoteport=9600'
-cross_cluster_replconninfo2='localhost=127.0.0.1 localport=6700 remotehost=127.0.0.1 remoteport=9700'
+cross_cluster_replconninfo1='localhost=***.***.***.*** localport=6700 remotehost=***.***.***.*** remoteport=9600'
+cross_cluster_replconninfo2='localhost=***.***.***.*** localport=6700 remotehost=***.***.***.*** remoteport=9700'
cluster_run_mode = 'cluster_primary'
ha_module_debug = off
ss_log_level = 255
@@ -394,8 +394,8 @@ port = 9600
xlog_file_path = '/home/omm/ss_hatest/dorado_shared_disk'
xlog_lock_file_path = '/home/omm/ss_hatest/shared_lock_standby'
application_name = 'dn_standby_0'
-cross_cluster_replconninfo1='localhost=127.0.0.1 localport=9600 remotehost=127.0.0.1 remoteport=6600'
-cross_cluster_replconninfo2='localhost=127.0.0.1 localport=9600 remotehost=127.0.0.1 remoteport=6700'
+cross_cluster_replconninfo1='localhost=***.***.***.*** localport=9600 remotehost=***.***.***.*** remoteport=6600'
+cross_cluster_replconninfo2='localhost=***.***.***.*** localport=9600 remotehost=***.***.***.*** remoteport=6700'
cluster_run_mode = 'cluster_standby'
ha_module_debug = off
ss_log_level = 255
@@ -427,8 +427,8 @@ port = 9700
xlog_file_path = '/home/zx/ss_hatest/dorado_shared_disk'
xlog_lock_file_path = '/home/zx/ss_hatest/shared_lock_standby'
application_name = 'dn_standby_1'
-cross_cluster_replconninfo1='localhost=127.0.0.1 localport=9700 remotehost=127.0.0.1 remoteport=6600'
-cross_cluster_replconninfo2='localhost=127.0.0.1 localport=9700 remotehost=127.0.0.1 remoteport=6700'
+cross_cluster_replconninfo1='localhost=***.***.***.*** localport=9700 remotehost=***.***.***.*** remoteport=6600'
+cross_cluster_replconninfo2='localhost=***.***.***.*** localport=9700 remotehost=***.***.***.*** remoteport=6700'
cluster_run_mode = 'cluster_standby'
ha_module_debug = off
ss_log_level = 255
@@ -488,7 +488,7 @@ sh standby_full_build_reconnect.sh
sync_state : Async
sync_priority : 0
sync_most_available : Off
- channel : 127.0.0.1:6600-->127.0.0.1:43350
+ channel : ***.***.***.***:6600-->***.***.***.***:43350
Receiver info:
No information
@@ -540,7 +540,7 @@ No information
receiver_flush_location : 2/5C8
receiver_replay_location : 2/5C8
sync_percent : 100%
- channel : 127.0.0.1:41952<--127.0.0.1:6600
+ channel : ***.***.***.***:41952<--***.***.***.***:6600
```
(4) 备集群从备节点
diff --git "a/app/zh/blogs/zhou-yuxiang/opengauss\347\216\257\345\242\203\351\205\215\347\275\256.md" "b/app/zh/blogs/zhou-yuxiang/opengauss\347\216\257\345\242\203\351\205\215\347\275\256.md"
index 4242e7c6..8ab34ea9 100644
--- "a/app/zh/blogs/zhou-yuxiang/opengauss\347\216\257\345\242\203\351\205\215\347\275\256.md"
+++ "b/app/zh/blogs/zhou-yuxiang/opengauss\347\216\257\345\242\203\351\205\215\347\275\256.md"
@@ -123,7 +123,7 @@ https://blog.csdn.net/weixin_43837229/article/details/94733475?utm_medium=distri
3、运行 opengauss 镜像
- `sudo docker run --name opengauss --privileged=true -d -p 5432:5432 -e GS_PASSWORD=Enmo@123 enmotech/opengauss:latest`
+ `sudo docker run --name opengauss --privileged=true -d -p 5432:5432 -e GS_PASSWORD=****@*** enmotech/opengauss:latest`
4、进入容器
diff --git "a/app/zh/blogs/zhoujingbnu/2023-09-01-Mysql\345\215\217\350\256\256\345\205\274\345\256\271\347\211\271\346\200\247\345\205\245\351\227\250.md" "b/app/zh/blogs/zhoujingbnu/2023-09-01-Mysql\345\215\217\350\256\256\345\205\274\345\256\271\347\211\271\346\200\247\345\205\245\351\227\250.md"
index a2585d8a..c9806854 100644
--- "a/app/zh/blogs/zhoujingbnu/2023-09-01-Mysql\345\215\217\350\256\256\345\205\274\345\256\271\347\211\271\346\200\247\345\205\245\351\227\250.md"
+++ "b/app/zh/blogs/zhoujingbnu/2023-09-01-Mysql\345\215\217\350\256\256\345\205\274\345\256\271\347\211\271\346\200\247\345\205\245\351\227\250.md"
@@ -45,7 +45,7 @@ mysql_test=# select set_native_password('adminusr','Cmcc@123!');
3.使用mysql-client连接openGauss的Mysql协议兼容端口。在其中可以访问到磐维数据库mysql_test库(B库),中mysql_test schema下的表。注意mysql中的database对应openGauss中的schema
```
-mysql -h127.0.0.1 -uadminusr -pCmcc@123! -P3307 -Dmysql_test
+mysql -h***.***.***.*** -uadminusr -pCmcc@123! -P3307 -Dmysql_test
```
4.使用jdbc方式连接,连接串类似如下形式:
@@ -82,7 +82,7 @@ String URL = "jdbc:mysql://ip-address:dolphin_server_port/mysql_database?&useSSL
```
[root@d202a05cb1c3 ~]# netstat -antp|grep 3307
-tcp 0 0 0.0.0.0:3307 0.0.0.0:* LISTEN 5784/gaussdb
+tcp 0 0 ***.***.***.***:3307 ***.***.***.***:* LISTEN 5784/gaussdb
tcp6 0 0 :::3307 :::* LISTEN 5784/gaussdb
```
--
Gitee