Re: [Linux-ha-dev] [Pacemaker] Fw: new important message

2016-02-18 Thread Serge Dubrouski
Got hacked? On Thu, Feb 18, 2016, 7:53 PM Dejan Muhamedagic wrote: > Hello! > > > > *New message, please read* http://estoncamlievler76.com/leaving.php > > > > > Dejan Muhamedagic > ___ > Pacemaker mailing l

Re: [Linux-ha-dev] [PATCH] support LSBs /run directory

2013-12-18 Thread Serge Dubrouski
t; : ${mode:=0755} > : ${owner:=root} > > Also, as 'path' is usually is smth. like '/var/run/named' or > '/var/run/zabbix' I'm afraid that switch will do nothing in any case. > > need a bit more magic, smth. like: > > if [ -n "${path##$v

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

2012-10-03 Thread Serge Dubrouski
Look at start function. If one sets rootdir parameter to / , then start function strips it and monitor fails. So the patch fixes it. On Oct 3, 2012 7:45 AM, "Dejan Muhamedagic" wrote: > Hi Serge, > > On Mon, Oct 01, 2012 at 08:29:50PM -0600, Serge Dubrouski wrote: > >

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

2012-10-01 Thread Serge Dubrouski
Hi, Dejan - Will you apply it? On Fri, Sep 28, 2012 at 5:09 AM, Serge Dubrouski wrote: > Yes it is. It also includes a fix for a small bug. So 2 lines changed. > On Sep 28, 2012 2:54 AM, "Dejan Muhamedagic" wrote: > >> Hi Serge, >> >> On Sat, Sep 22, 2012

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

2012-09-28 Thread Serge Dubrouski
Yes it is. It also includes a fix for a small bug. So 2 lines changed. On Sep 28, 2012 2:54 AM, "Dejan Muhamedagic" wrote: > Hi Serge, > > On Sat, Sep 22, 2012 at 09:11:53AM -0600, Serge Dubrouski wrote: > > Hello - > > > > Attached a short patch for na

[Linux-ha-dev] Patch for named

2012-09-22 Thread Serge Dubrouski
Hello - Attached a short patch for named RA to fix improve getpid function. -- Serge Dubrouski. named.patch Description: Binary data ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev

Re: [Linux-ha-dev] [PATCH] add support for non-standard library locations and non-standard port

2012-09-15 Thread Serge Dubrouski
> 1 files changed, 24 insertions(+), 0 deletions(-) > > diff --git a/heartbeat/pgsql b/heartbeat/pgsql > index b57488d..9c66d56 100755 > --- a/heartbeat/pgsql > +++ b/heartbeat/pgsql > @@ -6,6 +6,7 @@ > # Authors: Serge Dubrouski (serge...@gmail.com) -- original RA >

Re: [Linux-ha-dev] Patch: pgsql streaming replication

2012-03-19 Thread Serge Dubrouski
Sorry, we'll rework the patch. On Mar 19, 2012 2:39 PM, "Soffen, Matthew" wrote: > I believe that the reason for not using #bash is that it is it NOT part of > the default install on non Linux systems. > > > Matthew Soffen > Principal Software Testing Coordinator > ISO New England - http://www.i

Re: [Linux-ha-dev] pgsql and streaming replcation

2012-03-18 Thread Serge Dubrouski
I sent a patch to the mail list. It's your RA but in some places I split long lines into several ones. On Tue, Mar 13, 2012 at 8:41 PM, Serge Dubrouski wrote: > Takatoshi - > > Please give me some time to review the latest version of RA and then we'll > submit a patch. &g

Re: [Linux-ha-dev] pgsql and streaming replcation

2012-03-13 Thread Serge Dubrouski
Takatoshi - Please give me some time to review the latest version of RA and then we'll submit a patch. On Tue, Mar 13, 2012 at 5:35 AM, Takatoshi MATSUO wrote: > Hello Serge > > 2012/3/9 Takatoshi MATSUO : > > Hello Serge > > > > 2012/3/8 Serge Dubrouski : >

Re: [Linux-ha-dev] pgsql and streaming replcation

2012-03-07 Thread Serge Dubrouski
that this occurrence is specific and > can't be fix immediately. > > What do you think ? > > Regards, > Takatoshi MATSUO > > 2012/2/6 Takatoshi MATSUO : > > Hi Serge > > > > Thank you. > > I applied it to my repository. > > > > > > 20

Re: [Linux-ha-dev] pgsql and streaming replcation

2012-02-05 Thread Serge Dubrouski
; > 2011/12/13 Serge Dubrouski : > > > > > > On Mon, Dec 12, 2011 at 4:28 AM, Takatoshi MATSUO > > wrote: > >> > >> Hello Serge > >> > >> 2011/12/12 Serge Dubrouski : > >> > > >> > > >> > On Thu,

Re: [Linux-ha-dev] [PATCH] named RA: support IPv6

