mysqlrouter
daixijun.mysqlrouter
环境要求
- CentOS 7+
- ansible 2.9+
- MySQL 8.0+ 且已创建 InnoDB Cluster
变量
mysqlrouter_version
: 版本号,默认 8.0.20mysqlrouter_download_url
: 二进制包下载地址mysqlrouter_bootstrap_server_url
: MGR Primary服务器连接地址,格式为user:password@host:port
mysqlrouter_connect_timeout
: 连接超时,默认 10mysqlrouter_read_timeout
: 读取超时, 默认 10mysqlrouter_bind_address
: 监听地址,默认 127.0.0.1
依赖
- daixijun.mysql
- daixijun.mysqlshell
示例
- hosts: servers
roles:
- { role: daixijun.mysql, mysql_version: 8.0.20, mysql_group_replication_single_primary_mode: true }
- { role: daixijun.mysqlshell, mysqlshell_server: "172.17.0.2", mysqlshell_admin_user: "ic", mysqlshell_admin_password: "password" }
- { role: daixijun.mysqlrouter, mysqlrouter_bootstrap_server_url: "root:[email protected]:3306" }
License
BSD
维护者
- Xijun Dai daixijun1990@gmail.com
Install
ansible-galaxy install daixijun/ansible-role-mysql-router
License
Unknown
Downloads
57
Owner