sky_cheng

导航

 

2022年8月3日

摘要: 一、新建目录(目录名后面一定要带/) [root@hlcc_slave logs]# curl -v -X MKCOL http://114.255.71.xxx:18800/dir-test/ -u hlccdav Enter host password for user 'hlccdav': * 阅读全文
posted @ 2022-08-03 13:59 sky_cheng 阅读(1855) 评论(0) 推荐(0) 编辑
 
摘要: 一、用keepalived进行脚本主从切换,当原主重新加入集群报错 [root@hlcc_slave data]# /usr/pgsql-13/bin/pg_rewind -D '/home/postgres/data' --source-server='host=172.28.17.142 por 阅读全文
posted @ 2022-08-03 11:01 sky_cheng 阅读(524) 评论(2) 推荐(0) 编辑