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

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Mon Apr 9 13:08:07 UTC 2012


On 2012-03-30 09:43, Tim Serong wrote:
> 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=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" \
>
> This is --proxy-lua-scripts (plural).  I'm guessing maybe that's the
> problem.

most probably, this (the plural s) is the configuration error.
if you're experiencing further issues, please give me a shout
(off-list).

cheers,
raoul
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bhatia at ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          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
____________________________________________________________________




More information about the Pacemaker mailing list