[Linux-ha-dev] [PATCH] change the monitor log level of mysql RA

2011-11-11 Thread Junko IKEDA
Hi, I'm now trying to run MySQL replication setting with Pacemaker. When I set op monitor OCF_CHECK_LEVEL=10, mysql RA writes down the following log messages every monitor interval. * Master Nov 11 14:19:51 dl380g5c mysql[18766]: INFO: COUNT(*) 3 Nov 11 14:19:51 dl380g5c mysql[18766]: INFO:

[Linux-ha-dev] [PATCH] prevent Slave promotion in mysql RA

2011-11-11 Thread Junko IKEDA
Hi, I am running MySQL replication setting with 2 nodes Master/Slave configuration. If Slave status(secs_behind) is lager than Master's parameter(max_slave_lag), Slave data is outdated, right? check_slave() in mysql RA would run crm_master -v 0 in this situation to mark Slave as outdated, but if

Re: [Linux-ha-dev] [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Florian Haas
Just FYI, I noticed I erroneously put the asterisk changes in the master branch on my github repo; I've now moved them to a separate asterisk branch. The direct links to commits, which I posted earlier, should still work as the SHA IDs are unchanged. They just point to commits in a different

[Linux-ha-dev] I change java_home of JBoss-RA to the required parameter

2011-11-11 Thread nozawat
Hi It is not usually possible that an environment variable passes. Therefore I revised java_home in a required parameter. Regards, Tomo tomcat.patch Description: Binary data ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org

[Linux-ha-dev] [PATCH] add the new parameter for replication network in mysql RA

2011-11-11 Thread Junko IKEDA
Hi, The current mysql RA, it set hostname (= uname -n) as its replication network, but I have the following restriction. # uname -n node01 # cat /etc/hosts 192.168.100.101 node01 # maintenance LAN for node01 192.168.100.101 node02 # maintenance LAN for node02 192.168.200.101 # replication LAN

[Linux-ha-dev] Review request: fixes to IPaddr2

2011-11-11 Thread Florian Haas
Dejan/Lars, I noticed I've had a bunch of minor changes to IPaddr2 sitting in a branch since July, and never got around to asking for a review or merging them. I've just rebased them to the current state of master. If one of you could take a look, I'd much appreciate that. Thanks!

Re: [Linux-ha-dev] Patches for VirtualDomain RA

2011-11-11 Thread Florian Haas
On 2011-07-29 10:22, Michael Schwartzkopff wrote: Hi, I hope I found the correct list. Playing with the VirtualDomain RA I found two problems. Please find the description and patches below. Sorry for not tending to this for a while, and thanks to Dejan for the reminder. 1) During stop

Re: [Linux-ha-dev] Patches for VirtualDomain RA

2011-11-11 Thread Michael Schwartzkopff
2) The next problem is that a graceful shutdown sometimes does not work when the machine just booted. This patch makes the RA send a shutdown command every 10 seconds while shutting down the machine. This catches the boot problem. @@ -234,6 +240,9 @@

Re: [Linux-ha-dev] Patches for VirtualDomain RA

2011-11-11 Thread Florian Haas
On 2011-11-11 11:42, Michael Schwartzkopff wrote: 2) The next problem is that a graceful shutdown sometimes does not work when the machine just booted. This patch makes the RA send a shutdown command every 10 seconds while shutting down the machine. This catches the boot problem. @@ -234,6

Re: [Linux-HA] Error running corosync

2011-11-11 Thread Nick Khamis
Hello Andrew, I do appologize for this, and really appreciate how far I have got into this project thanks to everyone's help. Just as a quick summary: the patch that you suggested did in fact fix the following (ais.c:346): ocfs2_controld[14698]: 2011/11/02_11:32:19 ERROR: crm_abort:

Re: [Linux-HA] ldirectord behavior on Blade Server

2011-11-11 Thread mike
On Thu, Nov 10, 2011 at 03:14:44PM -0400, mike wrote: On 11-11-09 09:33 PM, Simon Horman wrote: On Wed, Nov 09, 2011 at 12:18:22PM -0400, mike wrote: Thanks Nick: Here's the config that is the issue right now: #SERVER1.vip.intranet.mydomain.com virtual=172.28.191.194:8080

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Florian Haas
Hi Russell, thanks for the feedback. Comments below. On 2011-11-11 16:16, Russell Bryant wrote: On Wed, Nov 9, 2011 at 6:02 AM, Martin Gerhard Loschwitz martin.loschw...@hastexo.com wrote: Hello everybody, I wrote an asterisk OCF resource agent which I am hereby putting up for discussion.

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Nick Khamis
Hello Everyone, There are additional things that would be interesting to consider, but they get into technology specific health checks. For example, if SIP is being used, I would want to send it a simple SIP request (like OPTIONS) to make sure it is responding. This would also the RA to be

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Russell Bryant
On Fri, Nov 11, 2011 at 10:36 AM, Florian Haas flor...@hastexo.com wrote: Hi Russell, thanks for the feedback. Comments below. On 2011-11-11 16:16, Russell Bryant wrote: On Wed, Nov 9, 2011 at 6:02 AM, Martin Gerhard Loschwitz martin.loschw...@hastexo.com wrote: Hello everybody, I wrote

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Russell Bryant
On Fri, Nov 11, 2011 at 12:27 PM, Nick Khamis sym...@gmail.com wrote: There are additional things that would be interesting to consider, but they get into technology specific health checks.  For example, if SIP is being used, I would want to send it a simple SIP request (like OPTIONS) to make

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Russell Bryant
On Fri, Nov 11, 2011 at 10:16 AM, Russell Bryant russ...@russellbryant.net wrote: https://github.com/fghaas/resource-agents/blob/asterisk/heartbeat/asterisk It would also probably be a good idea to add -n when asterisk is run in the asterisk_rx function. That'll turn colors off just to make

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Russell Bryant
On Fri, Nov 11, 2011 at 2:55 PM, Russell Bryant russ...@russellbryant.net wrote: On Fri, Nov 11, 2011 at 10:36 AM, Florian Haas flor...@hastexo.com wrote: asterisk -rx will help verify that the process isn't totally hosed for some reason.  The specific command issued to Asterisk, core show

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Florian Haas
Hi Russell, thanks again; more comments below. On 2011-11-11 20:55, Russell Bryant wrote: asterisk -rx will help verify that the process isn't totally hosed for some reason. The specific command issued to Asterisk, core show uptime, is unlikely to help detect any additional type of error,

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Russell Bryant
On Fri, Nov 11, 2011 at 3:24 PM, Florian Haas flor...@hastexo.com wrote: Hi Russell, thanks again; more comments below. On 2011-11-11 20:55, Russell Bryant wrote: asterisk -rx will help verify that the process isn't totally hosed for some reason.  The specific command issued to Asterisk,

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Florian Haas
On 2011-11-11 21:41, Russell Bryant wrote: You're right that SIPp isn't packaged really, but it would have to be an optional feature of the resource agent regarless of what utilities it uses. A little 'nc' based hack might work. You wouldn't be able to do any validation of the message, but

Re: [Linux-HA] [RfC] Review request for ocf:heartbeat:asterisk (Asterisk OCF RA)

2011-11-11 Thread Russell Bryant
On Fri, Nov 11, 2011 at 5:20 PM, Florian Haas flor...@hastexo.com wrote: On 2011-11-11 21:41, Russell Bryant wrote: You're right that SIPp isn't packaged really, but it would have to be an optional feature of the resource agent regarless of what utilities it uses.  A little 'nc' based hack