Re: [ClusterLabs] Pacemaker and Corosync versions compatibility

2016-06-27 Thread Ken Gaillot
On 06/24/2016 08:46 PM, Maciej Kopczyński wrote:
> Hello,
> 
> I've been following a tutorial to set up a simple HA cluster using
> Pacemaker and Corosync on CentOS 6.x while I have noticed that in the
> original documentation it is stated that:
> 
> "Since |pcs| has the ability to manage all aspects of the cluster (both
> corosync and pacemaker), it requires a specific cluster stack to be in
> use: corosync 2.0 or later with votequorum plus Pacemaker 1.1.8 or later."

That's incorrect -- pcs has supported RHEL 6 and its derivatives (with
corosync 1 and CMAN) since at least 6.5. Thanks for bringing it up; I'll
delete that note.

> Here are the versions of packages installed in my system (CentOS 6.7):
> pacemaker-1.1.14-8.el6.x86_64
> corosync-1.4.7-5.el6.x86_64
> 
> I did not do that much of testing, but my cluster seems to be more or
> less working so far, what are the compatibility issues then? What will
> not work with corosync in version lower than 2.0?

corosync 2 is a cleaner implementation and has better message delivery
guarantees, but most of that is transparent to the user. With corosync
1, pacemaker will use a "legacy" version of the node attribute daemon,
so the attrd_updater command has fewer options. Most of the other
differences are in implementation, and may be less efficient for
example, but are not readily visible.

> Thanks in advance for your answers.
> 
> MK

___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] Pacemaker and Corosync versions compatibility

2016-06-24 Thread Digimer
On 24/06/16 09:46 PM, Maciej Kopczyński wrote:
> Hello,
> 
> I've been following a tutorial to set up a simple HA cluster using
> Pacemaker and Corosync on CentOS 6.x while I have noticed that in the
> original documentation it is stated that:
> 
> "Since |pcs| has the ability to manage all aspects of the cluster (both
> corosync and pacemaker), it requires a specific cluster stack to be in
> use: corosync 2.0 or later with votequorum plus Pacemaker 1.1.8 or later."
> 
> Here are the versions of packages installed in my system (CentOS 6.7):
> pacemaker-1.1.14-8.el6.x86_64
> corosync-1.4.7-5.el6.x86_64
> 
> I did not do that much of testing, but my cluster seems to be more or
> less working so far, what are the compatibility issues then? What will
> not work with corosync in version lower than 2.0?
> 
> Thanks in advance for your answers.

You will notice on EL6 that you have cman installed and that there is an
/etc/cluster/cluster.conf file. This is a special plugin setup made to
provide support for pacemaker in RHEL 6 (was added officially in late
6.4/6.5 release). This is the quorum provider and it manages corosync
v1.4 so that pacemaker can work with it.

This is odd, admittedly, but it was part of the process of merging what
had formerly been two separate HA stacks. You can read about the history
and merger here: https://alteeve.ca/w/History_of_HA_Clustering

In RHEL 7, the merger was finished and you have the final stack of just
corosync v2 and pacemaker. However, in el6 with the cman plugin, it will
also work just fine.

-- 
Digimer
Papers and Projects: https://alteeve.ca/w/
What if the cure for cancer is trapped in the mind of a person without
access to education?

___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


[ClusterLabs] Pacemaker and Corosync versions compatibility

2016-06-24 Thread Maciej Kopczyński
Hello,

I've been following a tutorial to set up a simple HA cluster using
Pacemaker and Corosync on CentOS 6.x while I have noticed that in the
original documentation it is stated that:

"Since pcs has the ability to manage all aspects of the cluster (both
corosync and pacemaker), it requires a specific cluster stack to be in use:
corosync 2.0 or later with votequorum plus Pacemaker 1.1.8 or later."

Here are the versions of packages installed in my system (CentOS 6.7):
pacemaker-1.1.14-8.el6.x86_64
corosync-1.4.7-5.el6.x86_64

I did not do that much of testing, but my cluster seems to be more or less
working so far, what are the compatibility issues then? What will not work
with corosync in version lower than 2.0?

Thanks in advance for your answers.

MK
___
Users mailing list: Users@clusterlabs.org
http://clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org