[ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Ulrich Windl
>>> Digimer schrieb am 16.04.2017 um 20:17 in Nachricht <12cde13f-8bad-a2f1-6834-960ff3afc...@alteeve.ca>: > On 16/04/17 01:53 PM, Eric Robinson wrote: >> I was reading in "Clusters from Scratch" where Beekhof states, "Some would > argue that two-node clusters are always pointless, but that is an

Re: [ClusterLabs] 2-Node Cluster Pointless?

2017-04-18 Thread Christine Caulfield
> > This isn't the first time this has come up, so I decided to elaborate on > this email by writing an article on the topic. > > It's a first-draft so there are likely spelling/grammar mistakes. > However, the body is done. > > https://www.alteeve.com/w/The_2-Node_Myth > An excellent article

[ClusterLabs] lvm on shared storage and a lot of...

2017-04-18 Thread lejeczek
.. device_block & device_unblock in dmesg. and I see that the LVM resource would fail. This to me seems to happen randomly, or I fail to spot a pattern. Shared storage is a sas3 enclosure. I believe I follow docs on LVM to the letter. I don't know what could be the problem. would you sugges

Re: [ClusterLabs] How to force remove a cluster node?

2017-04-18 Thread Tomas Jelinek
Dne 17.4.2017 v 17:28 Ken Gaillot napsal(a): On 04/13/2017 01:11 PM, Scott Greenlese wrote: Hi, I need to remove some nodes from my existing pacemaker cluster which are currently unbootable / unreachable. Referenced https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/

Re: [ClusterLabs] lvm on shared storage and a lot of...

2017-04-18 Thread Digimer
On 18/04/17 07:31 AM, lejeczek wrote: > .. device_block & device_unblock in dmesg. > > and I see that the LVM resource would fail. > This to me seems to happen randomly, or I fail to spot a pattern. > > Shared storage is a sas3 enclosure. > I believe I follow docs on LVM to the letter. I don't kn

Re: [ClusterLabs] 2-Node Cluster Pointless?

2017-04-18 Thread Digimer
On 18/04/17 04:08 AM, Christine Caulfield wrote: > >> >> This isn't the first time this has come up, so I decided to elaborate on >> this email by writing an article on the topic. >> >> It's a first-draft so there are likely spelling/grammar mistakes. >> However, the body is done. >> >> https://ww

Re: [ClusterLabs] Coming in Pacemaker 1.1.17: container bundles

2017-04-18 Thread Jan Pokorný
On 17/04/17 09:51 -0500, Ken Gaillot wrote: > On 04/13/2017 07:04 AM, Jan Pokorný wrote: >> On 03/04/17 09:47 -0500, Ken Gaillot wrote: >>> On 04/03/2017 02:12 AM, Ulrich Windl wrote: >>> Ken Gaillot schrieb am 01.04.2017 um 00:43 in >>> Nachricht <981d420d-73b2-3f24-a67c-e9c66dafb..

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Digimer
On 18/04/17 03:47 AM, Ulrich Windl wrote: Digimer schrieb am 16.04.2017 um 20:17 in Nachricht > <12cde13f-8bad-a2f1-6834-960ff3afc...@alteeve.ca>: >> On 16/04/17 01:53 PM, Eric Robinson wrote: >>> I was reading in "Clusters from Scratch" where Beekhof states, "Some would > >> argue that two-

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Digimer
On 18/04/17 10:00 AM, Digimer wrote: > On 18/04/17 03:47 AM, Ulrich Windl wrote: > Digimer schrieb am 16.04.2017 um 20:17 in Nachricht >> <12cde13f-8bad-a2f1-6834-960ff3afc...@alteeve.ca>: >>> On 16/04/17 01:53 PM, Eric Robinson wrote: I was reading in "Clusters from Scratch" where Beekho

Re: [ClusterLabs] lvm on shared storage and a lot of...

2017-04-18 Thread lejeczek
On 18/04/17 14:45, Digimer wrote: On 18/04/17 07:31 AM, lejeczek wrote: .. device_block & device_unblock in dmesg. and I see that the LVM resource would fail. This to me seems to happen randomly, or I fail to spot a pattern. Shared storage is a sas3 enclosure. I believe I follow docs on LVM

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Ken Gaillot
On 04/18/2017 02:47 AM, Ulrich Windl wrote: Digimer schrieb am 16.04.2017 um 20:17 in Nachricht > <12cde13f-8bad-a2f1-6834-960ff3afc...@alteeve.ca>: >> On 16/04/17 01:53 PM, Eric Robinson wrote: >>> I was reading in "Clusters from Scratch" where Beekhof states, "Some would > >> argue that tw

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Christine Caulfield
On 18/04/17 15:02, Digimer wrote: > On 18/04/17 10:00 AM, Digimer wrote: >> On 18/04/17 03:47 AM, Ulrich Windl wrote: >> Digimer schrieb am 16.04.2017 um 20:17 in Nachricht >>> <12cde13f-8bad-a2f1-6834-960ff3afc...@alteeve.ca>: On 16/04/17 01:53 PM, Eric Robinson wrote: > I was readin

[ClusterLabs] Antw: Re: lvm on shared storage and a lot of...

2017-04-18 Thread Ulrich Windl
>>> lejeczek schrieb am 18.04.2017 um 16:14 in Nachricht : > > On 18/04/17 14:45, Digimer wrote: >> On 18/04/17 07:31 AM, lejeczek wrote: >>> .. device_block & device_unblock in dmesg. >>> >>> and I see that the LVM resource would fail. >>> This to me seems to happen randomly, or I fail to spot

Re: [ClusterLabs] lvm on shared storage and a lot of...

2017-04-18 Thread Ken Gaillot
On 04/18/2017 09:14 AM, lejeczek wrote: > > > On 18/04/17 14:45, Digimer wrote: >> On 18/04/17 07:31 AM, lejeczek wrote: >>> .. device_block & device_unblock in dmesg. >>> >>> and I see that the LVM resource would fail. >>> This to me seems to happen randomly, or I fail to spot a pattern. >>> >>>

[ClusterLabs] how important would you consider to have two independent fencing device for each node ?

2017-04-18 Thread Lentes, Bernd
Hi, i'm currently establishing a two node cluster. Each node is a HP server with an ILO card. I can fence both of them, it's working fine. But what is if the ILO does not work correctly ? Then fencing is not possible. I also have a switched PDU from APC. Each server has two power supplies. Curr

Re: [ClusterLabs] Why shouldn't one store resource configuration in the CIB?

2017-04-18 Thread Ferenc Wágner
Ken Gaillot writes: > On 04/13/2017 11:11 AM, Ferenc Wágner wrote: > >> I encountered several (old) statements on various forums along the lines >> of: "the CIB is not a transactional database and shouldn't be used as >> one" or "resource parameters should only uniquely identify a resource, >> n

Re: [ClusterLabs] how important would you consider to have two independent fencing device for each node ?

2017-04-18 Thread Digimer
On 18/04/17 11:07 AM, Lentes, Bernd wrote: > Hi, > > i'm currently establishing a two node cluster. Each node is a HP server with > an ILO card. > I can fence both of them, it's working fine. > But what is if the ILO does not work correctly ? Then fencing is not possible. Correct. If you only ha

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Dimitri Maziuk
On 04/18/2017 02:47 AM, Ulrich Windl wrote: > IMHO: a valid cluster software works starting at 1 node, then per induction > also for n+1 nodes. I'm not sure what a valid fencing configuration would be in a one-node cluster, and since -- all together now -- YOU HAVE TO HAVE FENCING!.. Perhaps you

Re: [ClusterLabs] How to force remove a cluster node?

2017-04-18 Thread Scott Greenlese
My thanks to both Ken Gaillot and Tomas Jelinek for the workaround. The procedure(s) worked like a champ. I just have a few side comments / observations ... First - Tomas, in the bugzilla you show this error message on your cluster remove command, directing you to use the --force option: [roo

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Alex Bruneau
If your 1 node cluster hits a split brain situation, you have got bigger problems! Unless you can guarantee that a cluster can not encounter a split brain (to the same degree a 1 node cluster can!), any cluster solution worth installing should have a robust fencing method. Preferably more than

Re: [ClusterLabs] Why shouldn't one store resource configuration in the CIB?

2017-04-18 Thread Ken Gaillot
On 04/18/2017 11:46 AM, Ferenc Wágner wrote: > Ken Gaillot writes: > >> On 04/13/2017 11:11 AM, Ferenc Wágner wrote: >> >>> I encountered several (old) statements on various forums along the lines >>> of: "the CIB is not a transactional database and shouldn't be used as >>> one" or "resource para

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Dimitri Maziuk
On 04/18/2017 06:15 PM, Alex Bruneau wrote: > Therein lies the true value: what happens when something really > messes up? How much do you really want to drive to the DC at 3am? Yes, exactly: what happens when something really messes up? Will you lose a cool million bucks or will a few people get

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Digimer
On 18/04/17 07:55 PM, Dimitri Maziuk wrote: > On 04/18/2017 06:15 PM, Alex Bruneau wrote: > >> Therein lies the true value: what happens when something really >> messes up? How much do you really want to drive to the DC at 3am? > > Yes, exactly: what happens when something really messes up? Will

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Dimitri Maziuk
On 04/18/2017 07:05 PM, Digimer wrote: > Certainly, the people creating the software have to assume that a > split-brain is devastating. Same for people who teach others and people > who write documentation. split brain is devastating when you're drbd. When you're a mere floating ip, assume make

Re: [ClusterLabs] Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Digimer
On 18/04/17 08:50 PM, Dimitri Maziuk wrote: > On 04/18/2017 07:05 PM, Digimer wrote: > >> Certainly, the people creating the software have to assume that a >> split-brain is devastating. Same for people who teach others and people >> who write documentation. > > split brain is devastating when y

[ClusterLabs] Antw: how important would you consider to have two independent fencing device for each node ?

2017-04-18 Thread Ulrich Windl
>>> "Lentes, Bernd" schrieb am 18.04.2017 um 17:07 in Nachricht <1277815831.15615646.1492528035457.javamail.zim...@helmholtz-muenchen.de>: > Hi, > > i'm currently establishing a two node cluster. Each node is a HP server with > an ILO card. > I can fence both of them, it's working fine. > But wh

[ClusterLabs] Antw: Re: Why shouldn't one store resource configuration in the CIB?

2017-04-18 Thread Ulrich Windl
>>> Ferenc Wágner schrieb am 18.04.2017 um 18:46 in Nachricht <87tw5l64v0@lant.ki.iif.hu>: > Ken Gaillot writes: > >> On 04/13/2017 11:11 AM, Ferenc Wágner wrote: >> >>> I encountered several (old) statements on various forums along the lines >>> of: "the CIB is not a transactional databa

[ClusterLabs] Antw: Re: how important would you consider to have two independent fencing device for each node ?

2017-04-18 Thread Ulrich Windl
>>> Digimer schrieb am 18.04.2017 um 19:08 in Nachricht <26e49390-b384-b46e-4965-eba5bfe59...@alteeve.ca>: > On 18/04/17 11:07 AM, Lentes, Bernd wrote: >> Hi, >> >> i'm currently establishing a two node cluster. Each node is a HP server with > an ILO card. >> I can fence both of them, it's worki

[ClusterLabs] Antw: Re: Antw: Re: 2-Node Cluster Pointless?

2017-04-18 Thread Ulrich Windl
>>> Dimitri Maziuk schrieb am 18.04.2017 um 19:36 in Nachricht <20627eba-69f7-fe53-a4a2-0183fe24c...@bmrb.wisc.edu>: > On 04/18/2017 02:47 AM, Ulrich Windl wrote: > >> IMHO: a valid cluster software works starting at 1 node, then per induction >> also for n+1 nodes. > > I'm not sure what a valid