[Linux-ha-dev] Medium: Pure-FTPd: Create pid directory if needed

2013-10-18 Thread Raoul Bhatia [IPAX]
https://github.com/ClusterLabs/resource-agents/pull/339 Medium: Pure-FTPd: Create PID directory if needed This patch is required for Ubuntu where /var/run has been replaced with tmpfs. Thus Pure-FTPd's default PID directory /var/run/pure-ftpd/ does not exist after a reboot. Normally, the

[Linux-ha-dev] MySQL master/slave startup problem (problem with the ocf:heartbeat:mysql)

2012-12-15 Thread Raoul Bhatia [IPAX]
Hi! When initializing a new MySQL master-slave replication with pacemaker, I am running into the following problem: ERROR: check_slave invoked on an instance that is not a replication slave. This happens upon initializing the master slave resource: 1. create a two node cluster 2. set node2 to

Re: [Linux-ha-dev] resource-agents 3.9.4 roadmap / release plan

2012-09-15 Thread Raoul Bhatia [IPAX]
On 2012-07-16 18:28, Dejan Muhamedagic wrote: Hi Raoul, On Mon, Jul 16, 2012 at 06:08:20PM +0200, Raoul Bhatia [IPAX] wrote: Hi! Is there any official 3.9.4 roadmap or release plan? No. But we should definitely devise one. Dejan, do you have any update on this? I'll be testing the last

[Linux-ha-dev] resource-agents 3.9.4 roadmap / release plan

2012-07-16 Thread Raoul Bhatia [IPAX]
Hi! Is there any official 3.9.4 roadmap or release plan? Cheers, Raoul -- DI (FH) Raoul Bhatia M.Sc. email. r.bha...@ipax.at Technischer Leiter IPAX - Aloy Bhatia Hava OG web.

Re: [Linux-ha-dev] pull request 82 for postfix ra *call for help*

2012-05-16 Thread Raoul Bhatia [IPAX]
Hello Hideo-san! On 16.05.2012 08:12, renayama19661...@ybb.ne.jp wrote: Hi Raoul, As for me, you understood a meaning. And I understood that plural contents were not set at data_dir. It is that this loop is a loop in consideration of the expansion of the future directory check. Mhm, I

[Linux-ha-dev] Major mysql-proxy resource agent update - request for review

2012-05-15 Thread Raoul Bhatia [IPAX]
Hi! I revisited the mysql-proxy resource agent and introduced a fair number of changes. I kindly request someone to review them and provide me with some feedback! I still have a number of TODOs left but don't know if I'll have them ready for the release candidate. Moreover, I have only run

Re: [Linux-ha-dev] different meta data for different mysql-proxy versions

2012-05-15 Thread Raoul Bhatia [IPAX]
On 2012-05-14 17:21, Dejan Muhamedagic wrote: Right now, the RA says: parameter name=admin_username unique=0 required=0 I'd say let's keep it as it is in the meta-data and use validate to let the user know if the configuration can work or not. Sometimes meta-data won't fit all (unlike some

Re: [Linux-ha-dev] Major mysql-proxy resource agent update - request for review

2012-05-15 Thread Raoul Bhatia [IPAX]
On 2012-05-15 12:57, Dejan Muhamedagic wrote: Hi Raoul, On Tue, May 15, 2012 at 12:21:08PM +0200, Raoul Bhatia [IPAX] wrote: Hi! I revisited the mysql-proxy resource agent and introduced a fair number of changes. I kindly request someone to review them and provide me with some feedback

Re: [Linux-ha-dev] Major mysql-proxy resource agent update - request for review

2012-05-15 Thread Raoul Bhatia [IPAX]
On 2012-05-15 13:45, Dejan Muhamedagic wrote: Looks OK to me. If it works for you (you already have an ocft thing, commendable!), then please create a pull request. Or can I also pull directly from this branch? Thank you. Please let me know how to proceed regarding

Re: [Linux-ha-dev] pull request 82 for postfix ra *call for help*

2012-05-15 Thread Raoul Bhatia [IPAX]
Hello Hideo-san! On 16.05.2012 06:22, renayama19661...@ybb.ne.jp wrote: Hi Raoul, I forgot it. Is not it necessary to convert a comma into the space from data_dir if you leave a loop of data_dir? example) data_dir=`echo $data_dir | tr ',' ' '` I think we still have a major

Re: [Linux-ha-dev] pull request 82 for postfix ra

2012-05-14 Thread Raoul Bhatia [IPAX]
, Raoul Bhatia [IPAX] wrote: Hi Hideo-san! On 2012-05-11 02:09, renayama19661...@ybb.ne.jp wrote: Hi Raoul, Hi Dejan, Thank you for the reflection to a repository. To Raoul : The matter of the next email is still left. Please tell your opinion. * http://www.gossamer-threads.com/lists

[Linux-ha-dev] different meta data for different mysql-proxy versions

2012-05-14 Thread Raoul Bhatia [IPAX]
hi! there have been some changes to mysql-proxy in version 0.8.1 and 0.8.2 that affect its required parameters: 0.8.1: Admin Plugin * removed the default values for --admin-username and --admin-password * enforce --admin-username, --admin-password and --admin-lua-script to be set

Re: [Linux-ha-dev] pull request 82 for postfix ra

2012-05-11 Thread Raoul Bhatia [IPAX]
Hi Hideo-san! On 2012-05-11 02:09, renayama19661...@ybb.ne.jp wrote: Hi Raoul, Hi Dejan, Thank you for the reflection to a repository. To Raoul : The matter of the next email is still left. Please tell your opinion. * http://www.gossamer-threads.com/lists/linuxha/dev/76409 I think

