1、删除备节点data目录
mv data data.bak
2、执行clone预演
repmgr standby clone -h 主库IP -U esrep -d esrep --dry-run
3、执行重做
repmgr standby clone -h 主库IP -U esrep -d esrep
4、启动备库
sys_ctl -D data start
5、注册备库到集群
repmgr standby register --force
6、查看集群状态
repmgr cluster show