Marco Leone escribió:
Hi,

I'm still trying to use the default mysql RA (for mysql 5.0.22) with a two node active/passive HA 2.1.3 cluster DRBD 8.2.4 under ubuntu 7.04.

I found this strange considering I'm using the default mysql RA.

I only modified the script (for testing) changing 4 default values.

This is the output in /var/log/daemon when the mysql start:

Mar 11 13:53:12 RUGSRV02 lrmd: [8101]: info: rsc:mysql_2: start
Mar 11 13:53:12 RUGSRV02 lrmd: [8101]: info: RA output: (mysql_2:start:stderr) [: 75: ==: unexpected operator
Mar 11 13:53:12 RUGSRV02 mysql[8244]: [8265]: DEBUG: MySQL is not running
Mar 11 13:53:12 RUGSRV02 lrmd: [8101]: info: RA output: (mysql_2:start:stderr) [: 415: ==: unexpected operator Mar 11 13:53:12 RUGSRV02 crmd: [8104]: info: process_lrm_event: LRM operation IPaddr_192_168_100_32_monitor_5000 (call=6, rc=0) complete
Mar 11 13:53:12 RUGSRV02 mysql[8244]: [8270]: DEBUG: MySQL is not running
Mar 11 13:53:12 RUGSRV02 tengine: [8107]: info: match_graph_event: Action IPaddr_192_168_100_32_monitor_5000 (6) confirmed on rugsrv02 (rc=0)
Mar 11 13:53:12 RUGSRV02 mysqld_safe[8319]: started
Mar 11 13:53:12 RUGSRV02 mysqld[8322]: 080311 13:53:12 InnoDB: Started; log sequence number 0 43655 Mar 11 13:53:12 RUGSRV02 mysqld[8322]: 080311 13:53:12 [Note] /usr/sbin/mysqld: ready for connections. Mar 11 13:53:12 RUGSRV02 mysqld[8322]: Version: '5.0.38-Ubuntu_0ubuntu1.2-log' socket: '/var/lib/mysql/mysqld.sock' port: 3306 Ubuntu 7.04 distribution
Mar 11 13:53:16 RUGSRV02 mysql[8244]: [8335]: INFO: MySQL started

Then I receive this error every minute:

Mar 11 13:55:16 RUGSRV02 lrmd: [8101]: info: RA output: (mysql_2:monitor:stderr) [: 75: ==: unexpected operator

and this is the error I receive every second when I stop heartbeat (/etc/init.d/heartbeat stop):

Mar 11 13:58:11 RUGSRV02 lrmd: [8101]: info: RA output: (mysql_2:stop:stderr) logd is not running Mar 11 13:58:11 RUGSRV02 lrmd: [8101]: info: RA output: (mysql_2:stop:stderr) [: 415: Mar 11 13:58:11 RUGSRV02 lrmd: [8101]: info: RA output: (mysql_2:stop:stderr) ==: unexpected operator Mar 11 13:58:11 RUGSRV02 lrmd: [8101]: info: RA output: (mysql_2:stop:stderr)
The problem is the script, if you don't change anything on the script you can't execute well. You could paste the script to the list or you can search for the commented patch or you could use my mysql RA.

The RA you have it is a bad script.

Crm_mon output:

============
Last updated: Tue Mar 11 13:58:57 2008
Current DC: rugsrv02 (16107836-e0c5-484b-ad6f-2c1fae99a775)
1 Nodes configured.
1 Resources configured.
============

Node: rugsrv02 (16107836-e0c5-484b-ad6f-2c1fae99a775): online

Resource Group: group_1
IPaddr_192_168_100_32 (heartbeat::ocf:IPaddr): Started rugsrv02 mysql_2 (heartbeat::ocf:mysql): Started rugsrv02 (unmanaged) FAILED

Failed actions:
    mysql_2_stop_0 (node=rugsrv02, call=9, rc=-2): Timed Out

Anyone can help?

TIA.





_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to