Quantcast
Channel: MySQL Forums - Router & Proxy
Viewing all articles
Browse latest Browse all 344

MySQL-proxy Keepalive not working? (2 replies)

$
0
0
Hi all,

I'm new to the usage of mysql-proxy.

I have a set up of 1 proxy server, 2 cluster api and 2 data nodes. The proxy is working as planned - acting as the single access channel to the databases.

I understand that mysql-proxy have the property "keepalive" where once set as true, in situation where the proxy process dead, an "angle" process will restart the proxy process. (ref: http://fmpwizard.blogspot.com/2009/05/mysql-proxy-what-if-it-crashes.html)

I'm interested in testing out the setting (keepalive=true), but it seem that killing the task did not trigger the restart. How can i test the setting on a window machine?

Below is proxy-config.cnf on my XP machine:

[mysql-proxy]
keepalive = true
proxy-address = 192.168.1.121:4040

proxy-backend-addresses = 192.168.1.123:3306,192.168.1.124:3306

help = true
help-all = true
log-level = debug
log-file = log/proxy.log
proxy-lua-script = bin/scripts/capture-errors.lua
proxy-lua-script = bin/scripts/reporter.lua

Regards
yZ

Viewing all articles
Browse latest Browse all 344

Trending Articles