[Pacemaker] ERROR: lsb:mysql: no such resource agent

Raoul Bhatia [IPAX] r.bhatia at ipax.at
Sat Jun 5 09:44:41 UTC 2010


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.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