repmgr promote

primary:vlnx107001 slave:vlnx107002 slave:vlnx107003 一、 1、查看当前集群状态 repmgr -f /etc/repmgr/9.6/repmgr.conf  cluster show; 2、模拟停止primary [ [email protected] ~]$ pg_ctl -D  $PGDATA -m fast stop 3、提升备用节点 [
相关文章
相关标签/搜索