[ClusterLabs] Two nodes cluster issue

2017-07-24 Thread Tomer Azran
Hello, We built a pacemaker cluster with 2 physical servers. We configured DRBD in Master\Slave setup, a floating IP and file system mount in Active\Passive mode. We configured two STONITH devices (fence_ipmilan), one for each server. We are trying to simulate a situation when the Master server

Re: [ClusterLabs] Two nodes cluster issue

2017-07-24 Thread Tomer Azran
C 200350 vedená u Městského soudu v Praze Banka: Fio banka a.s. Číslo účtu: 2400330446/2010 BIC: FIOBCZPPXX IBAN: CZ82 2010 0024 0033 0446 On 24 Jul 2017, at 13:51, Tomer Azran <mailto:tomer.az...@edp.co.il> wrote: Hello, We built a pacemaker cluster with 2 physical servers. We co

Re: [ClusterLabs] Two nodes cluster issue

2017-07-24 Thread Tomer Azran
com>> wrote: On 2017-07-24 07:51, Tomer Azran wrote: > We don't have the ability to use it. > Is that the only solution? No, but I'd recommend thinking about it first. Are you sure you will care about your cluster working when your server room is on fire? 'Cause unle

Re: [ClusterLabs] Two nodes cluster issue

2017-07-24 Thread Tomer Azran
lated to open-source clustering welcomed, Tomer Azran On 07/24/2017 05:15 PM, Tomer Azran wrote: I still don't understand why the qdevice concept doesn't help on this situation. Since the master node is down, I would expect the quorum to declare it as dead. Why doesn't it happe

Re: [ClusterLabs] Two nodes cluster issue

2017-07-24 Thread Tomer Azran
banka a.s. Číslo účtu: 2400330446/2010 BIC: FIOBCZPPXX IBAN: CZ82 2010 0024 0033 0446 On 24 Jul 2017, at 17:27, Klaus Wenninger mailto:kwenn...@redhat.com>> wrote: On 07/24/2017 05:15 PM, Tomer Azran wrote: I still don't understand why the qdevice concept doesn't help on this situation

Re: [ClusterLabs] Two nodes cluster issue

2017-07-24 Thread Tomer Azran
There is a problem with that – it seems like SBD with shared disk is disabled on CentOS 7.3: When I run: # sbd -d /dev/sbd create I get: Shared disk functionality not supported So I might try the software watchdog (softgod or ipmi_watchdog) Tomer. From: Tomer Azran [mailto:tomer.az

Re: [ClusterLabs] Two nodes cluster issue

2017-07-30 Thread Tomer Azran
ffsplit. I couldn't determine the difference between them and I'm not sure which one is the best when using two node cluster with qdevice and watchdog fencing. Can anyone advise on that? From: Klaus Wenninger [mailto:kwenn...@redhat.com] Sent: Tuesday, July 25, 2017 2:19 AM To: Tomer

Re: [ClusterLabs] Two nodes cluster issue

2017-08-07 Thread Tomer Azran
25, 2017 11:59 AM To: Cluster Labs - All topics related to open-source clustering welcomed ; kwenn...@redhat.com; Prasad, Shashank Subject: Re: [ClusterLabs] Two nodes cluster issue > Tomer Azran napsal(a): >> I tend to agree with Klaus – I don't think that having a hook that >>

[ClusterLabs] IPaddr2 RA and bonding

2017-08-07 Thread Tomer Azran
Hello All, We are using CentOS 7.3 with pacemaker in order to create a cluster. Each cluster node ha a bonding interface consists of two nics. The cluster has an IPAddr2 resource configured like that: # pcs resource show cluster_vip Resource: cluster_vip (class=ocf provider=heartbeat type=IPaddr2

Re: [ClusterLabs] Antw: IPaddr2 RA and bonding

2017-08-07 Thread Tomer Azran
STONITH is enabled and working. -Original Message- From: Ulrich Windl [mailto:ulrich.wi...@rz.uni-regensburg.de] Sent: Monday, August 7, 2017 2:52 PM To: users@clusterlabs.org Subject: [ClusterLabs] Antw: IPaddr2 RA and bonding >>> Tomer Azran schrieb am 07.08.2017 um 12:0

Re: [ClusterLabs] Two nodes cluster issue

2017-08-07 Thread Tomer Azran
-source clustering welcomed ; kwenn...@redhat.com; Prasad, Shashank Subject: Re: [ClusterLabs] Two nodes cluster issue Tomer Azran napsal(a): > Just updating that I added another level of fencing using watchdog-fencing. > With the quorum device and this combination works in case of power f

Re: [ClusterLabs] IPaddr2 RA and bonding

2017-08-07 Thread Tomer Azran
in/ifdown-local -Original Message- From: Ken Gaillot [mailto:kgail...@redhat.com] Sent: Monday, August 7, 2017 7:14 PM To: Cluster Labs - All topics related to open-source clustering welcomed Subject: Re: [ClusterLabs] IPaddr2 RA and bonding On Mon, 2017-08-07 at 10:02 +0000, To

Re: [ClusterLabs] IPaddr2 RA and bonding

2017-08-10 Thread Tomer Azran
From: Vladislav Bogdanov [mailto:bub...@hoster-ok.com] Sent: Monday, August 7, 2017 9:22 PM To: users@clusterlabs.org Subject: Re: [ClusterLabs] IPaddr2 RA and bonding 07.08.2017 20:39, Tomer Azran wrote: > I don't want to use this approach since I don't want to be depend on pinging

Re: [ClusterLabs] IPaddr2 RA and bonding

2017-08-12 Thread Tomer Azran
-08-10 at 11:02 +, Tomer Azran wrote: > That looks exactly what I needed - it works. > I had to change the RA since I don't want to give an interface name as a > parameter (it might change from server to server and I want to create a > cloned resource). > I changed the RA a l

[ClusterLabs] HAProxy resource agent

2018-04-13 Thread Tomer Azran
Hello, I'm planning to install an active\active HAProxy cluster on CentOS 7 I didn't found that there is any RA for HAproxy. I found some on the net but I'm not sure if I need it. For example: https://raw.githubusercontent.com/thisismitch/cluster-agents/master/haproxy I can always use the systemd

[ClusterLabs] IPaddr2 RA and multicast mac

2019-09-03 Thread Tomer Azran
eating the resource. In addition, I think that the documentation should instruct the user to enable multicast traffic on the network, which is not enabled by default. Tomer Azran IDM & LINUX Professional Services tomer.az...@edp.co.il<mailto:tomer.az...@edp.co.il> m: +972-52-6389961 t: +972

[ClusterLabs] IPAddr2 RA and CLUSTERIP local_node

2019-09-03 Thread Tomer Azran
C_NO=`expr ${OCF_RESKEY_CRM_meta_clone:-0} + 1` Can you think of a reason why my RA always set the local_node to "2"? Tomer Azran IDM & LINUX Professional Services tomer.az...@edp.co.il m: +972-52-6389961 t: +972-3-6438222 f: +972-3-6438004  www.edp.co.il ___