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

2017-04-11 Thread Alejandro Comisario
Thanks Dejan !

On Tue, Apr 11, 2017 at 6:38 AM, Dejan Muhamedagic  wrote:
> On Mon, Apr 10, 2017 at 03:24:12PM -0300, Alejandro Comisario wrote:
>> Sorry, i lack of the last command, where i took the node out of the CIB.
>>
>> discard my previous question, thanks
>
> If you're using crmsh, there's the "node remove" command. It
> should take care of all details, IIRC.
>
> Thanks,
>
> Dejan
>
>>
>> On Mon, Apr 10, 2017 at 3:11 PM, Alejandro Comisario
>>  wrote:
>> > Hi, im reviving this thread because of the following.
>> >
>> > To add new nodes to the cluster, this procedure works like a charm.
>> > But to take them out, i've assumed the follwing, whitch didnt worked.
>> >
>> > * stop corosync/pacemaker on the old node
>> > * update all corosync.conf on the cluster and took the old node of the 
>> > config
>> > * corosync-cfgtool -R from one of the nodes
>> >
>> > But the old node never disappears as OFFLINE.
>> > How can a i take out a node from the cluster and make is dissapear
>> > from the nodes into it ?
>> >
>> > best.
>> >
>> > On Thu, Feb 23, 2017 at 1:23 PM, Alejandro Comisario
>> >  wrote:
>> >> 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  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@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
>> >>
>> >>
>> >>
>> >> --
>> >> Alejandrito
>> >
>> > Alejandrito
>>
>>
>>
>> --
>> Alejandro Comisario
>> CTO | NUBELIU
>> E-mail: alejandro@nubeliu.comCell: +54 9 11 3770 1857
>> _
>> www.nubeliu.com
>>
>> ___
>> Users mailing list: Users@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
>
> ___
> Users mailing list: Users@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@nubeliu.comCell: +54 9 11 3770 1857
_
www.nubeliu.com

___
Users mailing list: Users@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


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

2017-04-11 Thread Dejan Muhamedagic
On Mon, Apr 10, 2017 at 03:24:12PM -0300, Alejandro Comisario wrote:
> Sorry, i lack of the last command, where i took the node out of the CIB.
> 
> discard my previous question, thanks

If you're using crmsh, there's the "node remove" command. It
should take care of all details, IIRC.

Thanks,

Dejan

> 
> On Mon, Apr 10, 2017 at 3:11 PM, Alejandro Comisario
>  wrote:
> > Hi, im reviving this thread because of the following.
> >
> > To add new nodes to the cluster, this procedure works like a charm.
> > But to take them out, i've assumed the follwing, whitch didnt worked.
> >
> > * stop corosync/pacemaker on the old node
> > * update all corosync.conf on the cluster and took the old node of the 
> > config
> > * corosync-cfgtool -R from one of the nodes
> >
> > But the old node never disappears as OFFLINE.
> > How can a i take out a node from the cluster and make is dissapear
> > from the nodes into it ?
> >
> > best.
> >
> > On Thu, Feb 23, 2017 at 1:23 PM, Alejandro Comisario
> >  wrote:
> >> 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  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@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
> >>
> >>
> >>
> >> --
> >> Alejandrito
> >
> > Alejandrito
> 
> 
> 
> -- 
> Alejandro Comisario
> CTO | NUBELIU
> E-mail: alejandro@nubeliu.comCell: +54 9 11 3770 1857
> _
> www.nubeliu.com
> 
> ___
> Users mailing list: Users@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

___
Users mailing list: Users@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


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

2017-04-10 Thread Alejandro Comisario
Sorry, i lack of the last command, where i took the node out of the CIB.

discard my previous question, thanks

On Mon, Apr 10, 2017 at 3:11 PM, Alejandro Comisario
 wrote:
> Hi, im reviving this thread because of the following.
>
> To add new nodes to the cluster, this procedure works like a charm.
> But to take them out, i've assumed the follwing, whitch didnt worked.
>
> * stop corosync/pacemaker on the old node
> * update all corosync.conf on the cluster and took the old node of the config
> * corosync-cfgtool -R from one of the nodes
>
> But the old node never disappears as OFFLINE.
> How can a i take out a node from the cluster and make is dissapear
> from the nodes into it ?
>
> best.
>
> On Thu, Feb 23, 2017 at 1:23 PM, Alejandro Comisario
>  wrote:
>> 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  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@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
>>
>>
>>
>> --
>> Alejandrito
>
> Alejandrito



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

___
Users mailing list: Users@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


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

2017-04-10 Thread Alejandro Comisario
Hi, im reviving this thread because of the following.

To add new nodes to the cluster, this procedure works like a charm.
But to take them out, i've assumed the follwing, whitch didnt worked.

* stop corosync/pacemaker on the old node
* update all corosync.conf on the cluster and took the old node of the config
* corosync-cfgtool -R from one of the nodes

But the old node never disappears as OFFLINE.
How can a i take out a node from the cluster and make is dissapear
from the nodes into it ?

best.

On Thu, Feb 23, 2017 at 1:23 PM, Alejandro Comisario
 wrote:
> 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  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@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
>
>
>
> --
> Alejandrito

Alejandrito

___
Users mailing list: Users@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


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

2017-02-23 Thread Alejandro Comisario
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  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@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@nubeliu.comCell: +54 9 11 3770 1857
_
www.nubeliu.com

___
Users mailing list: Users@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


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

2017-02-22 Thread Alejandro Comisario
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 ?

PS: i can't implement multicast on my network.

-- 
Alejandro Comisario

___
Users mailing list: Users@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