[Linux-ha-dev] pull request 82 for postfix ra

2012-05-10 Thread Raoul Bhatia [IPAX]
Hi! While reviewing my repository and patch collection for the resource agents, i opened a pull request [1] for the postfix patches that have been lurking around in my repository since a couple of months. I think there is some outstanding discussion with Hideo-san but I would like to pick them

Re: [Linux-ha-dev] ocf:heartbeat:postfix postfix_running (was: Re: [Patch]The patch which revises log and an unnecessary loop for postfix resource agent.)

2011-11-21 Thread Raoul Bhatia [IPAX]
Hi Hideo-san! On 2011-11-21 03:07, renayama19661...@ybb.ne.jp wrote: It is judged that postfix works definitely and stops. The version that I confirmed is 2.6.6 on RHEL6.1. There seems to be a mistake with one patch. The postfix status command does not seem to return a detailed result.

[Linux-ha-dev] add an option to ocf_run to surpress *all* output

2011-11-21 Thread Raoul Bhatia [IPAX]
hi all! i'm using the following logic in my postfix ra: 1. stop postfix 2. check if postfix is actually stopped by checking it's status. if so, everything is working as intended! i now wanted to switch to using ocf_run in my postfix ra but there is no parameter to completely suppress the

Re: [Linux-ha-dev] [Patch]Remove unnecessary loop handling of data_directory for postfix.

2011-11-18 Thread Raoul Bhatia [IPAX]
Hi Hideo-san! On 2011-11-16 11:36, renayama19661...@ybb.ne.jp wrote: I think that the same check has been already carried out in a resource agent. (snip) # run Postfix internal check, if not probing if ! ocf_is_probe; then $binary $OPTIONS check/dev/null 21

[Linux-ha-dev] ocf:heartbeat:postfix postfix_running (was: Re: [Patch]The patch which revises log and an unnecessary loop for postfix resource agent.)

2011-11-18 Thread Raoul Bhatia [IPAX]
On 2011-11-18 15:16, Raoul Bhatia [IPAX] wrote: 1. we do not capture the the Postfix mail system is not running output. maybe this is a result from running in an interactive shell? i can answer this myself. postfix, at least on debian, only displays the output to stdout

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

2011-11-18 Thread Raoul Bhatia [IPAX]
hello junko-san! i think might spotted an error in your patch. please correct me if i'm wrong! consider this code using * node01 = master * node02 = slave * replication_hostname_suffix = -mysqlrep set_master() { local new_master_host master_log_file master_log_pos local

Re: [Linux-ha-dev] [Patch]Remove unnecessary loop handling of data_directory for postfix.

2011-11-16 Thread Raoul Bhatia [IPAX]
hi hideo-san! On 2011-11-16 01:16, renayama19661...@ybb.ne.jp wrote: I judged that I could not set plural data_directory parameters from these results and contributed a patch. Is my judgment wrong? to my knowledge, you're correct. multiple data_directories are not possible (and make imho

Re: [Linux-ha-dev] [Patch]The patch which revises log and an unnecessary loop for postfix resource agent.

2011-11-15 Thread Raoul Bhatia [IPAX]
hi Hideo-san! On 2011-11-15 01:14, renayama19661...@ybb.ne.jp wrote: Hi Raoul, why do you want to return here and not simply break and let the postfix_stop() continue it's work? ok, so i would change the patch to: --- a/heartbeat/postfix +++ b/heartbeat/postfix @@ -173,6 +173,8 @@

Re: [Linux-ha-dev] [Patch]The patch which revises log and an unnecessary loop for postfix resource agent.

2011-11-15 Thread Raoul Bhatia [IPAX]
On 2011-11-15 10:10, renayama19661...@ybb.ne.jp wrote: I think that the correction that you suggested is right. I approve of it. thanks. i just pushed it to my resource-agents branch [1][2] i will look at your patch regarding the data_directory soon. thank you for your contribution! raoul [1]

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

2011-11-15 Thread Raoul Bhatia [IPAX]
hello junko-san! On 2011-11-15 03:31, Junko IKEDA wrote: Hi Raoul, Sure, thanks! i committed our combined changes to my repository: https://github.com/raoulbhatia/resource-agents/commits/mysql i'll test them and will then issue a pull request. thank you for your contribution! raoul --

Re: [Linux-ha-dev] [Patch]Remove unnecessary loop handling of data_directory for postfix.

2011-11-15 Thread Raoul Bhatia [IPAX]
Hi Hideo-san! On 2011-11-15 03:09, renayama19661...@ybb.ne.jp wrote: Hi Raoul, Hi All, I removed unnecessary loop handling of data_directory. This patch is applied to pass after the next patch was applied. * http://www.gossamer-threads.com/lists/linuxha/dev/76354 Please please confirm

Re: [Linux-ha-dev] [Patch]The patch which revises log and an unnecessary loop for postfix resource agent.

2011-11-14 Thread Raoul Bhatia [IPAX]
hi! thanks for your contribution! On 2011-11-14 07:04, renayama19661...@ybb.ne.jp wrote: diff -r 52dcb4318e21 heartbeat/postfix --- a/heartbeat/postfix Mon Nov 14 14:46:36 2011 +0900 +++ b/heartbeat/postfix Mon Nov 14 14:47:03 2011 +0900 ... @@ -168,14 +171,17 @@ # grant

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

