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. >

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

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

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?

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

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

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

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

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

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

[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

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

[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',