Current slave library status:
[2022-09-23 16:16:35.377][22720][][gs_ctl]: gs_ctl query ,datadir is /opt/opengauss/data
HA state:
local_role : Standby
static_connections : 1
db_state : Normal
detail_information : FATAL: Forbid remote connection with initial user.
FATAL: Forbid remote connection with initial user.
sync_mode : Async
Senders info:
No information
Receiver info:
No information
Stop the slave library :
[omm@localhost data]$ gs_ctl stop -D /opt/opengauss/data
[2022-09-23 16:16:55.580][22765][][gs_ctl]: gs_ctl stopped ,datadir is /opt/opengauss/data
waiting for server to shut down.... done
server stopped
The master database cannot write data:
db_test=# insert into tb_test values(5,'name5');