Hi.
I have mysql-proxy running on my system and I want to agregate it to the
cluster configuration.
When it is started by the system I got this as result of ps auwwwx:
root 29644 0.0 0.0 22844 844 ? S 22:37 0:00
/usr/sbin/mysql-proxy --pid-file /var/run/mysql-proxy.pid --daemon
--proxy-lua-script
/usr/share/doc/packages/mysql-proxy/examples/tutorial-basic.lua
--proxy-backend-addresses=10.10.10.5:3306 --proxy-address=172.31.0.192:3306
So I created the following configuration at the CRM:
primitive mysql-proxy ocf:heartbeat:mysql-proxy \
params binary="/usr/sbin/mysql-proxy"
pidfile="/var/run/mysql-proxy.pid" proxy_backend_addresses="10.10.10.5:3306"
proxy_address="172.31.0.191:3306" parameters="--proxy-lua-scripts
/usr/share/doc/packages/mysql-proxy/examples/tutorial-basic.lua" \
meta target-role="Started"
Although I have tried to setup extra parameters it is not running as
desired, this is what I got:
root 31112 0.0 0.0 22844 844 ? S 22:43 0:00
/usr/sbin/mysql-proxy --daemon --proxy-address=172.31.0.191:3306
--proxy-backend-addresses=10.10.10.5:3306 --admin-address=127.0.0.1:4041
--pid-file=/var/run/mysql-proxy.pid
Please, can somebody enlighten me on how to configure the extra parameters
for mysql-proxy on the CRM?
Regards,
Carlos.
_______________________________________________
Openais mailing list
[email protected]
https://lists.linuxfoundation.org/mailman/listinfo/openais