Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Pacemaker

force to add a node

 

 

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded


infos at e-blokos

Nov 19, 2009, 5:47 PM

Post #1 of 10 (796 views)
Permalink
force to add a node

Hi,

Openais - Pacemaker last version.
I modified the IP of a node and now it appears
always offline even if openais is running.
is there a way to force to turn on a node ?
sorry for my stupid question..

Franck Chionnaa


andrew at beekhof

Dec 2, 2009, 5:36 AM

Post #2 of 10 (744 views)
Permalink
Re: force to add a node [In reply to]

On Fri, Nov 20, 2009 at 2:47 AM, E-Blokos <infos [at] e-blokos> wrote:
> Hi,
>
> Openais - Pacemaker last version.
> I modified the IP of a node and now it appears
> always offline even if openais is running.
> is there a way to force to turn on a node ?
> sorry for my stupid question..

Did you supply a node id in openais.conf?
If not, that might confuse the cluster.

Otherwise, did you make sure the bindnetaddr is correct in openais.conf?

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 2, 2009, 5:36 AM

Post #3 of 10 (744 views)
Permalink
Re: force to add a node [In reply to]

On Fri, Nov 20, 2009 at 2:47 AM, E-Blokos <infos [at] e-blokos> wrote:
> Hi,
>
> Openais - Pacemaker last version.
> I modified the IP of a node and now it appears
> always offline even if openais is running.
> is there a way to force to turn on a node ?
> sorry for my stupid question..

Did you supply a node id in openais.conf?
If not, that might confuse the cluster.

Otherwise, did you make sure the bindnetaddr is correct in openais.conf?

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


infos at e-blokos

Dec 16, 2009, 8:59 AM

Post #4 of 10 (742 views)
Permalink
Re: force to add a node [In reply to]

----- Original Message -----
From: "Andrew Beekhof" <andrew [at] beekhof>
To: <pacemaker [at] clusterlabs>
Cc: <pacemaker [at] clusterlabs>
Sent: Wednesday, December 02, 2009 8:36 AM
Subject: Re: [Pacemaker] force to add a node


> On Fri, Nov 20, 2009 at 2:47 AM, E-Blokos <infos [at] e-blokos> wrote:
>> Hi,
>>
>> Openais - Pacemaker last version.
>> I modified the IP of a node and now it appears
>> always offline even if openais is running.
>> is there a way to force to turn on a node ?
>> sorry for my stupid question..
>
> Did you supply a node id in openais.conf?
> If not, that might confuse the cluster.
>
> Otherwise, did you make sure the bindnetaddr is correct in openais.conf?
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker [at] oss
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker



Hi Andrew,

> Did you supply a node id in openais.conf?
no, it's commented as it's written as optional

> Otherwise, did you make sure the bindnetaddr is correct in openais.conf?
yes, I use the main IP of every node, not the network class.

so put off all nodes and openais, removed all cib files (unless cib.xml)
restarted them and now works well.

do I need to assign a node id on every node manually ?

Thanks

Franck



_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 16, 2009, 11:26 AM

Post #5 of 10 (735 views)
Permalink
Re: force to add a node [In reply to]

On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos <infos [at] e-blokos> wrote:
> Hi Andrew,
>
>> Did you supply a node id in openais.conf?
>
> no, it's commented as it's written as optional

yes, it is. but if you don't specify one its generated from the ip address.
thus when you changed the ip address the nodeid also changed.

that would have confused things - although 1.0.6 should be able to handle it ok.

>
>> Otherwise, did you make sure the bindnetaddr is correct in openais.conf?
>
> yes, I use the main IP of every node, not the network class.
>
> so put off all nodes and openais,

thats the bit that would have fixed it, stopping the cluster
everywhere (so that the other nodes forgot about the old nodeid)

> removed all cib files (unless cib.xml)
> restarted them and now works well.
>
> do I need to assign a node id on every node manually ?
>
> Thanks
>
> Franck
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker [at] oss
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 16, 2009, 11:26 AM