2011-11-14 Thread Raoul Bhatia [IPAX]
hello junko-san! On 2011-11-14 11:00, Junko IKEDA wrote: diff --git a/heartbeat/mysql b/heartbeat/mysql index eb14ac8..56a7b17 100755 --- a/heartbeat/mysql +++ b/heartbeat/mysql ... @@ -281,6 +283,30 @@ The port on which the Master MySQL instance is listening. content type=string

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

2011-11-14 Thread Raoul Bhatia [IPAX]
hello junko-san! i propose the following documentation update to clarify the parameter's usage. parameter name=replication_hostname_suffix unique=0 required=0 longdesc lang=en A hostname suffix that will be added when setting the MySQL replication master. This enables the use of a seperate

Re: [Linux-ha-dev] [Patch 3]Change avoiding the stop error of the mysql resource agent.

2011-09-21 Thread Raoul Bhatia [IPAX]
hello hideo-san! On 09/21/2011 02:28 AM, renayama19661...@ybb.ne.jp wrote: No. Because it repeats with status processing, it should delete it that RA checks pid file. -if [ ! -f $OCF_RESKEY_pid ]; then -ocf_log info MySQL is not running -return $OCF_SUCCESS +

Re: [Linux-ha-dev] [Patch 3]Change avoiding the stop error of the mysql resource agent.

2011-09-20 Thread Raoul Bhatia [IPAX]
hello hideo-san! On 09/20/2011 02:19 AM, renayama19661...@ybb.ne.jp wrote: ... -if [ ! -f $OCF_RESKEY_pid ]; then -ocf_log info MySQL is not running -return $OCF_SUCCESS +mysql_status info +rc=$? +if [ $rc = $OCF_NOT_RUNNING ]; then + return $OCF_SUCCESS

Re: [Linux-ha-dev] [Patch 2]Change of the output level of the log of the resource agent of mysql.

2011-09-19 Thread Raoul Bhatia [IPAX]
hello hideo-san! i just got to review your patch and got one or two questions (see below) On 08/30/2011 10:20 AM, renayama19661...@ybb.ne.jp wrote: mysql.1651-2.patch diff -r a2d0d723bc62 heartbeat/mysql --- a/heartbeat/mysql Wed Aug 31 01:32:38 2011 +0900 +++ b/heartbeat/mysql Wed Aug 31

Re: [Linux-ha-dev] [Patch 3]Change avoiding the stop error of the mysql resource agent.

2011-09-19 Thread Raoul Bhatia [IPAX]
hello hideo-san! On 08/30/2011 10:20 AM, renayama19661...@ybb.ne.jp wrote: Hi, When a process of mysql falls just after the check of the pid file of monitor, the mysql resource agent causes an error by a stop. This is caused by the fact that a resource agent checks pid of the mysql

Re: [Linux-ha-dev] [Patch 3]Change avoiding the stop error of the mysql resource agent.

2011-09-14 Thread Raoul Bhatia [IPAX]
Hi Hideo-san! On 09/12/2011 03:19 AM, renayama19661...@ybb.ne.jp wrote: Hi Raoul, How about the modified patch of this place? unfortunatly, i'm currently a little swamped. i'll look into that asap. please bear with me a little longer! thanks, raoul

Re: [Linux-ha-dev] Postfix status

2011-09-07 Thread Raoul Bhatia [IPAX]
hi Hideo-san! On 09/07/2011 01:50 AM, renayama19661...@ybb.ne.jp wrote: However, my patch made a mistake. I do not seem to get the result of postfix status. It is necessary to watch log of postfix in the details of the problem after all. Therefore, I withdraw the patch of

Re: [Linux-ha-dev] [Patch]Mistake of the table name variable.

2011-09-06 Thread Raoul Bhatia [IPAX]
On 08/30/2011 08:58 AM, renayama19661...@ybb.ne.jp wrote: Hi, I contribute a patch revising the mistake of the variable of the resource agent of mysql. ack. i applied it to my mysql branch: https://github.com/raoulbhatia/resource-agents/commits/mysql thanks, raoul

Re: [Linux-ha-dev] [Patch 1]Change of the monitor log of the resource agent of mysql.

2011-09-06 Thread Raoul Bhatia [IPAX]
On 08/30/2011 10:19 AM, renayama19661...@ybb.ne.jp wrote: Hi, The log that a resource agent of mysql outputs with a monitor is a noise very much.  Aug 11 13:40:01 ib01 mysql[18164]: INFO: COUNT(*) 4  Aug 11 13:40:01 ib01 mysql[18164]: INFO: MySQL monitor succeeded - repeat monitor

Re: [Linux-ha-dev] Postfix status

2011-09-06 Thread Raoul Bhatia [IPAX]
On 06/16/2011 05:48 AM, renayama19661...@ybb.ne.jp wrote: The postfix ra worked well. thanks for testing my ra. i'll check the ra and will then issue a pull request. However, my patch made a mistake. I do not seem to get the result of postfix status. It is necessary to watch log of postfix

Re: [Linux-ha-dev] OCF RA for named

2011-08-08 Thread Raoul Bhatia [IPAX]
On 08/05/2011 04:19 PM, Serge Dubrouski wrote: No interest? On Tue, Jul 12, 2011 at 3:50 PM, Serge Dubrouski serge...@gmail.com mailto:serge...@gmail.com wrote: Hello - I've created an OCF RA for named (BIND) server. There is an existing one in redhat directory but I don't

Re: [Linux-ha-dev] Postfix status

