febbb5b40b
Replacement for MySQL balancing solution provided by haproxy. Needed-By: https://review.opendev.org/c/openstack/kolla-ansible/+/770215 Change-Id: I85ebe3b20294cd9dc847a3582053d3e21f6a2216
10 lines
228 B
Bash
10 lines
228 B
Bash
#!/bin/bash
|
|
|
|
PROXYSQL_LOG_FILE="/var/log/kolla/proxysql/proxysql.log"
|
|
|
|
proxysql \
|
|
--exit-on-error \
|
|
--idle-threads \
|
|
--no-version-check \
|
|
-f -D /var/lib/proxysql -c /etc/proxysql.cnf >> ${PROXYSQL_LOG_FILE} 2>&1
|