Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Dev

small mysql ocf patch

 

 

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded


r.bhatia at ipax

Sep 12, 2008, 5:15 AM

Post #1 of 2 (684 views)
Permalink
small mysql ocf patch

a small patch to the mysql ocf. should be self-explaining.

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

IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
Barawitzkagasse 10/2/2/11 email. office [at] ipax
1190 Wien tel. +43 1 3670030
FN 277995t HG Wien fax. +43 1 3670030 15
____________________________________________________________________
Attachments: mysql_ocf.patch (0.60 KB)


dejanmm at fastmail

Sep 13, 2008, 9:24 AM

Post #2 of 2 (615 views)
Permalink
Re: small mysql ocf patch [In reply to]

On Fri, Sep 12, 2008 at 02:15:29PM +0200, Raoul Bhatia [IPAX] wrote:
> a small patch to the mysql ocf. should be self-explaining.

Applied

Cheers,

Dejan

> cheers,
> raoul
> --
> ____________________________________________________________________
> DI (FH) Raoul Bhatia M.Sc. email. r.bhatia [at] ipax
> Technischer Leiter
>
> IPAX - Aloy Bhatia Hava OEG web. http://www.ipax.at
> Barawitzkagasse 10/2/2/11 email. office [at] ipax
> 1190 Wien tel. +43 1 3670030
> FN 277995t HG Wien fax. +43 1 3670030 15
> ____________________________________________________________________

> --- /usr/lib/ocf/resource.d/heartbeat/mysql.orig 2008-09-12 13:57:50.000000000 +0200
> +++ /usr/lib/ocf/resource.d/heartbeat/mysql 2008-09-12 14:12:31.000000000 +0200
> @@ -324,7 +324,7 @@ mysql_start() {
> chmod 0640 $OCF_RESKEY_log
> [ -x /sbin/restorecon ] && /sbin/restorecon $OCF_RESKEY_log
>
> - if [ "$OCF_RESKEY_enable_creation" = 1 -a ! -d $OCF_RESKEY_datadir/mysql] ; then
> + if [ "$OCF_RESKEY_enable_creation" = 1 -a ! -d $OCF_RESKEY_datadir/mysql ] ; then
> ocf_log info "Initializing MySQL database: "
> $MYSQL_BINDIR/mysql_install_db --datadir=$OCF_RESKEY_datadir
> rc=$?

> _______________________________________________________
> Linux-HA-Dev: Linux-HA-Dev [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
> Home Page: http://linux-ha.org/

_______________________________________________________
Linux-HA-Dev: Linux-HA-Dev [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Linux-HA dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.