[ClusterLabs] Failover problem with dual primary drbd

2016-06-22 Thread Eric Bourguinat
Hello, centos 7.2.1511 - pacemaker 1.1.13 - corosync 2.3.4 - drbd 8.4.7-1 - drbd84-utils 8.9.5 Linux ftpprod04 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux => pcmk-1 Linux ftpprod05 3.10.0-327.18.2.el7.x86_64 #1 SMP Thu May 12 11:03:55 UTC 2016

[ClusterLabs] Bundler Error while building PCSD

2016-06-22 Thread Anup Halarnkar
OS: RHEL 7.2 Arch: PPC64LE uname -a : Linux x 3.10.0-229.ael7b.ppc64le #1 SMP Fri Jan 30 12:03:50 EST 2015 ppc64le ppc64le ppc64le GNU/Linux Versions of installed ruby packages: libruby2_1-2_1.ppc64le 2.1.3-4.1 ruby.ppc64le 2.0.0.598-25.el7_1 ruby-irb.noarch 2.0.0.598-25.el7_1 ruby-l

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Dimitri Maziuk
On 06/22/2016 04:29 PM, Klaus Wenninger wrote: > On 06/22/2016 11:17 PM, Lentes, Bernd wrote: >> I'm thinking about active/active. But i think active/passive with a >> non-cluster fs is less complicated. > But you will need something to control DRBD - especially in the > active/passive-case. > And

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Klaus Wenninger
On 06/22/2016 11:17 PM, Lentes, Bernd wrote: > > Ursprüngliche Nachricht > Von: Dimitri Maziuk > Datum: 22.06.2016 21:23 (GMT+01:00) > An: users@clusterlabs.org > Betreff: Re: [ClusterLabs] design question to DRBD > > On 06/22/2016 02:13 PM, Lentes, Bernd wrote: > > > > > I'm th

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Lentes, Bernd
Ursprüngliche Nachricht Von: Dimitri Maziuk Datum: 22.06.2016 21:23 (GMT+01:00) An: users@clusterlabs.org Betreff: Re: [ClusterLabs] design question to DRBD On 06/22/2016 02:13 PM, Lentes, Bernd wrote: > > I'm thinking about starting drbd and the ocfs fs by init. I don

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Dimitri Maziuk
On 06/22/2016 02:13 PM, Lentes, Bernd wrote: > > I'm thinking about starting drbd and the ocfs fs by init. I don't see the > strong need having it controlled by pacemaker. > But of course the mix is more difficult to maintain. Are you going to use active-active drbd with a cluster filesystem? O

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Lentes, Bernd
- On Jun 22, 2016, at 8:34 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu wrote: > On 06/22/2016 01:00 PM, Lentes, Bernd wrote: >> - On Jun 22, 2016, at 7:17 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu >> wrote: > >>> Does your webapp ever write to /srv/www? > >> it does. > > Yeah, OK, it tha

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Dimitri Maziuk
On 06/22/2016 01:00 PM, Lentes, Bernd wrote: > - On Jun 22, 2016, at 7:17 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu wrote: >> Does your webapp ever write to /srv/www? > it does. Yeah, OK, it that case you want DRBD so the writes go to both nodes at once. If you have to use DRBD anyway, then

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Lentes, Bernd
- On Jun 22, 2016, at 7:17 PM, Dimitri Maziuk dmaz...@bmrb.wisc.edu wrote: > On 06/22/2016 11:28 AM, Lentes, Bernd wrote: > >> yes, that's a good hint. I will not synchronize /usr/lib/perl with DRBD. >> But for /srv/www it should be fine ? > > Does your webapp ever write to /srv/www? If no

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Dimitri Maziuk
On 06/22/2016 11:28 AM, Lentes, Bernd wrote: > yes, that's a good hint. I will not synchronize /usr/lib/perl with DRBD. > But for /srv/www it should be fine ? Does your webapp ever write to /srv/www? If not I would consider running two copies of everything with ZFS as a backing store and transact

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Lentes, Bernd
- On Jun 22, 2016, at 3:59 PM, Klaus Wenninger kwenn...@redhat.com wrote: > On 06/22/2016 02:30 PM, Lentes, Bernd wrote: >> Hi, >> >> we have a two node cluster. It is running a Web-Application. Web-Application >> needs a MySQL Database, has static and dynamic (perlscripts) webpages. >> I wil

Re: [ClusterLabs] IPaddr2 failed to start

2016-06-22 Thread Ken Gaillot
On 06/22/2016 06:46 AM, wd wrote: > if [ X`uname -s` != "XLinux" ]; then > ocf_log err "IPaddr2 only supported Linux." > exit $OCF_ERR_INSTALLED > fi > > Do you run on a linux? what is 'uname -s' command returned? It could also return "not installed" if /usr/lib/ocf/resour

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Digimer
On 22/06/16 08:30 AM, Lentes, Bernd wrote: > Hi, > > we have a two node cluster. It is running a Web-Application. Web-Application > needs a MySQL Database, has static and dynamic (perlscripts) webpages. > I will make the DB HA with MySQL replication. > From time to time it's likely that something

Re: [ClusterLabs] Pacemaker 1.1.15 released

2016-06-22 Thread Jan Pokorný
On 21/06/16 18:20 -0500, Ken Gaillot wrote: > ClusterLabs is proud to announce the latest release of the Pacemaker > cluster resource manager, version 1.1.15. The source code is available at: > > https://github.com/ClusterLabs/pacemaker/releases/tag/Pacemaker-1.1.15 Once again, to check this fina

Re: [ClusterLabs] design question to DRBD

2016-06-22 Thread Klaus Wenninger
On 06/22/2016 02:30 PM, Lentes, Bernd wrote: > Hi, > > we have a two node cluster. It is running a Web-Application. Web-Application > needs a MySQL Database, has static and dynamic (perlscripts) webpages. > I will make the DB HA with MySQL replication. > From time to time it's likely that somethin

[ClusterLabs] design question to DRBD

2016-06-22 Thread Lentes, Bernd
Hi, we have a two node cluster. It is running a Web-Application. Web-Application needs a MySQL Database, has static and dynamic (perlscripts) webpages. I will make the DB HA with MySQL replication. From time to time it's likely that something in the webapp is changed, so we have to edit some scr

Re: [ClusterLabs] IPaddr2 failed to start

2016-06-22 Thread wd
if [ X`uname -s` != "XLinux" ]; then ocf_log err "IPaddr2 only supported Linux." exit $OCF_ERR_INSTALLED fi Do you run on a linux? what is 'uname -s' command returned? On Wed, Jun 22, 2016 at 6:07 PM, Юрченко Станислав wrote: > Hello! > I have configured cluster pacemake

[ClusterLabs] IPaddr2 failed to start

2016-06-22 Thread Юрченко Станислав
Hello! I have configured cluster pacemaker + corosync and it's works. Both nodes are online. But when I starting to addind failover_ip resource I've faced with this error: * failover_ip_monitor_0 on debian-drbd1 'not installed' (5): call=5, status=Not installed, exitreason='none', last-rc