Hello again,

I have configured the mysql resource with a ocf:heartbeat:mysql RA, and it seems it is working ok, even with a pid file after powering down the server!

I will have to make more tests, but right now it looks very nice!

Thank you very much Darren and Dejan for you the tip and the quick answer!!!

Regards,

---
Oscar Remírez de Ganuza
Servicios Informáticos
Universidad de Navarra
Ed. de Derecho, Campus Universitario
31080 Pamplona (Navarra), Spain
tfno: +34 948 425600 Ext. 3130
http://www.unav.es/SI


[email protected] escribió:
Hello Oscar.

We use the OCF RA for MySQL and have not had any problems. Our config is:

primitive MySQL ocf:heartbeat:mysql \
        params binary="/usr/bin/mysqld_safe" config="/etc/my.cnf" datadir="/data/mysql" user="mysql" 
pid="/var/lib/mysql/mysql.pid" socket="/var/lib/mysql/mysql.sock" test_passwd="password" test_table="ldirectord.connectioncheck" 
test_user="servicecheck" \
        op monitor interval="20s" timeout="10s" \
        meta migration-threshold="10" target-role="Started"

LSB RA's are always a last resort IMO.

Regards
Darren

-----Original Message-----
From: Oscar Remírez de Ganuza Satrústegui [mailto:[email protected]] Sent: 09 February 2010 10:29
To: [email protected]
Subject: [Pacemaker] problem: mysql service duplicated due to existing pidfile

Hello everybody,



Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Pacemaker mailing list
[email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to