Post #6 of 10 (733 views)
Permalink
Re: force to add a node [In reply to]

On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos <infos [at] e-blokos> wrote:
> Hi Andrew,
>
>> Did you supply a node id in openais.conf?
>
> no, it's commented as it's written as optional

yes, it is. but if you don't specify one its generated from the ip address.
thus when you changed the ip address the nodeid also changed.

that would have confused things - although 1.0.6 should be able to handle it ok.

>
>> Otherwise, did you make sure the bindnetaddr is correct in openais.conf?
>
> yes, I use the main IP of every node, not the network class.
>
> so put off all nodes and openais,

thats the bit that would have fixed it, stopping the cluster
everywhere (so that the other nodes forgot about the old nodeid)

> removed all cib files (unless cib.xml)
> restarted them and now works well.
>
> do I need to assign a node id on every node manually ?
>
> Thanks
>
> Franck
>
>
>
> _______________________________________________
> Pacemaker mailing list
> Pacemaker [at] oss
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


infos at e-blokos

Dec 16, 2009, 11:33 AM

Post #7 of 10 (732 views)
Permalink
Re: force to add a node [In reply to]

----- Original Message -----
From: "Andrew Beekhof" <andrew [at] beekhof>
To: <pacemaker [at] clusterlabs>
Cc: <pacemaker [at] clusterlabs>
Sent: Wednesday, December 16, 2009 2:26 PM
Subject: Re: [Pacemaker] force to add a node


> On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos <infos [at] e-blokos> wrote:
>> Hi Andrew,
>>
>>> Did you supply a node id in openais.conf?
>>
>> no, it's commented as it's written as optional
>
> yes, it is. but if you don't specify one its generated from the ip
> address.
> thus when you changed the ip address the nodeid also changed.
>
> that would have confused things - although 1.0.6 should be able to handle
> it ok.
I have v 1.0.5, but apparently no Fedora10 1.0.6 package yet ?

>>
>>> Otherwise, did you make sure the bindnetaddr is correct in openais.conf?
>>
>> yes, I use the main IP of every node, not the network class.
>>
>> so put off all nodes and openais,
>
> thats the bit that would have fixed it, stopping the cluster
> everywhere (so that the other nodes forgot about the old nodeid)

Ok, so should have I to set manually a nodeid in anyway ?


_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 16, 2009, 11:54 AM

Post #8 of 10 (733 views)
Permalink
Re: force to add a node [In reply to]

On Wed, Dec 16, 2009 at 8:33 PM, E-Blokos <infos [at] e-blokos> wrote:
>
> ----- Original Message ----- From: "Andrew Beekhof" <andrew [at] beekhof>
> To: <pacemaker [at] clusterlabs>
> Cc: <pacemaker [at] clusterlabs>
> Sent: Wednesday, December 16, 2009 2:26 PM
> Subject: Re: [Pacemaker] force to add a node
>
>
>> On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos <infos [at] e-blokos> wrote:
>>>
>>> Hi Andrew,
>>>
>>>> Did you supply a node id in openais.conf?
>>>
>>> no, it's commented as it's written as optional
>>
>> yes, it is. but if you don't specify one its generated from the ip
>> address.
>> thus when you changed the ip address the nodeid also changed.
>>
>> that would have confused things - although 1.0.6 should be able to handle
>> it ok.
>
> I have v 1.0.5, but apparently no Fedora10 1.0.6 package yet ?

You didn't notice that Fedora-10 is no longer supported by Fedora? :-)

>
>>>
>>>> Otherwise, did you make sure the bindnetaddr is correct in openais.conf?
>>>
>>> yes, I use the main IP of every node, not the network class.
>>>
>>> so put off all nodes and openais,
>>
>> thats the bit that would have fixed it, stopping the cluster
>> everywhere (so that the other nodes forgot about the old nodeid)
>
> Ok, so should have I to set manually a nodeid in anyway ?

Perhaps. If you plan on changing the IP address a lot.

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


andrew at beekhof

Dec 16, 2009, 11:54 AM

