[ClusterLabs] Adding a node to the cluster deployed with "Unicast configuration"

Alejandro Comisario alejandro at nubeliu.com
Thu Feb 23 11:23:00 EST 2017


Amazing, i will try to do that on ubuntu also and get back to you !
thanks for the help !

On Wed, Feb 22, 2017 at 5:08 PM, Ken Gaillot <kgaillot at redhat.com> wrote:
> On 02/22/2017 09:55 AM, Jan Friesse wrote:
>> Alejandro Comisario napsal(a):
>>> Hi everyone, i have a problem when scaling a corosync/pacemaker
>>> cluster deployed using unicast.
>>>
>>> eg on corosync.conf.
>>>
>>> nodelist {
>>> node {
>>> ring0_addr: 10.10.0.10
>>> nodeid: 1
>>> }
>>> node {
>>> ring0_addr: 10.10.0.11
>>> nodeid: 2
>>> }
>>> }
>>>
>>> Tried to add the new node with the new config (meaning, adding the new
>>> node) nad leaving the other two with the same config and started
>>> services on the third node, but doesnt seem to work until i update the
>>> config on the server #1 and #2 and restart corosync/pacemaker which
>>> does the obvious of bringing every resource down.
>>>
>>> There should be a way to "hot add" a new node to the cluster, but i
>>> dont seem to find one.
>>> what is the best way to add a node without bothering the rest ? or
>>> better said, what is the right way to do it ?
>>
>> Adding node is possible with following process:
>> - Add node to config file on both existing nodes
>> - Exec corosync-cfgtool -R (it's enough to exec only on one of nodes)
>> - Make sure 3rd (new) node has same config as two existing nodes
>> - Start corosync/pcmk on new node
>>
>> This is (more or less) how pcs works. No stopping of corosync is needed.
>>
>> Regards,
>>   Honza
>
> Ah, noted ... I need to update some upstream docs :-)
>
>>>
>>> PS: i can't implement multicast on my network.
>>>
>
> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> http://lists.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



-- 
Alejandro Comisario
CTO | NUBELIU
E-mail: alejandro at nubeliu.comCell: +54 9 11 3770 1857
_
www.nubeliu.com




More information about the Users mailing list