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