2012-01-14 Thread Serge Dubrouski
On Sat, Jan 14, 2012 at 4:32 AM, Lars Ellenberg wrote: > On Mon, Jan 09, 2012 at 05:50:14PM +0100, Dejan Muhamedagic wrote: > > Hi Serge, > > > > On Mon, Jan 09, 2012 at 09:11:43AM -0700, Serge Dubrouski wrote: > > > I did a couple of weeks ago :-) > > >

Re: [Linux-ha-dev] [PATCH] named RA: support IPv6

2012-01-09 Thread Serge Dubrouski
I did a couple of weeks ago :-) On Jan 9, 2012 8:00 AM, "Dejan Muhamedagic" wrote: > Hi Junko-san, > > On Tue, Dec 13, 2011 at 04:32:07PM +0900, Junko IKEDA wrote: > > Hi Serge, > > > > We are now investigating the support status of ocf RAs, > > and this is the issue for named. > > > > Here is t

Re: [Linux-ha-dev] pgsql and streaming replcation

2011-12-12 Thread Serge Dubrouski
On Mon, Dec 12, 2011 at 4:28 AM, Takatoshi MATSUO wrote: > Hello Serge > > 2011/12/12 Serge Dubrouski : > > > > > > On Thu, Dec 8, 2011 at 10:04 PM, Takatoshi MATSUO > > wrote: > >> > >> Hello Serge > >> > >> 2011/12/8

Re: [Linux-ha-dev] pgsql and streaming replcation

2011-12-11 Thread Serge Dubrouski
On Thu, Dec 8, 2011 at 10:04 PM, Takatoshi MATSUO wrote: > Hello Serge > > 2011/12/8 Serge Dubrouski : > > > > > > On Mon, Dec 5, 2011 at 9:15 PM, Takatoshi MATSUO > > wrote: > >> > >> Hello Serge > >> > >> Serge Dubrouski :

Re: [Linux-ha-dev] pgsql and streaming replcation

2011-12-07 Thread Serge Dubrouski
On Mon, Dec 5, 2011 at 9:15 PM, Takatoshi MATSUO wrote: > Hello Serge > > Serge Dubrouski : > > Hello - > > > > Takatoshi MATSUO did a tremendous job on implementing support for > streaming > > replication feature in pgsql RA. Also it looks like PostgeSQL 9.1

Re: [Linux-ha-dev] pgsql and streaming replcation

2011-12-05 Thread Serge Dubrouski
been actively > using and support it since 2001/2002. > > On 12/05/2011 04:22 AM, Florian Haas wrote: > > On Sun, Dec 4, 2011 at 11:11 PM, Serge Dubrouski > wrote: > >> Florian, Dejan how would you like to merge a patch when we are ready? > The > >> patch will be

[Linux-ha-dev] pgsql and streaming replcation

2011-12-04 Thread Serge Dubrouski
lish but we can go through it later. And yet again thanks for a brilliant work. Florian, Dejan how would you like to merge a patch when we are ready? The patch will be rather big one and AFAIK you have some policy on the amount of changes for one patch. -- Serge Dubrouski.

[Linux-ha-dev] Patches for named and pgsql

2011-10-13 Thread Serge Dubrouski
Hello - Attached are patches for named and pgsql patches that repace "==" with "=" when compare strings. -- Serge Dubrouski. /heartbeat/pgsql +++ b/heartbeat/pgsql @@ -644,7 +644,7 @@ esac pgsql_validate_all rc=$? -[ "$1" == "validate-all" ] &&

[Linux-ha-dev] OCFT file for named RA

2011-10-08 Thread Serge Dubrouski
Hello - Attached is a OCFT file for named RA -- Serge Dubrouski. named Description: Binary data ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

[Linux-ha-dev] How to use reload action of RA agent?

2011-10-06 Thread Serge Dubrouski
Hello - How one supposed to use "reload" action of RA agent it it's supported by RA? When I try to set up an order like this: order Reload_After_Start +inf: res1:start res2:reload neither crm nor cibadmin allow me to define such order. --

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

2011-10-06 Thread Serge Dubrouski
Thanks, Dejan. I'll create ocft file for this RA a bit later. On Thu, Oct 6, 2011 at 3:55 AM, Dejan Muhamedagic wrote: > On Wed, Oct 05, 2011 at 07:47:13PM -0600, Serge Dubrouski wrote: > > On Wed, Oct 5, 2011 at 4:22 AM, Dejan Muhamedagic wrote: > > > > > Hi Serg

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

2011-10-05 Thread Serge Dubrouski
On Wed, Oct 5, 2011 at 4:22 AM, Dejan Muhamedagic wrote: > Hi Serge, > > On Mon, Oct 03, 2011 at 07:53:25PM -0600, Serge Dubrouski wrote: > > Hello - > > > > Attached is a patch for named RA that fixes stop function and makes > required > > tools configurable

