Re: [Linux-ha-dev] crmsh error : cib-bootstrap-options already exist

2013-08-29 Thread Takatoshi MATSUO
Hi Kristoffer Thank you. I confirmd it. Regards, Takatoshi MATSUO 2013/8/29 Kristoffer Grönlund : > Hi Takatoshi-san, > > On Thu, 29 Aug 2013 10:25:14 +0900 > Takatoshi MATSUO wrote: > >> BTW, why doesn't "crm site" support "up" command ? >>

Re: [Linux-ha-dev] crmsh error : cib-bootstrap-options already exist

2013-08-28 Thread Takatoshi MATSUO
end list ready status-attr cdexit maintenance show up Regards, Takatoshi MATSUO 2013/8/29 Dejan Muhamedagic : > On Tue, Aug 27, 2013 at 09:14:31PM +0300, Vladislav Bogdanov wrote: >> 27.08.2013 19:11, Dejan Muhamedagic wrote: >

Re: [Linux-ha-dev] crmsh error : cib-bootstrap-options already exist

2013-08-22 Thread Takatoshi MATSUO
Hi Kristoffer 2013/8/22 Kristoffer Grönlund : > Hi Takatoshi-san, > > On Wed, 21 Aug 2013 13:56:34 +0900 > Takatoshi MATSUO wrote: > >> Hi Kristoffer >> >> I reproduced the error with latest changest(b5ffd99e). > > Thank you, with your description I was abl

Re: [Linux-ha-dev] crmsh error : cib-bootstrap-options already exist

2013-08-20 Thread Takatoshi MATSUO
resource-stickiness="INFINITY" \ migration-threshold="1" - Regards, Takatoshi MATSUO 2013/8/21 Kristoffer Grönlund : > Hi Takatoshi-san, > > On Tue, 20 Aug 2013 14:18:49 +0900 > Takatoshi MATSUO wrote: > >> Hi Krist

Re: [Linux-ha-dev] crmsh error : cib-bootstrap-options already exist

2013-08-19 Thread Takatoshi MATSUO
t; > On Fri, 9 Aug 2013 09:42:36 +0900 > Takatoshi MATSUO wrote: > >> # crm configure load update config.crm > /dev/null >> Call cib_apply_diff failed (-203): Update does not conform to the >> configured schema >> ERROR: could not patch cib (rc=203) >> IN

Re: [Linux-ha-dev] crmsh error : cib-bootstrap-options already exist

2013-08-08 Thread Takatoshi MATSUO
urce-stickiness="INFINITY" \ migration-threshold="1" --- # crm configure load update config.crm > /dev/null Call cib_apply_diff failed (-203): Update does not conform to the configured schema ERROR: could not patch cib (rc=203) INFO: offend

[Linux-ha-dev] crmsh error : cib-bootstrap-options already exist

2013-08-07 Thread Takatoshi MATSUO
aults \ resource-stickiness="INFINITY" \ migration-threshold="1" --- I use - RHEL6 - Pacemaker 83fc351 (latest) Thanks, Takatoshi MATSUO ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org/mailm

Re: [Linux-ha-dev] crmsh issues FutureWarning of python

2013-06-27 Thread Takatoshi MATSUO
Hi Dejan Thanks. I can confirm the bug is fixed. Regards, Takatoshi MATSUO 2013/6/27 Dejan Muhamedagic : > Hi Takatoshi-san, > > On Thu, Jun 27, 2013 at 02:43:15PM +0900, Takatoshi MATSUO wrote: >> Hi Dejan >> >> Thanks. >> But previous commit c8e7cb61 or 7c

Re: [Linux-ha-dev] crmsh issues FutureWarning of python

2013-06-26 Thread Takatoshi MATSUO
e.insert(firstelem, comm_elem) File "lxml.etree.pyx", line 723, in lxml.etree._Element.insert (src/lxml/lxml.etree.c:32132) TypeError: 'NoneType' object cannot be interpreted as an index Commit ff28b19b doesn't issue this error. Regards, Takatoshi MATSUO 2013/6/26 Dej

Re: [Linux-ha-dev] crmsh issues FutureWarning of python

2013-06-25 Thread Takatoshi MATSUO
Hi Dejan I received another FutureWarning of python. /usr/lib64/python2.6/site-packages/crmsh/completion.py:88: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead. if not doc Regards, Taka

Re: [Linux-ha-dev] crmsh issues FutureWarning of python

2013-06-21 Thread Takatoshi MATSUO
Hi Dejan Thank you for your quick response. I can inhibit warnings. Regards, Takatoshi MATSUO 2013/6/21 Dejan Muhamedagic : > Hi Takatoshi-san, > > On Fri, Jun 21, 2013 at 04:41:39PM +0900, Takatoshi MATSUO wrote: >> Hi Dejan >> >> I use latest crmsh(ff28b19bdb1d)

