Re: [Linux-HA] Antw: Re: Postgresql RA fails starting master node

2014-09-15 Thread NAKAHIRA Kazutomo
Hi, L1646: sed -i /${rep_mode_string//\//\\/}/d $OCF_RESKEY_config This bashism was reported in the following issue and it was fixed now. https://github.com/ClusterLabs/resource-agents/issues/403 It is recommended that using the latest pgsql RA if you configure replication. On 2014/09/16

Re: [Linux-ha-dev] [PATCH] Refine jboss RA functions about console logfile rotation

2013-10-07 Thread NAKAHIRA Kazutomo
at 09:11:20PM +0900, NAKAHIRA Kazutomo wrote: Hi, all I wrote 8 pathces for jboss RA that refine jboss RA functions about console logfile rotation. (some patches were written for current code refactoring.) Please see following pull requests and comment me These are not pull requests, but commits

[Linux-ha-dev] [PATCH] Refine jboss RA functions about console logfile rotation

2013-10-04 Thread NAKAHIRA Kazutomo
can not write CONSOLE logfile that created by rotatelogs command https://github.com/knakahira/resource-agents/commit/62588ae50408f6897452dedbeb0b1074a5ca4c26 Best regards, -- NAKAHIRA Kazutomo Open Source Business Unit NTT DATA INTELLILINK Corporation

[Linux-ha-dev] [PATCH] fix regexp for NUMCOMMITS in the Makefile of the resource-agents-3.9.1

2011-06-22 Thread NAKAHIRA Kazutomo
Regards, -- NAKAHIRA Kazutomo Infrastructure Software Technology Unit NTT Open Source Software Center diff --git Makefile.am Makefile.am index bd8dbeb..28634c0 100644 --- Makefile.am +++ Makefile.am @@ -113,7 +113,7 @@ $(SPEC): $(SPEC).in if [ -n $$alphatag ]; then \ echo VERSION HAS NUMCOMMITS

Re: [Linux-HA] pgsql RA error in 3.9.1

2011-06-20 Thread NAKAHIRA Kazutomo
--- Best Regards, NAKAHIRA Kazutomo (2011/06/21 5:37), Serge Dubrouski wrote: Sorry. On Mon, Jun 20, 2011 at 2:22 PM, Vadym Chepkovvchep...@gmail.com wrote: On Jun 20, 2011, at 3:55 PM, Serge Dubrouski wrote: Patch is attached. Your patch is damaged, it has lines cut short. Vadym

Re: [Linux-HA] SFEX questions

2011-05-18 Thread NAKAHIRA Kazutomo
sfex_1 md_raid ... Best Regards, NAKAHIRA Kazutomo (2011/05/18 23:20), Ulrich Windl wrote: Sorry, this bounced due to a typo in the address: Ulrich Windlulrich.wi...@rz.uni-regensburg.de schrieb am 18.05.2011 um 16:04 in Nachricht4DD3D1DE.D17 : 150 : 19735: Hi! I have some SFEX questions

Re: [Linux-ha-dev] [PATCH] sfex: proposal of sfex_stat command

2010-12-05 Thread NAKAHIRA Kazutomo
, NAKAHIRA Kazutomo (2010/12/03 20:13), Dejan Muhamedagic wrote: Hi Kazutomo-san, On Wed, Dec 01, 2010 at 01:15:55PM +0900, NAKAHIRA Kazutomo wrote: Hi, all I rewrite sfex_stat command for current version that was originally included in the sfex-1.3. The sfex_stat command is useful

[Linux-ha-dev] [PATCH] jboss RA: jboss RA is not installed by default

2010-12-01 Thread NAKAHIRA Kazutomo
Hi, All I noticed that jboss RA is not installed by default when I installed the latest cluster resource agents. If there are no objections, may I revise Makefile.am to jboss RA be installed by default? Best Regards, -- NAKAHIRA Kazutomo Infrastructure Software Technology Unit NTT Open Source

[Linux-ha-dev] [PATCH] sfex: revise log output of the sfex_init

2010-11-30 Thread NAKAHIRA Kazutomo
Hi, all I revised the sfex_init command to enable the cl_log output of the sfex library. Please see attached patch and let me know if you have any comments. Best Regards, -- NAKAHIRA Kazutomo Infrastructure Software Technology Unit NTT Open Source Software Center # HG changeset patch # User

[Linux-ha-dev] [PATCH] sfex: proposal of sfex_stat command

2010-11-30 Thread NAKAHIRA Kazutomo
Hi, all I rewrite sfex_stat command for current version that was originally included in the sfex-1.3. The sfex_stat command is useful for confirms the lock status when the trouble occurred. Please see attached patch and let me know if you have any comments. Best Regards, -- NAKAHIRA Kazutomo

[Linux-ha-dev] [PATCH] sfex RA: revise timeout values

2010-11-14 Thread NAKAHIRA Kazutomo
disk and the switch time of the multipath driver. Please see attached patch and let me know if you have any comments. Best Regards. -- NAKAHIRA Kazutomo Infrastructure Software Technology Unit NTT Open Source Software Center # HG changeset patch # User NAKAHIRA Kazutomo nakahira.kazut

Re: [Linux-ha-dev] sfex RA: Refine start/stop method

2010-06-15 Thread NAKAHIRA Kazutomo
Hi, Dejan, Thank you for your speedy response. But, the patch seems not to be applied to the http://hg.linux-ha.org/agents; repository now. Could you please apply this patch to the agents repository? Best regards, NAKAHIRA Kazutomo (2010/06/14 18:05), Dejan Muhamedagic wrote: Hi Kazutomo

[Linux-ha-dev] sfex RA: Refine start/stop method

2010-06-13 Thread NAKAHIRA Kazutomo
Hi, all I refined a sfex RA to speed up start/stop process of the sfex. An attached patch modify static sleep 2/4 in a sfex RA. Please see attached and comment me if there are any suggestions. Best regards, NAKAHIRA Kazutomo -- NTT Open Source Software Center Infrastructure Software

Re: [Linux-ha-dev] RA output same log twice to the syslog

2010-02-22 Thread NAKAHIRA Kazutomo
Hi, Dejan Thank you for your speedy response. (2010/02/19 21:51), Dejan Muhamedagic wrote: Hi Kazutomo-san, On Fri, Feb 19, 2010 at 05:36:36PM +0900, NAKAHIRA Kazutomo wrote: Hi, all I noticed that RA output same log twice to the syslog when Heartbeat uses syslog instead of logd

[Linux-ha-dev] [PATCH] oracle/oralsnr RA: Improvement of the logging

2010-01-22 Thread NAKAHIRA Kazutomo
Hi, all I improved logging of the oracle/oralsnr RA. This patch has aimed to record the execution result of the sqlplus (and other commands) and output a detailed failure log using ocf_log when some problems occurred in RA operation. Best Regards, NAKAHIRA Kazutomo

Re: [Linux-ha-dev] [PATCH] pgsql RA: Replace echo command with ocf_log

2010-01-14 Thread NAKAHIRA Kazutomo
are not recorded in the normal cluster operation because it is necessary to set the debug 2 in the ha.cf. # Please point it out if my understanding is wrong. Best Regards, NAKAHIRA Kazutomo Dejan Muhamedagic wrote: Hi, On Wed, Jan 13, 2010 at 02:09:00PM -0700, Serge Dubrouski wrote: On Wed, Jan 13, 2010

[Linux-ha-dev] [PATCH] pgsql RA: Replace echo command with ocf_log

2010-01-12 Thread NAKAHIRA Kazutomo
functions are replaced by ocf_log to unify the logging methods. Best Regards, NAKAHIRA Kazutomo -- NAKAHIRA Kazutomo NTT DATA INTELLILINK CORPORATION Open Source Business Unit Software Services Integration Business Division # HG changeset patch # User r

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

2009-11-16 Thread NAKAHIRA Kazutomo
Hi Dejan, Dejan Muhamedagic wrote: Hi Kazutomo-san, On Fri, Nov 13, 2009 at 07:14:18PM +0900, NAKAHIRA Kazutomo wrote: Hi, Dejan and Raoul I hope you will forgive me for being so slow to answer. # I have some other works and it takes time. That's fine. [...] When sourcing ${OCF_ROOT

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

2009-11-16 Thread NAKAHIRA Kazutomo
. But, as you say, syslog-ng's corefile is not too significant for system manager certainly. And it seems that syslog-ng process doesn't leave beneficial information when QUIT signal is received. I remove pkill -QUIT code and revised RA is attached. Best Regards, NAKAHIRA Kazutomo Dejan Muhamedagic

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

2009-11-13 Thread NAKAHIRA Kazutomo
tabs for indentation. Can you please use either one or the other (preferably the latter). I agree. I substituted all indentation spaces to tabs. A re-revised syslog-ng RA is attached. Best Regards, NAKAHIRA Kazutomo Dejan Muhamedagic wrote: Hi, On Tue, Nov 10, 2009 at 01:02:06PM +0100, Raoul

Re: [Linux-ha-dev] OCF Script for Jboss

2009-09-11 Thread NAKAHIRA Kazutomo
Hi, Dejan Thank you for the swift response. I corrected a JBoss RA referring to your comments. And I am testing a JBoss RA now. On completion of the operation test, I post a latest RA to the list. Please wait for a while... Best Regards, NAKAHIRA Kazutomo Dejan Muhamedagic wrote: Hi Kazutomo

Re: [Linux-ha-dev] OCF Script for Jboss

2009-09-08 Thread NAKAHIRA Kazutomo
Hi, Dejan I'm sorry I didn't get back to you sooner. I took over takenaka-san's work. I corrected a JBoss RA referring to your comments. The modification and my comments is written in the attached patch. Best Regards, NAKAHIRA Kazutomo Dejan Muhamedagic wrote: Hi Keisuke-san, On Thu, Jun

Re: [Linux-ha-dev] [patch] Improvement of log of pgsql RA

2009-06-23 Thread NAKAHIRA Kazutomo
Hi, Serge and Dejan Thank you for being interested in my patches. I remade the patch that based on the latest Linux-HA-Dev. (http://hg.linux-ha.org/dev/rev/f9f9567ee692) Best regards, NAKAHIRA Kazutomo Serge Dubrouski wrote: Here is the one with applied patch. On Mon, Jun 22, 2009 at 3:54

[Linux-ha-dev] [patch] Improvement of log of pgsql RA

2009-06-18 Thread NAKAHIRA Kazutomo
command, the execution result of the command is not recorded in the log file. pgsql-ra-logging-3.patch is a patch that corrects No.4 problem. Best regards, NAKAHIRA Kazutomo -- NAKAHIRA Kazutomo NTT DATA INTELLILINK CORPORATION Open Source Business Unit

Re: [Linux-HA] Re: testing watchdog

2009-03-05 Thread NAKAHIRA Kazutomo
with the cluster manager. Mr. Lars, would you intend to make the SBD daemon available as a clone resource like a pingd in the future release? Best Regards, NAKAHIRA Kazutomo Priyanka Ranjan wrote: Thanks Kazutomo, one more question. i am starting this daemon explicity so when system get powered off

Re: [Linux-HA] Re: testing watchdog

2009-03-04 Thread NAKAHIRA Kazutomo
Hi, Priyanka Are you starting SBD daemon with -W option? If it is so, the SBD daemon writes the string in softdog driver periodically. Best Regards, NAKAHIRA Kazutomo Priyanka Ranjan wrote: Thanks for reply Michael, I went through the link you mentioned. it was useful but i could not get

Re: [Linux-HA] Re: testing watchdog

2009-03-04 Thread NAKAHIRA Kazutomo
so if i kill sbd daemon then it should result in system reboot as watchdog will reboot the system right? Yes. That's right. Watchdog will reboot the system when SBD daemon is killed before sbd -d device name -D -W message LOCAL exit is executed. Best Regards, NAKAHIRA Kazutomo Priyanka

[Linux-ha-dev] checkproc and killproc commands in SFEX RA

2009-03-03 Thread NAKAHIRA Kazutomo
RA? Best Regards, NAKAHIRA Kazutomo -- NAKAHIRA Kazutomo NTT DATA INTELLILINK CORPORATION Open Source Business Unit Software Services Integration Business Division ___ Linux-HA-Dev: Linux-HA-Dev

[Linux-HA] Exclusive execution control of SBD STONITH

2008-09-12 Thread NAKAHIRA Kazutomo
to the timing of the STONITH execution. Is this recognition right? Please point it out if SBD has exclusive execution control function or is something a extra setting necessary to prevent mutual hit of STONITH. Best Regards, NAKAHIRA Kazutomo -- NAKAHIRA Kazutomo

Re: [Linux-HA] Watchdog configuration with SBD

2008-09-09 Thread NAKAHIRA Kazutomo
, not stopping watchdog! (snip) It seems that the sbd watch process had been stopped before watchdog_close() was done. And watchdog reboot the system. Best Regards, NAKAHIRA Kazutomo Lars Marowsky-Bree wrote: On 2008-09-08T18:04:00, NAKAHIRA Kazutomo [EMAIL PROTECTED] wrote: I'm trying SBD

Re: [Linux-HA] Watchdog configuration with SBD

2008-09-09 Thread NAKAHIRA Kazutomo
Thank you again for useful information. I modified heartbeat init script in my test environment referring to your script and it works fine. (Please see attached script.) Best Regards, NAKAHIRA Kazutomo Lars Marowsky-Bree wrote: On 2008-09-09T15:28:31, NAKAHIRA Kazutomo [EMAIL PROTECTED] wrote

[Linux-HA] Watchdog configuration with SBD

2008-09-08 Thread NAKAHIRA Kazutomo
. In my test environment, I had enabled watchdog using ha.cf currently. Please point it out if it is necessary to abolish an existing setting, and to use sbd watch command with -W option. # Or are both configurations needed? Best Regards, NAKAHIRA Kazutomo

Re: [Linux-ha-dev] [RFC] heartbeat-2.1.4 --- Automatic failback occurs

2008-04-24 Thread NAKAHIRA Kazutomo
Hello Andrew, Thank you for your prompt response. I tried your patch and it works fine! Please backport this patch to latest Pacemaker and Heartbeat 2.1.4. Best Regards, NAKAHIRA Kazutomo Andrew Beekhof wrote: 2008/4/24 NAKAHIRA Kazutomo [EMAIL PROTECTED]: hello, all I tried same test