[Linux-ha-dev] Patch for named RA

2011-10-03 Thread Serge Dubrouski
Hello - Attached is a patch for named RA that fixes stop function and makes required tools configurable OCF parameters. Please apply to git. -- Serge Dubrouski. diff --git a/heartbeat/named b/heartbeat/named index 8d15db6..f9efb92 100755 --- a/heartbeat/named +++ b/heartbeat/named @@ -15,12

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

2011-09-19 Thread Serge Dubrouski
On Mon, Sep 19, 2011 at 9:33 AM, Dejan Muhamedagic wrote: > On Mon, Sep 19, 2011 at 04:10:50PM +0200, Dejan Muhamedagic wrote: > > On Tue, Sep 06, 2011 at 02:52:47PM -0600, Serge Dubrouski wrote: > > > On Thu, Sep 1, 2011 at 6:28 AM, Dejan Mu

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

2011-09-06 Thread Serge Dubrouski
On Thu, Sep 1, 2011 at 6:28 AM, Dejan Muhamedagic wrote: > Hi Serge, > > On Tue, Jul 12, 2011 at 03:50:36PM -0600, Serge Dubrouski wrote: > > Hello - > > > > I've created an OCF RA for named (BIND) server. There is an existing one > in > > redhat director

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

2011-08-18 Thread Serge Dubrouski
On Wed, Aug 17, 2011 at 12:39 PM, Lars Ellenberg wrote: > On Tue, Aug 16, 2011 at 08:51:04AM -0600, Serge Dubrouski wrote: > > On Tue, Aug 16, 2011 at 8:44 AM, Dejan Muhamedagic > wrote: > > > > > Hi Serge, > > > > > > On Fri, Aug 05, 2011 at 08:19:

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

2011-08-16 Thread Serge Dubrouski
On Tue, Aug 16, 2011 at 8:44 AM, Dejan Muhamedagic wrote: > Hi Serge, > > On Fri, Aug 05, 2011 at 08:19:52AM -0600, Serge Dubrouski wrote: > > No interest? > > Probably not true :) It's just that recently I've been away for > a while and in between really swampe

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

2011-08-05 Thread Serge Dubrouski
No interest? On Tue, Jul 12, 2011 at 3:50 PM, Serge Dubrouski wrote: > Hello - > > I've created an OCF RA for named (BIND) server. There is an existing one in > redhat directory but I don't like how it does monitoring and I doubt that it > can work with pacemaker. So p

Re: [Linux-ha-dev] [PATCH] fix config parameter type for pgsql

2011-07-22 Thread Serge Dubrouski
d, > Takatoshi MATSUO > > ___ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > > -- Serge Dubrouski. ___ Linux

Re: [Linux-ha-dev] pacemaker - migrate RA, based on the state of other RA, w/o clone?

2011-07-14 Thread Serge Dubrouski
On Thu, Jul 14, 2011 at 9:02 AM, RNZ wrote: > > > On Thu, Jul 14, 2011 at 6:42 PM, Serge Dubrouski wrote: > >> >> >> On Thu, Jul 14, 2011 at 5:50 AM, RNZ wrote: >> >>> >>> >>> On Thu, Jul 14, 2011 at 3:28 PM, F

Re: [Linux-ha-dev] pacemaker - migrate RA, based on the state of other RA, w/o clone?

2011-07-14 Thread Serge Dubrouski
B and C are slaves. >> > > Florian, no this example scheme not cascade, hostA usead as slave for hostD > and as master/slave from hostB and hostC > hostB <---> hostA <---> hostC > ^ > | > hostC--- > > > By the way, is there any specific reason you are co

Re: [Linux-ha-dev] pacemaker - migrate RA, based on the state of other RA, w/o clone?

2011-07-14 Thread Serge Dubrouski
On Thu, Jul 14, 2011 at 7:11 AM, RNZ wrote: > > > On Thu, Jul 14, 2011 at 4:46 PM, Serge Dubrouski wrote: > >> >> >> On Thu, Jul 14, 2011 at 5:28 AM, Florian Haas wrote: >> >>> On 2011-07-14 12:55, RNZ wrote: >>> > >>> > >&

Re: [Linux-ha-dev] pacemaker - migrate RA, based on the state of other RA, w/o clone?

2011-07-14 Thread Serge Dubrouski
so. > > > > > > Sorry, habit... My real name Alibek.Amaev, alibek.am...@gmail.com > > <mailto:alibek.am...@gmail.com> or alibe...@gmail.com > > <mailto:alibe...@gmail.com> > > Pleased to meet you Alibek, welcome to the tribe. :) > > Cheers, >

[Linux-ha-dev] OCF RA for named

2011-07-12 Thread Serge Dubrouski
Hello - I've created an OCF RA for named (BIND) server. There is an existing one in redhat directory but I don't like how it does monitoring and I doubt that it can work with pacemaker. So please review the attached RA and see if it can be included into the project. -- Serge Dubrousk

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

