Raoul Bhatia [IPAX] wrote:
> again, the mysql-proxy script is not behaving as intended.
> please forgive me and wait for the next revision.

ok, hopefully i resolved all issues. find my current working ra
attached.

i tested it with the ocf-tester using the following command lines:
> * /usr/sbin/ocf-tester -n mp /usr/lib/ocf/resource.d/heartbeat/mysql-proxy
> * /usr/sbin/ocf-tester -n ms -o binary="/usr/sbin/mysql-proxy" -o 
> defaults_file="" -o parameters="--proxy-skip-profiling" \
>        -o admin_address="127.0.0.1:4041" -o 
> proxy_backend_addresses="192.168.100.200:42006" \
>        -o proxy_address="/var/run/mysqld/mysqld.sock" 
> /usr/lib/ocf/resource.d/heartbeat/mysql-proxy

moreover, i tested the script in my testing environment:
> * adding two mysql-instances (mysql-proxy-tcp and mysql-proxy-socket) and 
> killing mysql-proxy-tcp
>   beware, that as of mysql-proxy 0.7.0 (and possibly later), the socket is 
> not automatically removed

please review, test and commit.

thanks,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          [email protected]
Technischer Leiter

IPAX - Aloy Bhatia Hava OEG         web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            [email protected]
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to