2011-06-15 Thread Raoul Bhatia [IPAX]
On 06/15/2011 04:19 AM, renayama19661...@ybb.ne.jp wrote: Hi Raoul, to my knowledge, the ra's output is logged by pacemaker. moreover, postfix logs to the mail facility itself. what are the reasons for separately capturing and logging all output? When a problem occurred, the output of

Re: [Linux-ha-dev] Postfix status

2011-06-15 Thread Raoul Bhatia [IPAX]
Hi Hideo-san! On 06/15/2011 10:53 AM, renayama19661...@ybb.ne.jp wrote: Hi Raoul, Thank you for comment. please test the postfix ra from my repository: https://github.com/raoulbhatia/resource-agents/blob/master/heartbeat/postfix there is a minor issue regarding probes and a resulting

Re: [Linux-ha-dev] Patch for pgsql

2011-06-15 Thread Raoul Bhatia [IPAX]
On 06/15/2011 02:29 PM, Serge Dubrouski wrote: Yes it's right. Do you know how I can resync my fork to the upstream? git fetch upstream git rebase upstream/master provided that you've got a remote upstream, e.g. [remote upstream] url =

Re: [Linux-ha-dev] postfix's postfix_validate_all and initial monitor action

2011-06-14 Thread Raoul Bhatia [IPAX]
On 06/10/2011 09:07 AM, Dejan Muhamedagic wrote: mhm ... one problem is that i cannot distinguish between an inital probe and a probe from crm resource reprobe. when i do this, my current postfix ocf ra reports not running, Even though it is started? Well, that sounds like a problem. But I

Re: [Linux-ha-dev] postfix's postfix_validate_all and initial monitor action

2011-06-09 Thread Raoul Bhatia [IPAX]
On 06/09/2011 10:10 AM, Dejan Muhamedagic wrote: After cleanup (rsc removal from LRM) there's a probe and the RA says not running, everything's fine. The only thing is that the message severity should be reduced to warning or info. dejan, thank you for your explanation! i tried to address

Re: [Linux-ha-dev] postfix's postfix_validate_all and initial monitor action

2011-06-09 Thread Raoul Bhatia [IPAX]
On 06/09/2011 05:03 PM, Raoul Bhatia [IPAX] wrote: On 06/09/2011 10:10 AM, Dejan Muhamedagic wrote: After cleanup (rsc removal from LRM) there's a probe and the RA says not running, everything's fine. The only thing is that the message severity should be reduced to warning or info. dejan

Re: [Linux-ha-dev] Postfix status (was Re: state of heartbeat resource agents)

2011-06-08 Thread Raoul Bhatia [IPAX]
On 06/07/2011 04:16 AM, renayama19661...@ybb.ne.jp wrote: Hi All, I revised the first patch. Please confirm contents. hi! thanks. i'm currently checking and applying those patches step-by-step. thanks, raoul -- DI (FH)

Re: [Linux-ha-dev] Postfix status

2011-06-08 Thread Raoul Bhatia [IPAX]
On 07.06.2011 04:40, renayama19661...@ybb.ne.jp wrote: Hi All, I contribute my last patch.(patch3) This is a patch for the sources which applied patch 1. It is the patch which output the details of the error in log. hi! to my knowledge, the ra's output is logged by pacemaker. moreover,

[Linux-ha-dev] postfix's postfix_validate_all and initial monitor action

2011-06-08 Thread Raoul Bhatia [IPAX]
hi! in postfix_validate_all() we check if postfix's config file and queue/data directory exist. the configuration and these directories might reside on a shared storage which should be mounted before starting postfix. e.g. primitive m-mail-fs ocf:heartbeat:Filesystem \ params

Re: [Linux-ha-dev] postfix patches merged

2011-06-08 Thread Raoul Bhatia [IPAX]
On 08.06.2011 19:46, Raoul Bhatia [IPAX] wrote: i slightly modified hideo-san's patches, merged them with my repository and put them online at https://github.com/raoulbhatia/resource-agents/ dejan: thanks for your review. i addressed your comments in the last two commits. see https://github.com

Re: [Linux-ha-dev] postfix's postfix_validate_all and initial monitor action

2011-06-08 Thread Raoul Bhatia [IPAX]
On 08.06.2011 22:14, Dejan Muhamedagic wrote: as far as i can tell, the ocf ra behaves correctly and returns $OCF_NOT_RUNNING: postfix_validate_all ret=$? #echo debug[$1:$ret] LSB_STATUS_STOPPED=3 if [ $ret -ne $OCF_SUCCESS ]; then case $1 in stop) exit $OCF_SUCCESS ;;

Re: [Linux-ha-dev] Postfix status (was Re: state of heartbeat resource agents)

2011-06-06 Thread Raoul Bhatia [IPAX]
On 06/06/2011 05:08 AM, renayama19661...@ybb.ne.jp wrote: The next patch supports a loop of the waiting of the start processing successively. The start processing revised it like other resource agents to wait on for start. hi! personally, i would do the sleep 1 at the beginning as, in my

Re: [Linux-ha-dev] Postfix status (was Re: state of heartbeat resource agents)

2011-06-06 Thread Raoul Bhatia [IPAX]
Hi Hideo-san! On 06/06/2011 04:51 AM, renayama19661...@ybb.ne.jp wrote: Hi All, I send a patch in conjunction with the status processing. It is made the following modifications. * Carry out status processing in a version judgment i think we could safely do the kill -s 0 for *any*

Re: [Linux-ha-dev] Postfix status (was Re: state of heartbeat resource agents)