2011-06-15 Thread Serge Dubrouski
Yes it's right. Do you know how I can resync my fork to the upstream? On Wed, Jun 15, 2011 at 6:28 AM, Florian Haas wrote: > On 2011-06-15 14:26, Serge Dubrouski wrote: > > I screwed up with git so here is the patch attached. > > Nice, thanks. Is the pgsql ocft test case OK

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

2011-06-15 Thread Serge Dubrouski
I screwed up with git so here is the patch attached. On Tue, Jun 14, 2011 at 12:44 PM, Serge Dubrouski wrote: > Hello - > > I've just sent a pull request from my fork of resource-agent git > repository. Proposed patch adds better handling of probes, fixes one English > miss

[Linux-ha-dev] Patch for pgsql

2011-06-14 Thread Serge Dubrouski
Hello - I've just sent a pull request from my fork of resource-agent git repository. Proposed patch adds better handling of probes, fixes one English misspelling and declares rc variable as local in some function where it's used. I hope I did everything right with git -- Serge

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

2011-05-31 Thread Serge Dubrouski
Fine with me. On Tue, May 31, 2011 at 9:24 AM, Dejan Muhamedagic wrote: > Hi Serge, > > On Tue, May 31, 2011 at 08:11:59AM -0600, Serge Dubrouski wrote: > > pgsql: low, fix some exit codes. > > OK. I leave most of low impact changes out, otherwise the change > log woul

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

2011-05-31 Thread Serge Dubrouski
fo/linux-ha-dev > Home Page: http://linux-ha.org/ > > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

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

2011-05-24 Thread Serge Dubrouski
On Tue, May 24, 2011 at 9:02 AM, Dejan Muhamedagic wrote: > Hi Serge, > > On Tue, May 24, 2011 at 08:14:21AM -0600, Serge Dubrouski wrote: > > On Tue, May 24, 2011 at 4:10 AM, Dejan Muhamedagic >wrote: > > > > > Hi all, > > > > > > Fabio sugges

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

2011-05-24 Thread Serge Dubrouski
x-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] Bug in crm shell or pengine

2011-04-26 Thread Serge Dubrouski
On Tue, Apr 26, 2011 at 1:03 PM, Dejan Muhamedagic wrote: > Hi, > > On Tue, Apr 19, 2011 at 09:22:41AM -0600, Serge Dubrouski wrote: >> On Tue, Apr 19, 2011 at 1:12 AM, Andrew Beekhof wrote: >> > On Mon, Apr 18, 2011 at 11:38 PM, Serge Dubrouski >> &g

Re: [Linux-ha-dev] Bug in crm shell or pengine

2011-04-19 Thread Serge Dubrouski
On Tue, Apr 19, 2011 at 1:12 AM, Andrew Beekhof wrote: > On Mon, Apr 18, 2011 at 11:38 PM, Serge Dubrouski wrote: >> Ok, I've read the documentation. It's not a bug, it's a feature :-) > > Might be nice if the shell could somehow prevent such configs, but it >

Re: [Linux-ha-dev] OCFT file and Patch for pgsql

2011-04-19 Thread Serge Dubrouski
:23:44PM -0600, Serge Dubrouski wrote: >> Hello - >> >> Attached are ocft file and small patch for pgsql RA. Patch adds some >> more validations for correct settings for OCF_RESKEY_pgdba user and >> fixes several exit codes. >> >> I'm kind of new to git

Re: [Linux-ha-dev] Bug in crm shell or pengine

2011-04-18 Thread Serge Dubrouski
Ok, I've read the documentation. It's not a bug, it's a feature :-) On Mon, Apr 18, 2011 at 3:01 PM, Serge Dubrouski wrote: > Hello - > > Looks like there is a bug in crm shell Pacemaker version 1.1.5 or in pengine. > > > primitive pg_drbd ocf:linbit:drbd \ >

[Linux-ha-dev] Bug in crm shell or pengine

2011-04-18 Thread Serge Dubrouski
p_dup: Do not use the same (name, interval) combination more than once per resource Apr 17 04:05:29 cs51 pengine: [5534]: ERROR: is_op_dup: Operation pg_drbd-monitor-60s-0 is a duplicate of pg_drbd-monitor-60s Plus strange behavior of the cluster like inabi

[Linux-ha-dev] OCFT file and Patch for pgsql

2011-04-18 Thread Serge Dubrouski
Hello - Attached are ocft file and small patch for pgsql RA. Patch adds some more validations for correct settings for OCF_RESKEY_pgdba user and fixes several exit codes. I'm kind of new to git so let me know if the patch isn't properly formatted. -- Serge Dubrouski. pgsql_ocft D

Re: [Linux-ha-dev] [PATCH] manage PostgreSQL 9.0 streaming replication using Master/Slave

2011-02-14 Thread Serge Dubrouski
and do some tests. Let's think if that's possible to implement real Master/Slave in Pacemaker sense of things. > _______ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev >

