资讯详情

openguass主备库开启wdr

在网上搜索的命令是:

gs_guc reload -N all -I all -c "enable_wdr_snapshot=on"

执行后报错:

gs_guc: unrecognized option '--D' Try "gs_guc --help" for more information. omm@opengauss_master:~$ gs_guc reload -N all -I all -c "enable_wdr_snapshot=on" The gs_guc run with the following arguments: [gs_guc -N all -I all -c enable_wdr_snapshot=on reload ]. realpath(/usr/local/opengauss/bin/cluster_static_config) failed : No such file or directory! ERROR: Failed to get cluster information from static configuration file.

将命令改为:

gs_guc reload -D /var/lib/opengauss/data -c "enable_wdr_snapshot=on"

成功执行:

The gs_guc run with the following arguments: [gs_guc -D /var/lib/opengauss/data -c enable_wdr_snapshot=on reload ]. expected instance path: [/var/lib

/opengauss/data/postgresql.conf] gs_guc reload: enable_wdr_snapshot=on: [/var/lib/opengauss/data/postgresql.conf] server signaled

Total instances: 1. Failed instances: 0. Success to perform gs_guc!

标签: wdr822微机电容器保护装置

锐单商城拥有海量元器件数据手册IC替代型号,打造 电子元器件IC百科大全!

 锐单商城 - 一站式电子元器件采购平台  

 深圳锐单电子有限公司