
dejanmm at fastmail
May 28, 2009, 12:13 PM
Post #2 of 2
(538 views)
Permalink
|
|
Re: question regarding mysql ra change in 23a509f69867
[In reply to]
|
|
Hi, On Thu, May 28, 2009 at 08:16:16PM +0200, Raoul Bhatia [IPAX] wrote: > hi dejan, > > in the mysql ra, you added LSB_STATUS_STOPPED=3 and are returning > this when asking for a status [1][2]. > > may i ask why you return LSB_STATUS_STOPPED and *not* OCF_NOT_RUNNING? The status operation is from the LSB standard, hence it is mapped internally by lrmd to OCF_NOT_RUNNING. Anyway, since this is an OCF RA, it doesn't really matter. The status operation will never be invoked by the LRM. It's just there for correctness because status has already been implemented. Cheers, Dejan > > cheers, > raoul > > [1] > http://hg.linux-ha.org/dev/annotate/23a509f69867/resources/OCF/mysql#l435 > [2] http://hg.linux-ha.org/dev/diff/23a509f69867/resources/OCF/mysql#l1.77 > [3] > -- > ____________________________________________________________________ > 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 > ____________________________________________________________________ > _______________________________________________________ > 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/
|