Re: [Linux-ha-dev] [PATCH] manage PostgreSQL 9.0 streaming replication using Master/Slave

2011-02-10 Thread Serge Dubrouski
attributes on the fly, otherwise I don't see to much value in it. Tailing ha-log ore messages log file seems simpler than running cibadmin -Ql and grepping for that attribute. > > But I don't feel so slow in my circumstance. > Doesn't attrd_updater work in synchronization?

Re: [Linux-ha-dev] [PATCH] manage PostgreSQL 9.0 streaming replication using Master/Slave

2011-02-09 Thread Serge Dubrouski
interval="10s" on-fail="restart" \ >        op monitor timeout="60s"   interval="9s"  on-fail="restart" > role="Master" \ >        op promote timeout="3600s" interval="0s"  on-fail="restart" \ >        op demote  timeout="60s"   interval="0s"  on-fail="block" \ >        op stop    timeout="60s"   interval="0s"  on-fail="block" > primitive pingd ocf:pacemaker:pingd \ >        params \ >                name="ping_set" \ >                host_list="172.20.24.103" \ >                multiplier="100" \ >                dampen="0" \ >        op start   timeout="60s" interval="0s"  on-fail="restart" \ >        op monitor timeout="60s" interval="10s" on-fail="restart" \ >        op stop    timeout="60s" interval="0s"  on-fail="ignore" > > location rsc_location-1 vip \ >        rule -inf: not_defined ping_set or ping_set lt 100 > location rsc_location-2 msPostgresql \ >        rule -inf: not_defined ping_set or ping_set lt 100 \ >        rule -inf: defined fail-count-vip > > colocation rsc_colocation-1 inf: vip                 clnPingd > colocation rsc_colocation-2 inf: msPostgresql        clnPingd > colocation rsc_colocation-3 inf: msPostgresql:Master vip > > order rsc_order-1 0: clnPingd     msPostgresql > order rsc_order-2 0: msPostgresql vip > order rsc_order-3 0: vip          msPostgresql:promote > --- > > > Regards, > Takatoshi MATSUO > > ___ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] [PATCH] manage PostgreSQL 9.0 streaming replication using Master/Slave

2011-02-07 Thread Serge Dubrouski
very > old data, so I bring in repressing start flag file($REPRESS_START) > to repress restarting PostgreSQL automatically with old data. > Therefore you have to backup and restore new data and remove this flag > before starting PostgreSQL if it exists. > > > How do you think thes

Re: [Linux-ha-dev] [PATCH] Medium: .ocf-shellfuncs: add ocf_test_pid convenience function

2010-12-15 Thread Serge Dubrouski
nux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] [PATCH]A revision to the delay of the fuser command of pgsql.

2010-11-08 Thread Serge Dubrouski
rry > I think that a patch of Serge works definitely. > > Best Regards, > Hideo Yamauchi. > Dejan - Could you please apply it. Thanks. -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] [PATCH]A revision to the delay of the fuser command of pgsql.

2010-11-04 Thread Serge Dubrouski
user. Probably no the best option. 2. Use different unix_socket_directory variable in postgresql.conf file for different instances. 3. Use different pgdb for different instances. 4. use different pg_host for different instances. > > And the patch of Dejan is better than the patch which I

Re: [Linux-ha-dev] [PATCH]A revision to the delay of the fuser command of pgsql.

2010-11-04 Thread Serge Dubrouski
On Thu, Nov 4, 2010 at 2:22 PM, Lars Ellenberg wrote: > On Thu, Nov 04, 2010 at 04:52:49PM +0100, Dejan Muhamedagic wrote: >> Hi, >> >> On Thu, Nov 04, 2010 at 08:54:02AM -0600, Serge Dubrouski wrote: >> > Honestly I've never liked that fuser. No doubt that i

Re: [Linux-ha-dev] [PATCH]A revision to the delay of the fuser command of pgsql.

2010-11-04 Thread Serge Dubrouski
_____ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > > -- Serge Dubrouski. pgsql_no_fuser Description: Binary data ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] pgsql patch for monitor operation

2010-10-06 Thread Serge Dubrouski
On Wed, Oct 6, 2010 at 8:42 AM, Dejan Muhamedagic wrote: > Hi Serge, > > On Wed, Oct 06, 2010 at 06:51:05AM -0600, Serge Dubrouski wrote: >> On Wed, Oct 6, 2010 at 5:51 AM, Lars Ellenberg >> wrote: >> > On Wed, Oct 06, 2010 at 01:31:07PM +0900, renayama19661...@y

Re: [Linux-ha-dev] pgsql patch for monitor operation

2010-10-06 Thread Serge Dubrouski
ersion of this patch. > -- > : Lars Ellenberg > : LINBIT | Your Way to High Availability > : DRBD/HA support and consulting http://www.linbit.com > > DRBD® and LINBIT® are registered trademarks of LINBIT, Austria. > ___ >

