Re: [Linux-ha-dev] [PATCH 1 of 4] Medium: RA: mysql: fixed the 'while read k v' problem

2010-03-15 Thread Florian Haas
Marian For the time being I've not added this patch to the mysql-ms branch in my personal repo. Please respond to Lars' comments. Cheers, Florian On 03/11/2010 01:45 AM, Marian Marinov wrote: # HG changeset patch # User Marian Marinov m...@yuhu.biz # Date 1268266846 -7200 # Branch mysql-ms

Re: [Linux-ha-dev] [PATCH 3 of 4] Low: RA: mysql: fixed invalid var slave_user in is_slave

2010-03-15 Thread Florian Haas
Marian, Applied to the mysql-ms branch at http://hg.linbit.com/florian/linux-ha/agents. Cheers, Florian On 03/11/2010 01:45 AM, Marian Marinov wrote: # HG changeset patch # User Marian Marinov m...@yuhu.biz # Date 1268267209 -7200 # Branch mysql-ms # Node ID

Re: [Linux-ha-dev] [PATCH 2 of 4] Low: RA: mysql: Set readonly

2010-03-15 Thread Florian Haas
Marian, Applied to the mysql-ms branch at http://hg.linbit.com/florian/linux-ha/agents. Cheers, Florian On 03/11/2010 01:45 AM, Marian Marinov wrote: # HG changeset patch # User Marian Marinov m...@yuhu.biz # Date 1268267087 -7200 # Branch mysql-ms # Node ID

Re: [Linux-ha-dev] [PATCH 4 of 4] Low: RA: mysql: updated preference calculation, better log checks

2010-03-15 Thread Florian Haas
Marian, that patch still doesn't apply cleanly for me. Please pull from my repo, make sure you update your local checkout, and send a fresh patch. Also (though this is of minor importance), those are actually two logical changes, so they're best submitted as two separate patches. Thanks! Cheers,

Re: [Linux-ha-dev] [PATCH 0 of 4] Fixed a lot of bugs and updated the preference calculation

2010-03-15 Thread Florian Haas
Marian, sorry about the delay here; I've been unable to take care of this due to other obligations. I am responding to each of the four patches individually. My repo has been updated. Please pull the mysql-ms branch again. Cheers, Florian On 03/11/2010 01:45 AM, Marian Marinov wrote: I tried

Re: [Linux-ha-dev] [PATCH 2 of 4] Low: RA: mysql: Set readonly

2010-03-15 Thread Florian Haas
On second thought... On 03/11/2010 01:45 AM, Marian Marinov wrote: diff -r 31ea5ae9c8e7 -r cacb3e119fd9 heartbeat/mysql --- a/heartbeat/mysql Thu Mar 11 02:20:46 2010 +0200 +++ b/heartbeat/mysql Thu Mar 11 02:24:47 2010 +0200 @@ -512,6 +512,8 @@ fi sleep 2 done +

Re: [Linux-ha-dev] [PATCH 2 of 4] Low: RA: mysql: Set readonly

2010-03-15 Thread Marian Marinov
On Monday 15 March 2010 12:50:41 Florian Haas wrote: On second thought... On 03/11/2010 01:45 AM, Marian Marinov wrote: diff -r 31ea5ae9c8e7 -r cacb3e119fd9 heartbeat/mysql --- a/heartbeat/mysql Thu Mar 11 02:20:46 2010 +0200 +++ b/heartbeat/mysql Thu Mar 11 02:24:47 2010

Re: [Linux-ha-dev] [PATCH 1 of 4] Medium: RA: mysql: fixed the 'while read k v' problem

2010-03-15 Thread Marian Marinov
I'm sorry guys, it seams that I forgot to commit the set patch. I'll do so within the next few hours. Marian On Monday 15 March 2010 12:38:00 Florian Haas wrote: Marian For the time being I've not added this patch to the mysql-ms branch in my personal repo. Please respond to Lars'

[Linux-ha-dev] Robert Koeppl ist außer Haus. R obert Koeppl is out of office

