[Pacemaker] Same host displayed twice in crm status

2013-03-29 Thread Nicolas J.
Hi, I have a problem with a Corosync/Pacemaker configuration. One host of the cluster has been renamed and now the host is displayed twice in the configuration. When I try to remove the host from the configuration it works but if corosync is restarted on one node, the old host appears again. I tr

Re: [Pacemaker] PGSQL resource promotion issue

2013-03-29 Thread Steven Bambling
Taskatoshi/Rainer thanks so much for the quick responses and clarification. In response to the rep_mode being set to sync. If the master is running the monitor check as low as every 1s, then its updating the nodes with the "new" master preference in the event that the current synchronous replic

Re: [Pacemaker] PGSQL resource promotion issue

2013-03-29 Thread Takatoshi MATSUO
Hi Steven 2013/3/29 Steven Bambling : > > On Mar 28, 2013, at 8:13 AM, Rainer Brestan wrote: > > Hi Steve, > i think, you have misunderstood how ip addresses are used with this setup, > PGVIP should start after promotion. > Take a look at Takatoshi´s Wiki. > https://github.com/t-matsuo/resource-a

Re: [Pacemaker] PGSQL resource promotion issue

2013-03-29 Thread Rainer Brestan
Look at the order. Master/replication VIP ist started after promote and stopped after demote. listen_addresses = "*" means dont take care about specific interfaces, so it will listen on all interfaces not matter if they are coming up or switching down after postgres start.   The master either

Re: [Pacemaker] issues when installing on pxe booted environment

2013-03-29 Thread Rainer Brestan
Puh, i haven´t thought the discussion became this direction.   Corosync is not the only software, which need shared memory, so it is part of the OS startup to provide it, not part of Corosync or Pacemaker. And yes, it is too late to mount it in Pacemaker startup. Even in most embedded Linux ins

Re: [Pacemaker] PGSQL resource promotion issue

2013-03-29 Thread Steven Bambling
On Mar 28, 2013, at 8:13 AM, Rainer Brestan mailto:rainer.bres...@gmx.net>> wrote: Hi Steve, i think, you have misunderstood how ip addresses are used with this setup, PGVIP should start after promotion. Take a look at Takatoshi´s Wiki. https://github.com/t-matsuo/resource-agents/wiki/Resource-

Re: [Pacemaker] issues when installing on pxe booted environment

2013-03-29 Thread Jacek Konieczny
On Fri, 29 Mar 2013 11:37:37 +1100 Andrew Beekhof wrote: > On Thu, Mar 28, 2013 at 10:43 PM, Rainer Brestan > wrote: > > Hi John, > > to get Corosync/Pacemaker running during anaconda installation, i > > have created a configuration RPM package which does a few actions > > before starting Corosy

Re: [Pacemaker] Speeding up startup after migration

2013-03-29 Thread Vladislav Bogdanov
29.03.2013 03:31, Andrew Beekhof wrote: > On Fri, Mar 29, 2013 at 4:12 AM, Benjamin Kiessling > wrote: >> Hi, >> >> we've got a small pacemaker cluster running which controls an >> active/passive router. On this cluster we've got a semi-large (~30) >> number of primitives which are grouped togethe