Re: [Linux-ha-dev] pgsql patch for monitor operation

2010-10-06 Thread Serge Dubrouski
there is a problem to your this patch. >> The -q option of the monitor is lost. >> >> -    runasowner -q "$OCF_RESKEY_psql $psql_options -c 'select now();'" >> +    runasowner "$OCF_RESKEY_psql $psql_options -c '$OCF_RESKEY_monitor_sql'&q

Re: [Linux-ha-dev] pgsql patch for monitor operation

2010-10-05 Thread Serge Dubrouski
Attached is an updated version of the patch. monitor_script was renamed to monitor_sql. Exit codes were updated as well. On Tue, Oct 5, 2010 at 8:58 AM, Dejan Muhamedagic wrote: > On Fri, Oct 01, 2010 at 01:59:03PM -0600, Serge Dubrouski wrote: >> Hello - >> >> Attached is

Re: [Linux-ha-dev] pgsql patch for monitor operation

2010-10-04 Thread Serge Dubrouski
Thanks. On Mon, Oct 4, 2010 at 8:36 AM, wrote: > Hi Serge, > > I confirm this patch this week. > And I intend to contribute the patch of loglevel of the first monitor by > addition. > > Best Regards, > Hideo Yamauchi. > > --- Serge Dubrouski wrote: > >>

[Linux-ha-dev] pgsql patch for monitor operation

2010-10-01 Thread Serge Dubrouski
nd doesn't require changes for the current configuration if users don't want to use these new features. Please review and push it into dev tip. Thanks. -- Serge Dubrouski. pgsql_monitor_patch Description: Binary data ___ Linux-

Re: [Linux-ha-dev] [PATCH]The evasion of the probe error for pgsql.

2010-09-24 Thread Serge Dubrouski
Thanks, Lars, for the explanation. Dejan, can you fix it? On Thu, Sep 23, 2010 at 4:48 PM, Lars Ellenberg wrote: > On Wed, Sep 22, 2010 at 08:26:43AM -0600, Serge Dubrouski wrote: >> Thanks, Dejan - >> >> There was one more little patch for pgsql to replace: >&g

Re: [Linux-ha-dev] [PATCH]The evasion of the probe error for pgsql.

2010-09-22 Thread Serge Dubrouski
velopment version please reflect this patch. > > Patch applied. > > Cheers, > > Dejan > >> Best Regards, >> Hideo Yamauchi. >> >> >> --- Serge Dubrouski wrote: >> >> > This is good. Thanks, Hideo. >> > >> > 2010/9/17

Re: [Linux-ha-dev] Patch for ocf_run in .ocf_shullfuncs

2010-09-20 Thread Serge Dubrouski
tion of the load of the > CPU in time that start of > postgres takes. Does it mean that introducing a new OCF parameter, something like OCF_RESKEY_timeout_before_first_monitor, sounds like a wise idea? > > Best Regards, > Hideo Yamauchi. > > > > --- Serge Dubrouski wro

Re: [Linux-ha-dev] Patch for ocf_run in .ocf_shullfuncs

2010-09-19 Thread Serge Dubrouski
fi sleep 2 while : do > > However, it is considerably troublesome to let ocf_run support loglevel. > > I think a little more, too. > > Best Regards, > Hideo Yamauchi. > > > --- Serge Dubrouski wrote: > >> Do you think that changing that &

Re: [Linux-ha-dev] Patch for ocf_run in .ocf_shullfuncs

2010-09-17 Thread Serge Dubrouski
erence confuses an operator. > > Best Regards, > Hideo Yamauchi. > > > ___ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] [PATCH]The evasion of the probe error for pgsql.

2010-09-17 Thread Serge Dubrouski
_ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] Patch for ocf_run in .ocf_shullfuncs

2010-09-16 Thread Serge Dubrouski
Dejan - Did you not notice this patch or it's no good? There was also a small patch for pgsql a couple weeks ago. Thanks. On Tue, Sep 14, 2010 at 10:13 AM, Serge Dubrouski wrote: > Hello - > > Attached is a patch for ocf_run function in .ocf_shellfunc. The patch > make ocf

[Linux-ha-dev] Patch for ocf_run in .ocf_shullfuncs

2010-09-14 Thread Serge Dubrouski
hanks. -- Serge Dubrouski. ocf_run_patch1 Description: Binary data ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] pgsql Patch

2010-09-13 Thread Serge Dubrouski
> Best Regards, > Hideo Yamauchi. > > ___ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-

Re: [Linux-ha-dev] pgsql Patch

2010-09-03 Thread Serge Dubrouski
user. I'd say yes it's good to have that additional info for error cases. However if we can't modify ocf_run and make it to return the right exit code, then we surely need to apply your patch. > > Best Regards, > Hideo Yamauchi. > > --- Serge Dubrouski wro

