Re: [Pacemaker] Monitor and standby

2013-07-03 Thread Denis Witt
Am 03.07.2013 um 22:31 schrieb Lars Ellenberg : > What purpose, exactly, is pacemaker supposed to serve in your setup? Hi Lars, running a two node Active/Passive-Cluster. As we don't have a STONITH-Device we decided to add a third node as quorum node into the setup and stop all services if we

Re: [Pacemaker] Pacemaker remote nodes, naming, and attributes

2013-07-03 Thread David Vossel
- Original Message - > From: "Lindsay Todd" > To: "The Pacemaker cluster resource manager" > Sent: Wednesday, July 3, 2013 2:12:05 PM > Subject: Re: [Pacemaker] Pacemaker remote nodes, naming, and attributes > > Well, I'm not getting failures right now simply with attributes, but I can >

Re: [Pacemaker] Monitor and standby

2013-07-03 Thread Lars Ellenberg
On Wed, Jul 03, 2013 at 12:56:35PM +0200, Denis Witt wrote: > On Wed, 3 Jul 2013 12:35:34 +0200 > Lars Ellenberg wrote: > > > Maybe you and pacemaker disagree about the meaning of "standby"? > > Hi Lars, > > obviously, yes. My understanding was that a standby node just adds it > vote for quorum

Re: [Pacemaker] Pacemaker remote nodes, naming, and attributes

2013-07-03 Thread Lindsay Todd
Well, I'm not getting failures right now simply with attributes, but I can induce a failure by stopping the vm-db02 (it puts db02 into an unclean state, and attempts to migrate the unrelated vm-compute-test). I've collected the commands from my latest interactions, a crm_report, and a gdb tracebac

Re: [Pacemaker] setup advice

2013-07-03 Thread Takatoshi MATSUO
2013/7/3 Andrey Groshev : > > > 03.07.2013, 16:26, "Takatoshi MATSUO" : >> Hi Andrey >> >> 2013/7/3 Andrey Groshev : >> >>> 03.07.2013, 06:43, "Takatoshi MATSUO" : Hi Stefano 2013/7/2 Stefano Sasso : > Hello folks, > I have the following setup in mind, but I need som

Re: [Pacemaker] setup advice

2013-07-03 Thread Andrey Groshev
03.07.2013, 16:26, "Takatoshi MATSUO" : > Hi Andrey > > 2013/7/3 Andrey Groshev : > >>  03.07.2013, 06:43, "Takatoshi MATSUO" : >>>  Hi Stefano >>> >>>  2013/7/2 Stefano Sasso :   Hello folks, I have the following setup in mind, but I need some advice and one hint on   ho

Re: [Pacemaker] setup advice

2013-07-03 Thread Takatoshi MATSUO
Hi Andrey 2013/7/3 Andrey Groshev : > > > 03.07.2013, 06:43, "Takatoshi MATSUO" : >> Hi Stefano >> >> 2013/7/2 Stefano Sasso : >> >>> Hello folks, >>>I have the following setup in mind, but I need some advice and one hint >>> on >>> how to realize a particular function. >>> >>> I have a N

Re: [Pacemaker] Monitor and standby

2013-07-03 Thread Denis Witt
On Wed, 3 Jul 2013 12:35:34 +0200 Lars Ellenberg wrote: > Maybe you and pacemaker disagree about the meaning of "standby"? Hi Lars, obviously, yes. My understanding was that a standby node just adds it vote for quorum but isn't monitored at all. Thanks for clarify this. We solved it by renamin

Re: [Pacemaker] Monitor and standby

2013-07-03 Thread Andrey Groshev
03.07.2013, 14:26, "Denis Witt" : > Hi List, > > we have a two node cluster (test1-node1, test1-node2) with an additional > quorum node (test1). On all nodes MySQL is running. test1-node1 and > test1-node2 sharing the MySQL-Database via DRBD, so only one Node > should run MySQL. On test1 there is

Re: [Pacemaker] Monitor and standby

2013-07-03 Thread Lars Ellenberg
On Wed, Jul 03, 2013 at 12:21:37PM +0200, Denis Witt wrote: > Hi List, > > we have a two node cluster (test1-node1, test1-node2) with an additional > quorum node (test1). On all nodes MySQL is running. test1-node1 and > test1-node2 sharing the MySQL-Database via DRBD, so only one Node > should run