Post #9 of 10 (737 views)
Permalink
Re: force to add a node [In reply to]

On Wed, Dec 16, 2009 at 8:33 PM, E-Blokos <infos [at] e-blokos> wrote:
>
> ----- Original Message ----- From: "Andrew Beekhof" <andrew [at] beekhof>
> To: <pacemaker [at] clusterlabs>
> Cc: <pacemaker [at] clusterlabs>
> Sent: Wednesday, December 16, 2009 2:26 PM
> Subject: Re: [Pacemaker] force to add a node
>
>
>> On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos <infos [at] e-blokos> wrote:
>>>
>>> Hi Andrew,
>>>
>>>> Did you supply a node id in openais.conf?
>>>
>>> no, it's commented as it's written as optional
>>
>> yes, it is. but if you don't specify one its generated from the ip
>> address.
>> thus when you changed the ip address the nodeid also changed.
>>
>> that would have confused things - although 1.0.6 should be able to handle
>> it ok.
>
> I have v 1.0.5, but apparently no Fedora10 1.0.6 package yet ?

You didn't notice that Fedora-10 is no longer supported by Fedora? :-)

>
>>>
>>>> Otherwise, did you make sure the bindnetaddr is correct in openais.conf?
>>>
>>> yes, I use the main IP of every node, not the network class.
>>>
>>> so put off all nodes and openais,
>>
>> thats the bit that would have fixed it, stopping the cluster
>> everywhere (so that the other nodes forgot about the old nodeid)
>
> Ok, so should have I to set manually a nodeid in anyway ?

Perhaps. If you plan on changing the IP address a lot.

_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker


infos at e-blokos

Dec 16, 2009, 4:17 PM

Post #10 of 10 (731 views)
Permalink
Re: force to add a node [In reply to]

----- Original Message -----
From: "Andrew Beekhof" <andrew [at] beekhof>
To: <pacemaker [at] clusterlabs>
Cc: <pacemaker [at] clusterlabs>
Sent: Wednesday, December 16, 2009 2:54 PM
Subject: Re: [Pacemaker] force to add a node


> On Wed, Dec 16, 2009 at 8:33 PM, E-Blokos <infos [at] e-blokos> wrote:
>>
>> ----- Original Message ----- From: "Andrew Beekhof" <andrew [at] beekhof>
>> To: <pacemaker [at] clusterlabs>
>> Cc: <pacemaker [at] clusterlabs>
>> Sent: Wednesday, December 16, 2009 2:26 PM
>> Subject: Re: [Pacemaker] force to add a node
>>
>>
>>> On Wed, Dec 16, 2009 at 5:59 PM, E-Blokos <infos [at] e-blokos> wrote:
>>>>
>>>> Hi Andrew,
>>>>
>>>>> Did you supply a node id in openais.conf?
>>>>
>>>> no, it's commented as it's written as optional
>>>
>>> yes, it is. but if you don't specify one its generated from the ip
>>> address.
>>> thus when you changed the ip address the nodeid also changed.
>>>
>>> that would have confused things - although 1.0.6 should be able to
>>> handle
>>> it ok.
>>
>> I have v 1.0.5, but apparently no Fedora10 1.0.6 package yet ?
>
> You didn't notice that Fedora-10 is no longer supported by Fedora? :-)
NO ! :(, there are too fast... too bad since all my servers work well now...

>
>>
>>>>
>>>>> Otherwise, did you make sure the bindnetaddr is correct in
>>>>> openais.conf?
>>>>
>>>> yes, I use the main IP of every node, not the network class.
>>>>
>>>> so put off all nodes and openais,
>>>
>>> thats the bit that would have fixed it, stopping the cluster
>>> everywhere (so that the other nodes forgot about the old nodeid)
>>
>> Ok, so should have I to set manually a nodeid in anyway ?
>
> Perhaps. If you plan on changing the IP address a lot.
right, but it's not the case...

Regards

Franck


_______________________________________________
Pacemaker mailing list
Pacemaker [at] oss
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.