Re: [Pacemaker] pacemaker won't start mysql in the second node

2011-02-04 Thread Brian Cavanagh
Sorry, I am not sure why the script isn't executing as root, I just noted that it wasn't so I couldn't boot mysql like I usually do with the files where they normally are with standard permissions. On 2/4/11 4:40 AM, "Andrew Beekhof" wrote: >On Thu, Feb 3, 201

Re: [Pacemaker] Pacemaker not failing over correctly (DRDB/Heartbeat/Pacemaker/Mysql) on Centos 5.5

2011-02-04 Thread Brian Cavanagh
paste error, I decided to check to see if the script was indeed correct. It was. Thanks for the help, it is greatly appreciated. On 2/4/11 5:23 AM, "Lars Ellenberg" wrote: >On Thu, Feb 03, 2011 at 05:44:30PM -0500, Brian Cavanagh wrote: >> Yeah I tried that one, hasn&

Re: [Pacemaker] Pacemaker not failing over correctly (DRDB/Heartbeat/Pacemaker/Mysql) on Centos 5.5

2011-02-03 Thread Brian Cavanagh
"Lars Ellenberg" wrote: >On Fri, Jan 28, 2011 at 02:22:22PM -0500, Brian Cavanagh wrote: >> Hi, >> >> I am having this issue where it appears that everything is working >> correctly, but when I simulate failure the failover fails to work >>correctly. &

Re: [Pacemaker] pacemaker won't start mysql in the second node

2011-02-03 Thread Brian Cavanagh
Right and Pacemaker should boot my daemon in way that it can put its pid file in /var/run. Worlds not perfect, we just live in it. On 2/3/11 8:28 AM, "Lars Ellenberg" wrote: >On Wed, Feb 02, 2011 at 01:58:33PM -0500, Brian Cavanagh wrote: >> About the logs, check your

Re: [Pacemaker] pacemaker won't start mysql in the second node

2011-02-02 Thread Brian Cavanagh
Aéroport, Longueuil (St-Hubert), QC, Canada, J3Y 8Y9 >Tél/Tel : (450) 926-5099 | Téléc/Fax: (450) 926-5083 >Courriel/E-mail : [liang...@space.gc.ca] >Site web/Web site : [www.space.gc.ca ] > > > > >-Original Message- >From: Brian Cavanagh [mailto:br...@designedtosc

Re: [Pacemaker] pacemaker won't start mysql in the second node

2011-02-02 Thread Brian Cavanagh
l'Aéroport, Longueuil (St-Hubert), QC, Canada, J3Y 8Y9 >Tél/Tel : (450) 926-5099 | Téléc/Fax: (450) 926-5083 >Courriel/E-mail : [liang...@space.gc.ca] >Site web/Web site : [www.space.gc.ca ] > > > > >-Original Message- >From: Brian Cavanagh [mailto:br...@desig

Re: [Pacemaker] pacemaker won't start mysql in the second node

2011-02-02 Thread Brian Cavanagh
ace Agency >6767, Route de l'Aéroport, Longueuil (St-Hubert), QC, Canada, J3Y 8Y9 >Tél/Tel : (450) 926-5099 | Téléc/Fax: (450) 926-5083 >Courriel/E-mail : [liang...@space.gc.ca] >Site web/Web site : [www.space.gc.ca ] > > > > >-Original Message- >From: Br

Re: [Pacemaker] pacemaker won't start mysql in the second node

2011-02-02 Thread Brian Cavanagh
sudo bash chmod 666 /var/log/mysql_safe.log chmod 666 /var/log/mysql.log crm configure edit primitive mysql ocf:heartbeat:mysql \ params binary="/usr/bin/mysqld_safe" config="/etc/mysql/my.cnf" \ user="mysql" group="mysql" log="/var/log/mysql.log" \ pid="/var/run/mysqld.pid" datadir="/var

[Pacemaker] Pacemaker not failing over correctly (DRDB/Heartbeat/Pacemaker/Mysql) on Centos 5.5

2011-01-28 Thread Brian Cavanagh
would be greatly appreciated Brian Cavanagh PS Disregard if this double posted Working fine Š. Last updated: Fri Jan 28 12:17:24 2011 Stack: Heartbeat Current DC: mdb4 (050fc65c-29ad-4333-93c4-34d98405b952) - partition with quorum Version: 1.0.10