[Linux-ha-dev] first shot at a mysql-proxy ocf ra
Raoul Bhatia [IPAX]
r.bhatia at ipax.at
Tue May 26 06:29:19 MDT 2009
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. r.bhatia at ipax.at
Technischer Leiter
IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office at ipax.at
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mysql-proxy
Url: http://lists.linux-ha.org/pipermail/linux-ha-dev/attachments/20090526/c3281f55/attachment.txt
More information about the Linux-HA-Dev
mailing list