2011-06-06 Thread Raoul Bhatia [IPAX]
Hideo-san, i updated your postfix.patch2 the way i would improve it. any objections? cheers, raoul -- DI (FH) Raoul Bhatia M.Sc. email. r.bha...@ipax.at Technischer Leiter IPAX - Aloy Bhatia Hava OG

Re: [Linux-ha-dev] Postfix status (was Re: state of heartbeat resource agents)

2011-06-03 Thread Raoul Bhatia [IPAX]
Hi! On 06/03/2011 09:40 AM, renayama19661...@ybb.ne.jp wrote: I believe this has been addressed in the latest patch set that was merged a couple of days ago; please try to reproduce the problem with the postfix RA from upstream git before you start working on your own patch. Thanks. OK.

Re: [Linux-ha-dev] Postfix status (was Re: state of heartbeat resource agents)

2011-06-03 Thread Raoul Bhatia [IPAX]
On 06/03/2011 11:45 AM, Dejan Muhamedagic wrote: Regressions are bad. You have to keep in mind that not everybody runs the latest release of postfix. This really needs to be fixed before the release. it's no regression but has been like that since the initial release. see commit e7af463d or

Re: [Linux-ha-dev] changelog for resource agents 3.9.x

2011-06-01 Thread Raoul Bhatia [IPAX]
On 06/01/2011 03:36 PM, Florian Haas wrote: sure. how do i best update the changelog in this regard? git rebase -i base branch The reword option in the interactive editor allows you to rephrase your commit messages. done. cheers, raoul (waiting for yet another reason to delay the merge

Re: [Linux-ha-dev] changelog for resource agents 3.9.x

2011-05-31 Thread Raoul Bhatia [IPAX]
hi! On 05/31/2011 04:08 PM, Dejan Muhamedagic wrote: - mysql: support for master/slave for more than two nodes i would add: store replication state in separate attributes for each master - mysql: don't wait for replication to finish, when not replicating - mysql: don't wait for replication to

Re: [Linux-ha-dev] [Pacemaker] mysql RA fixes merged

2011-05-30 Thread Raoul Bhatia [IPAX]
On 05/30/2011 04:18 PM, Florian Haas wrote: Hello, I've merged and pushed a number of fixes to master/slave replication in the mysql RA, contributed by Marek Marczykowski. I've deliberately left out Raoul Bhatia's retab patch out though, those janitor patches usually make debugging harder

Re: [Linux-ha-dev] state of heartbeat resource agents

2011-05-26 Thread Raoul Bhatia [IPAX]
On 05/24/2011 05:28 PM, Raoul Bhatia [IPAX] wrote: postfix: fghaas reviewed my code. i tried to catch him on irc on how to progress with his comments. mysql-proxy: i basically want to implement the monitoring from the mysql ra for OCF_CHECK_LEVEL -gt 0. this is still on my todo list

[Linux-ha-dev] wiki user account at

2011-05-25 Thread Raoul Bhatia [IPAX]
hi! please create a useraccount for me. RaoulBhatia, Raoul or the like i'd like to create http://www.linux-ha.org/wiki/Postfix_%28resource_agent%29 thanks, raoul -- DI (FH) Raoul Bhatia M.Sc. email.

Re: [Linux-ha-dev] state of heartbeat resource agents

2011-05-24 Thread Raoul Bhatia [IPAX]
On 05/24/2011 12:10 PM, Dejan Muhamedagic wrote: Hi all, Fabio suggested to make one last release before introducing the new common OCF provider. I'm scrutinizing now the LF bugzilla. Is there anything else that needs to be done for the Heartbeat RA set? IIRC, there were recently updates

Re: [Linux-ha-dev] state of heartbeat resource agents

2011-05-24 Thread Raoul Bhatia [IPAX]
postfix: fghaas reviewed my code. i tried to catch him on irc on how to progress with his comments. mysql-proxy: i basically want to implement the monitoring from the mysql ra for OCF_CHECK_LEVEL -gt 0. this is still on my todo list. should i create another fork on github for these

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-18 Thread Raoul Bhatia [IPAX]
On 04/15/2011 12:46 PM, Marek Marczykowski wrote: On 04/14/11 16:15, Raoul Bhatia [IPAX] wrote: On 04/13/2011 02:46 PM, Florian Haas wrote: things i noticed: 1. the ra i'm running does not catch connection refused errors. c/p from the replication error: Last_IO_Errno: 2013

Re: [Linux-ha-dev] Dovecot OCF Resource Agent

2011-04-15 Thread Raoul Bhatia [IPAX]
On 04/15/2011 11:10 AM, jer...@intuxicated.org wrote: Yes, it does the same thing but contains some additional features, like logging into a mailbox. first of all, i do not know how the others think about a ocf ra implemented in c. i'll suggest waiting for comments from dejan or fghass. you

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-15 Thread Raoul Bhatia [IPAX]
On 04/15/2011 12:57 PM, Marek Marczykowski wrote: On 04/14/11 18:07, Raoul Bhatia [IPAX] wrote: On 04/13/2011 01:18 PM, Florian Haas wrote: On 2011-04-13 12:54, Marek Marczykowski wrote: On 04/13/11 09:17, Florian Haas wrote: Marek, have you considered setting up a personal fork

Re: [Linux-ha-dev] Dovecot OCF Resource Agent

2011-04-15 Thread Raoul Bhatia [IPAX]
On 04/15/2011 01:19 PM, Andrew Beekhof wrote: On Fri, Apr 15, 2011 at 12:53 PM, Raoul Bhatia [IPAX] r.bha...@ipax.at wrote: On 04/15/2011 11:10 AM, jer...@intuxicated.org wrote: Yes, it does the same thing but contains some additional features, like logging into a mailbox. first of all, i

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-14 Thread Raoul Bhatia [IPAX]
On 04/13/2011 02:46 PM, Florian Haas wrote: things i noticed: 1. the ra i'm running does not catch connection refused errors. c/p from the replication error: Last_IO_Errno: 2013 Last_IO_Error: error connecting to master 'mysql_rep@wdb01:3306' - retry-time:

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-14 Thread Raoul Bhatia [IPAX]
On 04/14/2011 04:15 PM, Raoul Bhatia [IPAX] wrote: On 04/13/2011 02:46 PM, Florian Haas wrote: 2. shouldn't line 251 be removed. it reads: On M/S setup --skip-slave-start is needed (or in config file). but --skip-slave-start is enforced on line 791. The line notes feature on github

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-14 Thread Raoul Bhatia [IPAX]
On 04/13/2011 01:18 PM, Florian Haas wrote: On 2011-04-13 12:54, Marek Marczykowski wrote: On 04/13/11 09:17, Florian Haas wrote: Marek, have you considered setting up a personal fork of the ClusterLabs/resource-agents repo where you could keep track of your progress and which upstream could

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-04-13 Thread Raoul Bhatia [IPAX]
On 04/13/2011 01:18 PM, Florian Haas wrote: On 2011-04-13 12:54, Marek Marczykowski wrote: On 04/13/11 09:17, Florian Haas wrote: Marek, have you considered setting up a personal fork of the ClusterLabs/resource-agents repo where you could keep track of your progress and which upstream could

Re: [Linux-ha-dev] mysql m/s rapid failover problem

2011-03-29 Thread Raoul Bhatia [IPAX]
On 03/18/2011 08:46 PM, Marek Marczykowski wrote: ... I don't know if this is enough, but my version saves MASTER_LOG_FILE and MASTER_LOG_POS. See http://marmarek.w.staszic.waw.pl/patches/ha-mysql-ra/ especially:

[Linux-ha-dev] stonith output is not fully captured via syslog

2011-03-29 Thread Raoul Bhatia [IPAX]
hi, some of you might recall the bashism in external/rackpdu which was discussed in [1] fixed in [2]. i today stumbled over this problem again and i think that the stonith output is not fully captured via syslog: calling stonith manually: # stonith -t external/rackpdu hostlist=AUTO pduip=x

[Linux-ha-dev] mysql m/s rapid failover problem

2011-03-11 Thread Raoul Bhatia [IPAX]
hi, disclaimer: it has been some time since i thoroughly studied the inner workings of mysql replication, but i think that my current knowledge is sufficient to diagnose this problem. perhaps i'm lacking skills to find the most decent solution ;) PROBLEM DESCRIPTION: i use the mysql ra rev

Re: [Linux-ha-dev] resource agents 1.0.4-rc announcement

2011-02-14 Thread Raoul Bhatia [IPAX]
hi, On 14.02.2011 17:56, Dejan Muhamedagic wrote: Hello, The current repository of Resource Agents has been tagged to agents-1.0.4-rc on Friday evening. Some major additions and improvements: - conntrackd, exportfs, nginx, fio: new agents - mysql: master-slave functionality and

Re: [Linux-ha-dev] [DRBD-user] ocf:linbit:drbd incorrectly handles split brain

2011-01-10 Thread Raoul Bhatia [IPAX]
On 01/05/2011 04:15 PM, Raoul Bhatia [IPAX] wrote: hi, On 01/05/2011 03:46 PM, Florian Haas wrote: Look at your paste. You have no node where DRBD is Secondary. What do you expect the agent to do? sorry - the /proc/drbd info was wrong. correct one online: http://p.0wnz.at/194377 Run

[Linux-ha-dev] ocf:linbit:drbd incorrectly handles split brain

2011-01-05 Thread Raoul Bhatia [IPAX]
hi, today, i encountered a split brain situation in my 2-node pacemaker setup: http://p.0wnz.at/194376 of course, i know how to manually resolve a split brain scenario like this. however, i would expect pacemaker/the ra to do something about it. e.g. create a location constraint to not run drbd

Re: [Linux-ha-dev] ocf:linbit:drbd incorrectly handles split brain

2011-01-05 Thread Raoul Bhatia [IPAX]
hi, On 01/05/2011 03:46 PM, Florian Haas wrote: Look at your paste. You have no node where DRBD is Secondary. What do you expect the agent to do? sorry - the /proc/drbd info was wrong. correct one online: http://p.0wnz.at/194377 Run Pacemaker on Heartbeat, and use dopd, and this won't

Re: [Linux-ha-dev] bashism in external/rackpdu stonith plugin

2011-01-03 Thread Raoul Bhatia [IPAX]
On 12/29/2010 05:36 PM, Raoul Bhatia [IPAX] wrote: On 12/29/2010 04:12 PM, Dejan Muhamedagic wrote: What seems to me the best is to simply avoid the issue and do: local names names=`echo $snmp_result | cut -f2 -d'' | tr ' ' '_' | tr '\012' ' '` Does that work for dash? hi

Re: [Linux-ha-dev] ip rule/ip route and ocf:heartbeat:Route

2011-01-03 Thread Raoul Bhatia [IPAX]
On 12/28/2010 07:00 PM, Dejan Muhamedagic wrote: what i'm thinking about: 1. issue /sbin/ip rule add from a.b.c.0/24 table 12 upon reboot/firewall setup (my current solution); or Probably the easiest way right now. Arguably this belongs to the firewall setup. If we need a firewall rules

[Linux-ha-dev] bashism in external/rackpdu stonith plugin

2010-12-29 Thread Raoul Bhatia [IPAX]
hi, i today stumbled across a problem in the external/rackpdu stonith plugin: my outlets are named: iso.3.6.1.4.1.318.1.1.12.3.3.1.1.2.1 = STRING: Outlet 1 XL iso.3.6.1.4.1.318.1.1.12.3.3.1.1.2.2 = STRING: b iso.3.6.1.4.1.318.1.1.12.3.3.1.1.2.3 = STRING: m

Re: [Linux-ha-dev] bashism in external/rackpdu stonith plugin

2010-12-29 Thread Raoul Bhatia [IPAX]
On 12/29/2010 04:12 PM, Dejan Muhamedagic wrote: What seems to me the best is to simply avoid the issue and do: local names names=`echo $snmp_result | cut -f2 -d'' | tr ' ' '_' | tr '\012' ' '` Does that work for dash? hi, looks fine. i'll see if any error pops up during the

[Linux-ha-dev] ip rule/ip route and ocf:heartbeat:Route

2010-12-01 Thread Raoul Bhatia [IPAX]
hi, i have a cluster with an internal ip address and several clustered public service ips. e.g. interface ip address eth0192.168.1.100/24 = internal management/cluster ip eth0.12 a.b.c.d/24 = service ip to make the public ip reachable, i use: /sbin/ip rule add from

[Linux-ha-dev] [PATCH] Low: Add support for ext4 as well as ext4dev (prior to Linux 2.6.28)

2010-07-01 Thread Raoul Bhatia [IPAX]
# HG changeset patch # User Raoul Bhatia [IPAX] r.bha...@ipax.at # Date 1277990824 -7200 # Node ID 23884dfd86b4840ef59e2b0cce836e86390dbc6b # Parent 93ad82df2132b836802c8e95aad7b521acf3f3d0 Low: Add support for ext4 as well as ext4dev (prior to Linux 2.6.28) diff -r 93ad82df2132 -r 23884dfd86b4

[Linux-ha-dev] [PATCH] Low: Add support for ext4 as well as ext4dev (prior to Linux 2.6.28)

2010-07-01 Thread Raoul Bhatia [IPAX]
# HG changeset patch # User Raoul Bhatia [IPAX] r.bha...@ipax.at # Date 1277990824 -7200 # Node ID 23884dfd86b4840ef59e2b0cce836e86390dbc6b # Parent 93ad82df2132b836802c8e95aad7b521acf3f3d0 Low: Add support for ext4 as well as ext4dev (prior to Linux 2.6.28) diff -r 93ad82df2132 -r 23884dfd86b4

Re: [Linux-ha-dev] Monitor Operation on MySQL Master/Slave Group [GishPuppy]

2010-05-14 Thread Raoul Bhatia [IPAX]
On 05/12/2010 09:30 PM, linuxha@gishpuppy.com wrote: Hello All, I've been testing out the newly added Master/Slave capability for MySQL, but it seems to be missing the monitor operation for the Master instance, i.e. the monitor op for the primitive mysql object only runs on the slave

Re: [Linux-ha-dev] ulimit in ocf scripts

2010-01-12 Thread Raoul Bhatia [IPAX]
On 01/11/2010 06:06 PM, Dejan Muhamedagic wrote: Hi, On Mon, Jan 11, 2010 at 02:26:31PM +0100, Raoul Bhatia [IPAX] wrote: hi, i am hitting a nofile ulimit (ulimit -n) for my apache server. adding a ulimit -n 4096 in the apache ocf resolves this issue. what would be a more appropriate way

Re: [Linux-ha-dev] ulimit in ocf scripts

2010-01-12 Thread Raoul Bhatia [IPAX]
On 01/12/2010 10:39 AM, Florian Haas wrote: Why not simply set that for root at boot? (it rhymes too :) because i do not like the idea that each and every process gets elevated limits by default. i think that there *should* be a generic way to configure ulimits an a per resource basis.

[Linux-ha-dev] ulimit in ocf scripts

2010-01-11 Thread Raoul Bhatia [IPAX]
hi, i am hitting a nofile ulimit (ulimit -n) for my apache server. adding a ulimit -n 4096 in the apache ocf resolves this issue. what would be a more appropriate way to set specific ulimits for certain ocf scripts? cheers, raoul --

Re: [Linux-ha-dev] An OCF RA for syslog-ng

2009-12-10 Thread Raoul Bhatia [IPAX]
On 11/24/2009 10:05 AM, Raoul Bhatia [IPAX] wrote: On 11/23/2009 03:26 PM, Dejan Muhamedagic wrote: Hi Kazutomo-san, Your syslog-ng agent is now in the agents repository. I just changed a bit the meta-data and replaced wrong exit code in usage(). hi, now that the syslog-ng agent

Re: [Linux-ha-dev] An OCF RA for syslog-ng

2009-11-24 Thread Raoul Bhatia [IPAX]
On 11/23/2009 03:26 PM, Dejan Muhamedagic wrote: Hi Kazutomo-san, Your syslog-ng agent is now in the agents repository. I just changed a bit the meta-data and replaced wrong exit code in usage(). hi, now that the syslog-ng agent is commited, what would the correct way be to generalize it

Re: [Linux-ha-dev] [PATCH]Improvement of the log output of Filesystem.

2009-11-18 Thread Raoul Bhatia [IPAX]
dear On 11/18/2009 04:05 AM, renayama19661...@ybb.ne.jp wrote: patch, but wants you to include it in the latest edition by all means. hi, in your patch, you add a second output line for the dd error: @@ -754,6 +754,7 @@ err_output=`dd if=$DEVICE $dd_opts 21 /dev/null` if [ $?

Re: [Linux-ha-dev] An OCF RA for syslog-ng

2009-11-13 Thread Raoul Bhatia [IPAX]
Hi Kazutomo-san, thank you for your updates. i think it would be ok to commit the current ra and submit patches as needed. thank you for your efforts! On 11/13/2009 11:14 AM, NAKAHIRA Kazutomo wrote: On formatting: sometimes spaces are used and sometimes tabs for indentation. Can you please

[Linux-ha-dev] Fwd: [PATCH] call validate-all when monitoring with OCF_RESKEY_CRM_meta_interval=0

2009-11-10 Thread Raoul Bhatia [IPAX]
Message Subject: [PATCH] call validate-all when monitoring with OCF_RESKEY_CRM_meta_interval=0 Date: Fri, 18 Sep 2009 16:18:03 +0200 From: Raoul Bhatia [IPAX] r.bha...@ipax.at To: r.bha...@ipax.at # HG changeset patch # User Raoul Bhatia [IPAX] r.bha...@ipax.at # Date 1253283431 -7200 # Node ID

[Linux-ha-dev] [PATCH] return $OCF_SUCCESS when trying to stop a stopped postfix instance

2009-11-10 Thread Raoul Bhatia [IPAX]
# HG changeset patch # User Raoul Bhatia [IPAX] r.bha...@ipax.at # Date 1257854008 -3600 # Node ID 0c45b1ec92c5adcd98f734eb4451698b35070c8c # Parent f1afdd4e62d8e34229804cd1444c7774e3925c50 return $OCF_SUCCESS when trying to stop a stopped postfix instance diff -r f1afdd4e62d8 -r 0c45b1ec92c5

Re: [Linux-ha-dev] An OCF RA for syslog-ng

2009-11-10 Thread Raoul Bhatia [IPAX]
On 09/21/2009 01:59 PM, Dejan Muhamedagic wrote: Hi Kazutomo-san, On Fri, Sep 18, 2009 at 05:19:28PM +0900, NAKAHIRA Kazutomo wrote: Hi, Dejan I'm sorry I didn't get back to you sooner as a JBoss RA. I took over mori-san and takenaka-san's work. I revised a syslog-ng RA referring to your

Re: [Linux-ha-dev] patch for ldirectord RA

2009-10-30 Thread Raoul Bhatia [IPAX]
hi, ... +LDIRCONF=${OCF_RESKEY_configfile:-/etc/ha.d/ldirectord.cf} ... i prefer to see/place default values somewhere near the top of the ra, like: http://hg.linux-ha.org/agents/file/tip/heartbeat/apache#l60 or http://hg.linux-ha.org/agents/file/tip/heartbeat/mysql-proxy#l55 so it is

Re: [Linux-ha-dev] [PATCH] add log_level and keepalive to mysql-proxy ra

2009-09-08 Thread Raoul Bhatia [IPAX]
On 09/08/2009 01:03 PM, Dejan Muhamedagic wrote: log_level. And the regular expression test for the same parameter. Also, log_level set to empty cannot be distinguished from log_level not set at all using grep(1) or test(1). You either have to find another way or change the usage. That is,

Re: [Linux-ha-dev] [PATCH] add log_level and keepalive to mysql-proxy ra

2009-09-03 Thread Raoul Bhatia [IPAX]
On 09/03/2009 11:04 AM, Raoul Bhatia [IPAX] wrote: hi, i today added log_level and keepalive options to the mysql-proxy ra: log_level (error|warning|info|message|debug|) Log all messages of level (error|warning|info|message|debug|) or higer. An empty value disables logging

[Linux-ha-dev] [PATCH] update meta data documentation

2009-09-03 Thread Raoul Bhatia [IPAX]
hi, please find a patch to update the meta data documentation attached. please commit this patch after all my previous patches. cheers, raoul -- DI (FH) Raoul Bhatia M.Sc. email. r.bha...@ipax.at Technischer

Re: [Linux-ha-dev] Repost of postfix ocf ra

2009-08-14 Thread Raoul Bhatia [IPAX]
On 12.08.2009 17:32, Dejan Muhamedagic wrote: *snip* because then something is broken. i reworked this part now and am checking if the directory exists, [ -d ... ] return 0, at least on my linux box using bash. This is from a diff: +[ -d $queue ] || return 1 # check if queue directory

Re: [Linux-ha-dev] Repost of postfix ocf ra

2009-08-11 Thread Raoul Bhatia [IPAX]
*bump* On 07/27/2009 02:46 PM, Raoul Bhatia [IPAX] wrote: hi, i'm reposting the postfix ocf ra as i feel that my works are complete. dejan posted some comments in his last email which i will address: i'm now checking more indepth for: 1. empty queue_directory For monitor? Why

Re: [Linux-ha-dev] postfix ocf ra

2009-07-15 Thread Raoul Bhatia [IPAX]
[IPAX] wrote: Raoul Bhatia [IPAX] wrote: i'm reworking my script right now. commenting inline. i just finished updating the postfix ocf ra and am summarizing the changes: * isRunning() stays as this is also used in other ras * i left running() as well (where i check the master.pid file

  1   2   3   >