Re: [Linux-ha-dev] pgsql Patch

2010-09-02 Thread Serge Dubrouski
check what was the real problem on the start of posgresql an expects to have a real exit code from pg_ctl. > > Best Regards, > Hideo Yamauchi. > > > --- Lars Marowsky-Bree wrote: > >> On 2010-09-01T20:26:09, Serge Dubrouski wrote: >> >> > While I'm agree

Re: [Linux-ha-dev] pgsql Patch

2010-09-01 Thread Serge Dubrouski
   ocf_log err "Script error (the variable ON_ERROR_STOP was set) > occurred while executing > the psql command." > -        fi >        return $OCF_ERR_GENERIC >     fi > > > Best Regards, > Hideo Yamauchi. > > > --- Serge Dubrouski wrote: > >> Attached

[Linux-ha-dev] pgsql Patch

2010-09-01 Thread Serge Dubrouski
Attached is a patch for pgsql to fix the problem with access to the /var/lib/heartbeat/cores/root directory at runtime. -- Serge Dubrouski. diff -r 7200186935f1 heartbeat/pgsql --- a/heartbeat/pgsql Tue Aug 31 17:01:39 2010 +0900 +++ b/heartbeat/pgsql Wed Sep 01 10:42:25 2010 -0600 @@ -229,7

Re: [Linux-ha-dev] [Problem]The restraint of the error of pgsql.

2010-08-22 Thread Serge Dubrouski
a19661...@ybb.ne.jp wrote: > >> Hi Serge, >> >> Thank you for a patch. >> I test a patch and will report a result next week. >> >> > Hideo-san, I don't think that we need to introduce a new parameter to >> > control verbosity of monitor. Ther

Re: [Linux-ha-dev] [Problem]The restraint of the error of pgsql.

2010-08-20 Thread Serge Dubrouski
. There is nothing really important in that output. On Fri, Aug 20, 2010 at 2:45 AM, Dejan Muhamedagic wrote: > Hi, > > On Thu, Aug 19, 2010 at 08:43:38AM -0600, Serge Dubrouski wrote: >> Ahh, thanks. I've  got where is the problem, and just wonder if apache >> RA suffers

Re: [Linux-ha-dev] [Problem]The restraint of the error of pgsql.

2010-08-19 Thread Serge Dubrouski
ionality was created. > > Yes. > I know that there is a function of current pgsql for other users. > But I think that the analysis of config file is not necessary for another > many users. > In addition, in our environment, pgsql moves without analysis. > >

Re: [Linux-ha-dev] [Problem]The restraint of the error of pgsql.

2010-08-18 Thread Serge Dubrouski
pinion of > all of you. > > Best Regards, > Hideo Yamauchi. > > ___ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

Re: [Linux-ha-dev] [PATCH]Restraint of the noisy log output of the monitor processing.

2010-08-18 Thread Serge Dubrouski
Engineering, Novell, Inc. > SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) > "Experience is the name everyone gives to their mistakes." -- Oscar Wilde > > ___ > Linux-HA-Dev: Linux-HA-Dev@lists.l

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

2010-06-25 Thread Serge Dubrouski
That change is Ok. Attached is a patch to fix meta-data. On Fri, Jun 25, 2010 at 11:31 AM, Dejan Muhamedagic wrote: > Hi, > > On Fri, Jun 25, 2010 at 08:28:54AM -0600, Serge Dubrouski wrote: >> Hi, Dejan - >> >> What's the point of introducing check_binary2 ? The

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

2010-06-25 Thread Serge Dubrouski
SKEY_config" ]; then +ocf_log err "the configuration file $OCF_RESKEY_config doesn't exist" + return $OCF_ERR_INSTALLED +fi On Fri, Jun 25, 2010 at 8:28 AM, Serge Dubrouski wrote: > Hi, Dejan - > > What's the point of introducing check_binary2 ? The old v

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

2010-06-25 Thread Serge Dubrouski
4:22 AM, Dejan Muhamedagic wrote: > Hi, > > On Thu, Jun 24, 2010 at 11:59:55AM -0600, Serge Dubrouski wrote: >> Attached is an improved patch. >> >> 1. It parses unix_socket_directory out from PostgreSQL configuration >> file and used its value as a default value of

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

2010-06-25 Thread Serge Dubrouski
On Fri, Jun 25, 2010 at 5:56 AM, Lars Ellenberg wrote: > On Fri, Jun 25, 2010 at 01:49:32PM +0200, Dejan Muhamedagic wrote: >> On Fri, Jun 25, 2010 at 12:58:15PM +0200, Lars Ellenberg wrote: >> > On Thu, Jun 24, 2010 at 11:59:55AM -0600, Serge Dubrouski wrote: >> > >

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

2010-06-25 Thread Serge Dubrouski
On Fri, Jun 25, 2010 at 4:58 AM, Lars Ellenberg wrote: > On Thu, Jun 24, 2010 at 11:59:55AM -0600, Serge Dubrouski wrote: >> Attached is an improved patch. >> >> 1. It parses unix_socket_directory out from PostgreSQL configuration >> file and used its

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