[Linux-ha-dev] crmsh issues FutureWarning of python

2013-06-21 Thread Takatoshi MATSUO
instead. if comments and node: --- I use python 2.7.3 on Fedora 18. Python 2.6.6 issues same warning on RHEL6. Thanks, 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/

Re: [Linux-ha-dev] [resource-agents] Low: pgsql: check existence of instance number in replication mode (#159)

2012-10-25 Thread Takatoshi MATSUO
2012/10/25 Dejan Muhamedagic : > On Thu, Oct 25, 2012 at 06:09:38AM -0700, Lars Ellenberg wrote: >> On Thu, Oct 25, 2012 at 03:38:47AM -0700, Takatoshi MATSUO wrote: >> > Usually, we use "crm_master" command instead of "crm_attribute" to change >>

Re: [Linux-ha-dev] [resource-agents] Low: pgsql: check existence of instance number in replication mode (#159)

2012-10-25 Thread Takatoshi MATSUO
2012/10/26 Andrew Beekhof : > On Thu, Oct 25, 2012 at 10:01 PM, Takatoshi MATSUO > wrote: >> Usually, we use "crm_master" command instead of "crm_attribute" to >> change own master score in RA. >> But PostgreSQL's Slave can't get own replica

Re: [Linux-ha-dev] [resource-agents] Low: pgsql: check existence of instance number in replication mode (#159)

2012-10-25 Thread Takatoshi MATSUO
ary usage. > So if pgsql thinks it needs these instance numbers, > maybe it is not so "anonymous" a clone, after all? > > Would the existing resource agent work with globally-unique=true ? No, I use it with false and it dosen't need true. -- Takatoshi MATSUO 2012/10/

Re: [Linux-ha-dev] improvements of the libvirt stonith plugin

2012-07-14 Thread Takatoshi MATSUO
Hi Dejan, Hideo-San Thanks for bringing back it and adoption. Regards, Takatoshi MATSUO 2012/7/14 : > Hi Dejan, > > I confirmed the adoption of the patch. > > Many Thanks! > Hideo Yamauchi. > > --- On Fri, 2012/7/13, Dejan Muhamedagic wrote: > >> Hi Hideo-san,

[Linux-ha-dev] improvements of the libvirt stonith plugin

2012-05-31 Thread Takatoshi MATSUO
nning - Xen on RHEL5 - # virsh destroy host1 error: Failed to destroy domain host1 error: invalid argument in Domain host1 isn't running. - I attached a patch. Regards, Takatoshi MATSUO libvirt.patch Description: B

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

2012-03-28 Thread Takatoshi MATSUO
ps://github.com/t-matsuo/resource-agents/commit/c279b83d3590b8f9bd6c6e1c150008da1121a760 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/

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

2012-03-19 Thread Takatoshi MATSUO
There is a report that it dosen't work on debian's dash, because it uses "echo -e" to treat line break. We'll use "printf" instead of "echo -e ". 2012/3/20 Serge Dubrouski : > Sorry, we'll rework the patch. > > On Mar 19, 2012 2:39 PM, "Soffen, Matthew" wrote: >> >> I believe that the reason fo

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

2012-03-13 Thread Takatoshi MATSUO
Hello Serge 2012/3/9 Takatoshi MATSUO : > Hello Serge > > 2012/3/8 Serge Dubrouski : >> Hello, Takatoshi - >> >> On one hand this is a good feature to have, but on another if it's not >> stable, fails most of the time and brings to much of complexity to th

[Linux-ha-dev] [PATCH] fix a description of stop_escalate parameter in pgsql RA

2012-03-11 Thread Takatoshi MATSUO
Hi I found a slight bug in pgsql RA. I fixed a description of "stop_escalate" parameter. Regards, Takatoshi MATSUO pgsql_stop_escalate.patch Description: Binary data ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.li

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

2012-03-08 Thread Takatoshi MATSUO
de support for stopping > resources on demote in the future versions of Pacemaker. It's a good news. I will remove code of restarting for the future. Please accept a little complexity until future version is released. > > On Tue, Mar 6, 2012 at 11:43 PM, Takatoshi MATSUO > wrote: >

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

2012-03-06 Thread Takatoshi MATSUO
gards, Takatoshi MATSUO 2012/2/6 Takatoshi MATSUO : > Hi Serge > > Thank you. > I applied it to my repository. > > > 2012/2/6 Serge Dubrouski : >> Takatoshi - >> >> Please consider apllying attached patch to your version of pgsql RA. It's >> all cosm

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

2012-02-05 Thread Takatoshi MATSUO
ndations I expressed earlier. > > > On Tue, Dec 13, 2011 at 3:37 AM, Takatoshi MATSUO > wrote: >> >> Hello Serge >> >> 2011/12/13 Serge Dubrouski : >> > >> > >> > On Mon, Dec 12, 2011 at 4:28 AM, Takatoshi MATSUO >> > wrote: >

[Linux-ha-dev] [PATCH] use local statement in ha_log()

2012-01-29 Thread Takatoshi MATSUO
Hi "loglevel" variable is not declared with local statement in ha_log(). It affects resource agent's behavior. -- Regards, Takatoshi MATSUO ha_log_use_local_statement.patch Description: Binary data ___ Linux-HA-Dev: Linux-HA-

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

2011-12-13 Thread Takatoshi MATSUO
Hello Serge 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, Dec 8, 2011 at 10:04 PM, Takatoshi MATSUO

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

2011-12-12 Thread Takatoshi MATSUO
Hello Serge 2011/12/12 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

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

2011-12-08 Thread Takatoshi MATSUO
Hello Serge 2011/12/8 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 f

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

2011-12-05 Thread Takatoshi MATSUO
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 has all > necessary interfaces to successfully implement Pacemaker's M/S concept. So &g

Re: [Linux-ha-dev] [PATCH] ocf-tester permits a space character

2011-10-18 Thread Takatoshi MATSUO
Hi Dejan Thank you for applying. Best Regards, Takatoshi MATSUO 2011/10/18 Dejan Muhamedagic : > Hi Takatoshi-san, > > On Tue, Oct 18, 2011 at 11:12:35AM +0900, Takatoshi MATSUO wrote: >> Hi >> >> ocf-tester command is failed when -o option includes a sp

[Linux-ha-dev] [PATCH] ocf-tester permits a space character

2011-10-17 Thread Takatoshi MATSUO
_opt="-p 5432" pgsql Beginning tests for pgsql... /usr/sbin/ocf-tester: line 263: export: `5432': not a valid identifier ------ I attached a patch. Best Regards, Takatoshi MATSUO ocf-tester_permits_a_space_character.patch Description: Binary data ___

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

2011-08-01 Thread Takatoshi MATSUO
Hi Thanks for applying. Regards, Takatoshi MATSUO 2011/8/1 Dejan Muhamedagic : > Hi, > > On Fri, Jul 22, 2011 at 08:18:57AM -0600, Serge Dubrouski wrote: >> Thanks for catching this! Could somebody apply it? > > Applied. Thanks for the patch! > > Cheers, > > Dej

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

2011-07-21 Thread Takatoshi MATSUO
Hi I found a slight bug for pgsql. You know, type of config parameter is not integer but string. Best Regard, Takatoshi MATSUO pgsql.patch Description: Binary data ___ Linux-HA-Dev: Linux-HA-Dev@lists.linux-ha.org http://lists.linux-ha.org

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

2011-02-14 Thread Takatoshi MATSUO
x27;s possible to implement real > Master/Slave in Pacemaker sense of things. > Thank you for considering my proposal. I'll try to think another approach. 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/

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

2011-02-14 Thread Takatoshi MATSUO
>> Ideally demote operation should stop a master node and then restart it >> in hot-standby mode. It's up to administrator to make sure that no >> node with outdated data gets promoted to the master role. One should >> follow standard procedures: cluster software shouldn't be configured >> for auto

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

2011-02-13 Thread Takatoshi MATSUO
ke sense if we had a GUI that was >able to refresh such 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. Of course I use "ocf_log info" too, but m

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

2011-02-10 Thread Takatoshi MATSUO
in synchronization? > I need some time to build PosgreSQL 9.0 test cluster and try some more tests. Regards, Takatoshi MATSUO 2011/2/10, Serge Dubrouski : > Hello - > > I'm not sure that I really like this approach. > > 1. It doesn't follow standard Master/Slav log

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

2011-02-08 Thread Takatoshi MATSUO
params \ name="ping_set" \ host_list="172.20.24.103" \ multiplier="100" \ dampen="0" \ op start timeout="60s" interval="0s" on-fail="restart&

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

2011-02-07 Thread Takatoshi MATSUO
his time primary server is broken, hot standby server is promoted with 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 starti

Re: [Linux-ha-dev] [PATCH] add fsck execution mode parameter for Filesystem RA

2010-06-06 Thread Takatoshi MATSUO
Hi (2010/06/04 23:18), Dejan Muhamedagic wrote: > Hi, > > On Fri, Jun 04, 2010 at 02:16:42PM +0200, Bernd Schubert wrote: >> On Friday 04 June 2010, Dejan Muhamedagic wrote: >>> Hi Takatoshi-san, >>> >>> On Fri, Jun 04, 2010 at 02:19:42PM +0900, Taka

[Linux-ha-dev] [PATCH] add fsck execution mode parameter for Filesystem RA

2010-06-03 Thread Takatoshi MATSUO
yself executing fsck before mount to operate more safely. This new parameter has three mode "auto","force" and "no". Default is "auto" which do the same thing as before. "force" and "no" mean what they say. Regards, Takatoshi MATSUO dif