[Linux-HA] patch for mysql ocf script

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Tue Oct 16 12:39:55 MDT 2007


Lars Marowsky-Bree wrote:
> On 2007-10-15T18:09:04, "Raoul Bhatia [IPAX]" <r.bhatia at ipax.at> wrote:
> 
>> der dejan,
>>
>> thank you for applying the patches. and thank you for mentioning my name ;)
>> i have another - hopefully for all - handy patch for mysql.
>>
>> it adds "additional_parameters" so that one can specify additional 
>> mysqld startup command line parameters.
> 
> Hi Raoul,
> 
> thanks. Also merged.
> 
> You might consider posting these patches to the dev list though ;-)

what about discussing the mysql ocf script?

i currently wonder about OCF_RESKEY_config and OCF_RESKEY_mysql_config.

> line 42  | : ${OCF_RESKEY_config="/etc/my.cnf"}
> ...
> line 186 |     if [ ! -f $OCF_RESKEY_config ]; then
> line 187 |         ocf_log err "Config $OCF_RESKEY_mysql_config doesn't exist";
> ...
> line 288 |     ${OCF_RESKEY_binary}  --defaults-file=$OCF_RESKEY_config --pid-file=$OCF_RESKEY_pid --socket=$OCF_RESKEY_socket --datadir=$OCF_RESKEY_datadir --user=$OCF_RESKEY_user $OCF_RESKEY_additional_parameters >/dev/null 2>&1 &

do i have to understand why we use OCF_RESKEY_config in one line, and
OCF_RESKEY_mysql_config on the next?

cheers,
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
____________________________________________________________________



More information about the Linux-HA mailing list