[Pacemaker] [Openais] Help on mysql-proxy resource

Tim Serong tserong at suse.com
Fri Mar 30 03:43:02 EDT 2012

Hi Carlos,

You'll have most luck with crm configuration questions on the Pacemaker
list (CC'd):

  pacemaker at oss.clusterlabs.org

I don't actually know anything about the mysql-proxy RA, but you might
have a typo.

On 03/30/2012 12:52 PM, Carlos xavier wrote:
> 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

Note this is --proxy-lua-script (singular)

> /usr/share/doc/packages/mysql-proxy/examples/tutorial-basic.lua
> --proxy-backend-addresses= --proxy-address=
> 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=""
> proxy_address="" parameters="--proxy-lua-scripts
> /usr/share/doc/packages/mysql-proxy/examples/tutorial-basic.lua" \

This is --proxy-lua-scripts (plural).  I'm guessing maybe that's the


Tim Serong
Senior Clustering Engineer
tserong at suse.com

More information about the Pacemaker mailing list