Re: [Pacemaker] Monitor and standby

2013-07-03 Thread Lars Marowsky-Bree
On 2013-07-03T12:21:37, Denis Witt wrote: > Hi List, > > we have a two node cluster (test1-node1, test1-node2) with an additional > quorum node (test1). On all nodes MySQL is running. test1-node1 and > test1-node2 sharing the MySQL-Database via DRBD, so only one Node > should run MySQL. On test1

[Pacemaker] Monitor and standby

2013-07-03 Thread Denis Witt
Hi List, we have a two node cluster (test1-node1, test1-node2) with an additional quorum node (test1). On all nodes MySQL is running. test1-node1 and test1-node2 sharing the MySQL-Database via DRBD, so only one Node should run MySQL. On test1 there is a MySQL-Slave connected to test1-node1/test1-n

Re: [Pacemaker] setup advice

2013-07-03 Thread Andrey Groshev
  03.07.2013, 13:14, "Stefano Sasso" :2013/7/3 Andrey Groshev   03.07.2013, 12:30, "Stefano Sasso" :2013/7/3 Andrey Groshev   03.07.2013, 11:42, "Stefano Sasso" :Does "standby" mean that PostgreSQL is st

Re: [Pacemaker] drbd on passive node not started

2013-07-03 Thread Lars Ellenberg
On Fri, Jun 21, 2013 at 03:36:39PM +0200, andreas graeper wrote: > hi, > n1 active node is started and everything works fine, but after reboot n2 > drbd is not started by pacemaker. when i start drbd manually, crm_mon shows > it as slave ( as if there were no problems). > > maybe someone experienc

Re: [Pacemaker] setup advice

2013-07-03 Thread Stefano Sasso
2013/7/3 Andrey Groshev > > > 03.07.2013, 12:30, "Stefano Sasso" : > > 2013/7/3 Andrey Groshev > > > > 03.07.2013, 11:42, "Stefano Sasso" : > > Does "standby" mean that PostgreSQL is stopped ? > If Master doesn't have WAL files which new slave needs, > new slave can't connect master. > > How do

Re: [Pacemaker] setup advice

2013-07-03 Thread Andrey Groshev
  03.07.2013, 12:30, "Stefano Sasso" :2013/7/3 Andrey Groshev   03.07.2013, 11:42, "Stefano Sasso" :Does "standby" mean that PostgreSQL is stopped ?If Master doesn't have WAL files which new slave needs, new slave can't connect master. How do you solve it ? co

Re: [Pacemaker] setup advice

2013-07-03 Thread Stefano Sasso
2013/7/3 Andrey Groshev > > > 03.07.2013, 11:42, "Stefano Sasso" : > > Does "standby" mean that PostgreSQL is stopped ? > If Master doesn't have WAL files which new slave needs, > new slave can't connect master. > > How do you solve it ? > copy data or wal-archive on start automatically ? > It ma

Re: [Pacemaker] setup advice

2013-07-03 Thread Andrey Groshev
  03.07.2013, 11:42, "Stefano Sasso" :Does "standby" mean that PostgreSQL is stopped ?If Master doesn't have WAL files which new slave needs, new slave can't connect master. How do you solve it ? copy data or wal-archive on start automatically ? It may cause timed-out if PostgreSQL has large datab

[Pacemaker] Wrong resource failcount displayed for clone resource

2013-07-03 Thread Cédric VERKLEEREN
Hi, I am using Pacemaker 1.1.7 with Corosync 1.4.1. After simulating an apache resource failure, the failcount increase. Using the command "crm resource failcount show " for this clone resource show me a failcount of 0. I have the same result if I show the failcount for the clone resource or the

Re: [Pacemaker] setup advice

2013-07-03 Thread Stefano Sasso
> > Does "standby" mean that PostgreSQL is stopped ? > If Master doesn't have WAL files which new slave needs, > new slave can't connect master. > > How do you solve it ? > copy data or wal-archive on start automatically ? > It may cause timed-out if PostgreSQL has large database. I'm using strea