On 06/05/2010 10:53 AM, ch huang wrote:
> i figure it out,guess what? the document here
> http://www.clusterlabs.org/wiki/DRBD_MySQL_HowTo    say
> 
> primitive mysqld lsb:mysql
> 
> but i use crm check the resource on lsb,this is lsb:mysqld not lsb:mysql 
> 
> 
> that's why i get this error!! i have been misleaded!!

hi,

lsb scripts actually take *any* script from /etc/init.d/

it entirely depends on the distribution if they ship /etc/init.d/mysql
*or* /etc/init.d/mysqld *or* anything else (e.g. upstart scripts).

please refer to [1] for more information.

however, i strongly encourage you to use the mysql ocf resource agent.

cheers,
raoul
[1]
http://www.clusterlabs.org/doc/en-US/Pacemaker/1.0/html/Pacemaker_Explained/s-resource-lsb.html
-- 
____________________________________________________________________
DI (FH) Raoul Bhatia M.Sc.          email.          r.bha...@ipax.at
Technischer Leiter

IPAX - Aloy Bhatia Hava OG          web.          http://www.ipax.at
Barawitzkagasse 10/2/2/11           email.            off...@ipax.at
1190 Wien                           tel.               +43 1 3670030
FN 277995t HG Wien                  fax.            +43 1 3670030 15
____________________________________________________________________

_______________________________________________
Pacemaker mailing list: Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker

Reply via email to