1、源码获取
获取源码并进入源码目录
github
git clone --branch haproxy https://github.com/CyrusZhou-CN/openGauss_master_slave.git
cd openGauss_master_slave
或 gitee
git clone --branch haproxy https://gitee.com/CyrusZHou/openGauss_master_slave.git
cd openGauss_master_slave
2、运行
3、haproxy 使用说明
http://localhost:9980/pgadmin4 登录pgAdmin4
默认管理员 / 密码:admin@domain.com / admin
添加服务
Host:haproxy
port:5000 读写 5001 只读
username:gauss
password:Gauss666