2010-06-24 Thread Serge Dubrouski
Jun 24, 2010 at 8:37 AM, Serge Dubrouski wrote: > That was I though to do with one exception: > > check_socket_dir() { >     if [ ! -d "$1" ] >     then >            mkdir >            chmod >            chown >     else >          

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

2010-06-24 Thread Serge Dubrouski
0200, Lars Ellenberg wrote: >> On Tue, Jun 22, 2010 at 10:05:10AM -0600, Serge Dubrouski wrote: >> > Yes it is possible to parse it from postgresql.conf of from provided >> > config file. >> >> Then that should be done, IMO. >> Otherwise it has to be c

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

2010-06-22 Thread Serge Dubrouski
error checks. On Tue, Jun 22, 2010 at 6:53 AM, Lars Ellenberg wrote: > On Tue, Jun 22, 2010 at 01:16:35PM +0200, Dejan Muhamedagic wrote: >> Hi Serge, >> >> On Mon, Jun 21, 2010 at 10:19:13AM -0600, Serge Dubrouski wrote: >> > Hello - >> > >> > Som

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

2010-06-22 Thread Serge Dubrouski
plained on this problem. /tmp doesn't have to be created neither it's ownership changed. On Tue, Jun 22, 2010 at 5:16 AM, Dejan Muhamedagic wrote: > Hi Serge, > > On Mon, Jun 21, 2010 at 10:19:13AM -0600, Serge Dubrouski wrote: >> Hello - >> >> Some users report

[Linux-ha-dev] Patch for pgsql RA

2010-06-21 Thread Serge Dubrouski
Hello - Some users reported a need for this patch to cover the situation with non-default unix socket directory in PostgreSQL configuration. -- Serge Dubrouski. --- a/heartbeat/pgsql 2010-06-21 09:41:06.0 -0600 +++ b/heartbeat/pgsql 2010-06-21 10:03:04.0 -0600 @@ -27,6 +27,7

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

2010-01-13 Thread Serge Dubrouski
bsolutely right here and results of those echo commands are logged in, at least in my configuration. But this patch makes sense anyway since it unifies output methods. So please apply it if you don't have any arguments against it. Thanks. -- Serge Dubrouski. _

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

2009-06-29 Thread Serge Dubrouski
) > > Best regards, > NAKAHIRA Kazutomo > > Serge Dubrouski wrote: >> >> Here is the one with applied patch. >> >> On Mon, Jun 22, 2009 at 3:54 PM, Dejan Muhamedagic >> wrote: >>> >>> Hi Serge, >>> >>> On Mon, Jun 2

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

2009-06-22 Thread Serge Dubrouski
Here is the one with applied patch. On Mon, Jun 22, 2009 at 3:54 PM, Dejan Muhamedagic wrote: > Hi Serge, > > On Mon, Jun 22, 2009 at 02:04:30PM -0600, Serge Dubrouski wrote: >> Dejan - >> >> Please try this one. > > No luck: > > [0]rondo:work > patch -

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

2009-06-22 Thread Serge Dubrouski
Dejan - Please try this one. On Mon, Jun 22, 2009 at 1:54 PM, Serge Dubrouski wrote: > heartbeat-resources-2.99.2-8.1.i386 > > And this is the right one. I used it to create that patch and just > applied my patch against it without any problems: > > [r...@fc-node1 pgsql]# p

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

2009-06-22 Thread Serge Dubrouski
here: http://hg.clusterlabs.org/pacemaker/stable-1.0/file/e5c2b1d937ac/resources/OCF/pgsql is the wrong one. On Mon, Jun 22, 2009 at 1:36 PM, Dejan Muhamedagic wrote: > Hi Serge, > > On Mon, Jun 22, 2009 at 01:04:23PM -0600, Serge Dubrouski wrote: >> Dejan - >> >> S

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

2009-06-22 Thread Serge Dubrouski
: > Hi Serge, > > On Mon, Jun 22, 2009 at 12:24:44PM -0600, Serge Dubrouski wrote: >> And here is the patch. > > Looks like you were using a different version than what we have > in the hg repository: > > [0]rondo:work > patch -p0 --dry-run < /tmp/pgsql.patch

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

2009-06-22 Thread Serge Dubrouski
And here is the patch. On Mon, Jun 22, 2009 at 12:00 PM, Serge Dubrouski wrote: > All these patches are OK with one exception. Construction $(command) isn't > supported by native Bourne shell so I'd propose changing it to `command`. > Attached is a patch that combines all

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

2009-06-22 Thread Serge Dubrouski
___ > Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org > http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev > Home Page: http://linux-ha.org/ > > -- Serge Dubrouski. ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev Home Page: http://linux-ha.org/

  1   2   3   >