2010-03-15 Thread Robert . Koeppl
Ich werde ab 15.03.2010 nicht im Büro sein. Ich kehre zurück am 26.03.2010. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org

Re: [Linux-HA] incorrect HA_NOARCHBIN in /etc/ha.d/shellfuncs

2010-03-15 Thread Dejan Muhamedagic
Hi, On Fri, Mar 12, 2010 at 12:25:04PM -0600, Alex Dean wrote: I've build glue, resource agents, heartbeat, and pacemaker following the instructions athttp://clusterlabs.org/wiki/Install#From_Source glue : ./configure --prefix=/usr --sysconfdir=/etc --with-daemon- user=hacluster

Re: [Linux-HA] A Shadow Instance Already Exists

2010-03-15 Thread Andrew Beekhof
On Sun, Mar 14, 2010 at 1:15 PM, Robinson, Eric eric.robin...@psmnv.com wrote: probably you wanted to create a resource. You can do this with the crm configure command. The crm new command creates new shadow configuration, which is an environment to play with besides the running

Re: [Linux-HA] Better Getting Started Document?

2010-03-15 Thread Andrew Beekhof
On Sat, Mar 13, 2010 at 6:46 PM, Robinson, Eric eric.robin...@psmnv.com wrote: Is there a better document for getting a noob started with Pacemaker+Corosync? I've been going through the Cluster from Scratch Check out the new version which is for openais. document, and starting on page xv,

[Linux-HA] Robert Koeppl ist außer Haus. Rober t Koeppl is out of office

2010-03-15 Thread Robert . Koeppl
Ich werde ab 15.03.2010 nicht im Büro sein. Ich kehre zurück am 26.03.2010. Ich werde Ihre Nachricht nach meiner Rückkehr beantworten. ___ Linux-HA mailing list Linux-HA@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha See

Re: [Linux-HA] Making Multiple Resources Dependent on the Same Foundational Resources

2010-03-15 Thread Robinson, Eric
Well, I now have multiple MySQL instances failing over, but they do it sequentially. Every time I try to make them failover in parallel, I break the config so badly that crm starts throwing errors and I end up having to rebuild the whole thing from scratch. Also, sometimes I break it so badly

[Linux-HA] Changing CIB Group Properties from the Command Line

2010-03-15 Thread Robinson, Eric
I currently have a group that looks like this: group Group1 FileSystem ClusterIP MySQL_001 MySQL_002 I can add a new primitive to the CIB from the command line, but once I do that is there a way to add the new primitive to Group1 from the command line? I've been digging through the help screens

Re: [Linux-HA] Changing CIB Group Properties from the Command Line

2010-03-15 Thread Andrew Beekhof
On Mon, Mar 15, 2010 at 5:09 PM, Robinson, Eric eric.robin...@psmnv.com wrote: I currently have a group that looks like this: group Group1 FileSystem ClusterIP MySQL_001 MySQL_002 This would probably work: crm configure edit Group1 I can add a new primitive to the CIB from the command

Re: [Linux-HA] Changing CIB Group Properties from the Command Line

2010-03-15 Thread Robinson, Eric
This would probably work: crm configure edit Group1 I had already tried that, but I'm looking for something scriptable. I was hoping for somehting like: crm configure edit Group1 replace old group members new group members --or-- crm configure edit Group1 add new group

Re: [Linux-HA] Changing CIB Group Properties from the Command Line

2010-03-15 Thread Robinson, Eric
The only way I can find to add new group members via a script is to edit cib.xml. I find the following section... primitive class=lsb id=MySQL_001 type=mysql_001/ primitive class=lsb id=MySQL_002 type=mysql_002/ primitive class=lsb id=MySQL_003 type=mysql_003/ Using a

Re: [Linux-HA] Changing CIB Group Properties from the Command Line

2010-03-15 Thread Tim Serong
On 3/16/2010 at 10:45 AM, Robinson, Eric eric.robin...@psmnv.com wrote: The only way I can find to add new group members via a script is to edit cib.xml. I find the following section... primitive class=lsb id=MySQL_001 type=mysql_001/ primitive class=lsb