Quantcast

Multiple node in a cluster and number is growing

classic Classic list List threaded Threaded
7 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Multiple node in a cluster and number is growing

Oleg Cohen
Hello,

I have two Karaf 4.0.8 instances running on the same Linux CentOS 7 server.

in the course of some time the number of cluster nodes keeps on growing. I wonder what the issue is?

The way my membership is defined is with

<hz:member>172.16.15.132</hz:member>

karaf@root()> cluster:node-list
  | Id                 | Alias | Host Name     | Port
-----------------------------------------------------
  | 172.16.15.132:5703 |       | 172.16.15.132 | 5703
  | 172.16.15.132:5704 |       | 172.16.15.132 | 5704
x | 172.16.15.132:5701 |       | 172.16.15.132 | 5701
  | 172.16.15.132:5702 |       | 172.16.15.132 | 5702
  | 172.16.15.132:5707 |       | 172.16.15.132 | 5707
  | 172.16.15.132:5705 |       | 172.16.15.132 | 5705
  | 172.16.15.132:5706 |       | 172.16.15.132 | 5706
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple node in a cluster and number is growing

jbonofre
Hi,

it seems you have multiple Cellar/Hazelcast instance. What join are you
using ?

Regards
JB

On 03/08/2017 04:40 PM, Oleg Cohen wrote:

> Hello,
>
> I have two Karaf 4.0.8 instances running on the same Linux CentOS 7 server.
>
> in the course of some time the number of cluster nodes keeps on growing.
> I wonder what the issue is?
>
> The way my membership is defined is with
>
> <hz:member>172.16.15.132</hz:member>
>
> karaf@root()> cluster:node-list
>   | Id                 | Alias | Host Name     | Port
> -----------------------------------------------------
>   | 172.16.15.132:5703 <http://172.16.15.132:5703> |       |
> 172.16.15.132 | 5703
>   | 172.16.15.132:5704 <http://172.16.15.132:5704> |       |
> 172.16.15.132 | 5704
> x | 172.16.15.132:5701 <http://172.16.15.132:5701> |       |
> 172.16.15.132 | 5701
>   | 172.16.15.132:5702 <http://172.16.15.132:5702> |       |
> 172.16.15.132 | 5702
>   | 172.16.15.132:5707 <http://172.16.15.132:5707> |       |
> 172.16.15.132 | 5707
>   | 172.16.15.132:5705 <http://172.16.15.132:5705> |       |
> 172.16.15.132 | 5705
>   | 172.16.15.132:5706 <http://172.16.15.132:5706> |       |
> 172.16.15.132 | 5706

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple node in a cluster and number is growing

Oleg Cohen
I am using tcp with either a single interface or a single member. The result is the same.

Sent from my iPhone

> On Mar 8, 2017, at 12:38 PM, Jean-Baptiste Onofré <[hidden email]> wrote:
>
> Hi,
>
> it seems you have multiple Cellar/Hazelcast instance. What join are you using ?
>
> Regards
> JB
>
>> On 03/08/2017 04:40 PM, Oleg Cohen wrote:
>> Hello,
>>
>> I have two Karaf 4.0.8 instances running on the same Linux CentOS 7 server.
>>
>> in the course of some time the number of cluster nodes keeps on growing.
>> I wonder what the issue is?
>>
>> The way my membership is defined is with
>>
>> <hz:member>172.16.15.132</hz:member>
>>
>> karaf@root()> cluster:node-list
>>  | Id                 | Alias | Host Name     | Port
>> -----------------------------------------------------
>>  | 172.16.15.132:5703 <http://172.16.15.132:5703> |       |
>> 172.16.15.132 | 5703
>>  | 172.16.15.132:5704 <http://172.16.15.132:5704> |       |
>> 172.16.15.132 | 5704
>> x | 172.16.15.132:5701 <http://172.16.15.132:5701> |       |
>> 172.16.15.132 | 5701
>>  | 172.16.15.132:5702 <http://172.16.15.132:5702> |       |
>> 172.16.15.132 | 5702
>>  | 172.16.15.132:5707 <http://172.16.15.132:5707> |       |
>> 172.16.15.132 | 5707
>>  | 172.16.15.132:5705 <http://172.16.15.132:5705> |       |
>> 172.16.15.132 | 5705
>>  | 172.16.15.132:5706 <http://172.16.15.132:5706> |       |
>> 172.16.15.132 | 5706
>
> --
> Jean-Baptiste Onofré
> [hidden email]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple node in a cluster and number is growing

jbonofre
Don't you use just interface in tcp ?

Regards
JB

On 03/08/2017 06:41 PM, Oleg Cohen wrote:

> I am using tcp with either a single interface or a single member. The result is the same.
>
> Sent from my iPhone
>
>> On Mar 8, 2017, at 12:38 PM, Jean-Baptiste Onofré <[hidden email]> wrote:
>>
>> Hi,
>>
>> it seems you have multiple Cellar/Hazelcast instance. What join are you using ?
>>
>> Regards
>> JB
>>
>>> On 03/08/2017 04:40 PM, Oleg Cohen wrote:
>>> Hello,
>>>
>>> I have two Karaf 4.0.8 instances running on the same Linux CentOS 7 server.
>>>
>>> in the course of some time the number of cluster nodes keeps on growing.
>>> I wonder what the issue is?
>>>
>>> The way my membership is defined is with
>>>
>>> <hz:member>172.16.15.132</hz:member>
>>>
>>> karaf@root()> cluster:node-list
>>>  | Id                 | Alias | Host Name     | Port
>>> -----------------------------------------------------
>>>  | 172.16.15.132:5703 <http://172.16.15.132:5703> |       |
>>> 172.16.15.132 | 5703
>>>  | 172.16.15.132:5704 <http://172.16.15.132:5704> |       |
>>> 172.16.15.132 | 5704
>>> x | 172.16.15.132:5701 <http://172.16.15.132:5701> |       |
>>> 172.16.15.132 | 5701
>>>  | 172.16.15.132:5702 <http://172.16.15.132:5702> |       |
>>> 172.16.15.132 | 5702
>>>  | 172.16.15.132:5707 <http://172.16.15.132:5707> |       |
>>> 172.16.15.132 | 5707
>>>  | 172.16.15.132:5705 <http://172.16.15.132:5705> |       |
>>> 172.16.15.132 | 5705
>>>  | 172.16.15.132:5706 <http://172.16.15.132:5706> |       |
>>> 172.16.15.132 | 5706
>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email]
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com

--
Jean-Baptiste Onofré
[hidden email]
http://blog.nanthrax.net
Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple node in a cluster and number is growing

Oleg Cohen
Yes, I use tcp with one interface.

Sent from my iPhone

> On Mar 8, 2017, at 12:45 PM, Jean-Baptiste Onofré <[hidden email]> wrote:
>
> Don't you use just interface in tcp ?
>
> Regards
> JB
>
>> On 03/08/2017 06:41 PM, Oleg Cohen wrote:
>> I am using tcp with either a single interface or a single member. The result is the same.
>>
>> Sent from my iPhone
>>
>>> On Mar 8, 2017, at 12:38 PM, Jean-Baptiste Onofré <[hidden email]> wrote:
>>>
>>> Hi,
>>>
>>> it seems you have multiple Cellar/Hazelcast instance. What join are you using ?
>>>
>>> Regards
>>> JB
>>>
>>>> On 03/08/2017 04:40 PM, Oleg Cohen wrote:
>>>> Hello,
>>>>
>>>> I have two Karaf 4.0.8 instances running on the same Linux CentOS 7 server.
>>>>
>>>> in the course of some time the number of cluster nodes keeps on growing.
>>>> I wonder what the issue is?
>>>>
>>>> The way my membership is defined is with
>>>>
>>>> <hz:member>172.16.15.132</hz:member>
>>>>
>>>> karaf@root()> cluster:node-list
>>>> | Id                 | Alias | Host Name     | Port
>>>> -----------------------------------------------------
>>>> | 172.16.15.132:5703 <http://172.16.15.132:5703> |       |
>>>> 172.16.15.132 | 5703
>>>> | 172.16.15.132:5704 <http://172.16.15.132:5704> |       |
>>>> 172.16.15.132 | 5704
>>>> x | 172.16.15.132:5701 <http://172.16.15.132:5701> |       |
>>>> 172.16.15.132 | 5701
>>>> | 172.16.15.132:5702 <http://172.16.15.132:5702> |       |
>>>> 172.16.15.132 | 5702
>>>> | 172.16.15.132:5707 <http://172.16.15.132:5707> |       |
>>>> 172.16.15.132 | 5707
>>>> | 172.16.15.132:5705 <http://172.16.15.132:5705> |       |
>>>> 172.16.15.132 | 5705
>>>> | 172.16.15.132:5706 <http://172.16.15.132:5706> |       |
>>>> 172.16.15.132 | 5706
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com
>
> --
> Jean-Baptiste Onofré
> [hidden email]
> http://blog.nanthrax.net
> Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple node in a cluster and number is growing

Oleg Cohen
Can it be related to session clustering? Should the info match in web.xml and hazelcast.xml?

Thank you,
Oleg

Sent from my iPhone

> On Mar 8, 2017, at 1:03 PM, Oleg Cohen <[hidden email]> wrote:
>
> Yes, I use tcp with one interface.
>
> Sent from my iPhone
>
>> On Mar 8, 2017, at 12:45 PM, Jean-Baptiste Onofré <[hidden email]> wrote:
>>
>> Don't you use just interface in tcp ?
>>
>> Regards
>> JB
>>
>>> On 03/08/2017 06:41 PM, Oleg Cohen wrote:
>>> I am using tcp with either a single interface or a single member. The result is the same.
>>>
>>> Sent from my iPhone
>>>
>>>> On Mar 8, 2017, at 12:38 PM, Jean-Baptiste Onofré <[hidden email]> wrote:
>>>>
>>>> Hi,
>>>>
>>>> it seems you have multiple Cellar/Hazelcast instance. What join are you using ?
>>>>
>>>> Regards
>>>> JB
>>>>
>>>>> On 03/08/2017 04:40 PM, Oleg Cohen wrote:
>>>>> Hello,
>>>>>
>>>>> I have two Karaf 4.0.8 instances running on the same Linux CentOS 7 server.
>>>>>
>>>>> in the course of some time the number of cluster nodes keeps on growing.
>>>>> I wonder what the issue is?
>>>>>
>>>>> The way my membership is defined is with
>>>>>
>>>>> <hz:member>172.16.15.132</hz:member>
>>>>>
>>>>> karaf@root()> cluster:node-list
>>>>> | Id                 | Alias | Host Name     | Port
>>>>> -----------------------------------------------------
>>>>> | 172.16.15.132:5703 <http://172.16.15.132:5703> |       |
>>>>> 172.16.15.132 | 5703
>>>>> | 172.16.15.132:5704 <http://172.16.15.132:5704> |       |
>>>>> 172.16.15.132 | 5704
>>>>> x | 172.16.15.132:5701 <http://172.16.15.132:5701> |       |
>>>>> 172.16.15.132 | 5701
>>>>> | 172.16.15.132:5702 <http://172.16.15.132:5702> |       |
>>>>> 172.16.15.132 | 5702
>>>>> | 172.16.15.132:5707 <http://172.16.15.132:5707> |       |
>>>>> 172.16.15.132 | 5707
>>>>> | 172.16.15.132:5705 <http://172.16.15.132:5705> |       |
>>>>> 172.16.15.132 | 5705
>>>>> | 172.16.15.132:5706 <http://172.16.15.132:5706> |       |
>>>>> 172.16.15.132 | 5706
>>>>
>>>> --
>>>> Jean-Baptiste Onofré
>>>> [hidden email]
>>>> http://blog.nanthrax.net
>>>> Talend - http://www.talend.com
>>
>> --
>> Jean-Baptiste Onofré
>> [hidden email]
>> http://blog.nanthrax.net
>> Talend - http://www.talend.com
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Multiple node in a cluster and number is growing

Oleg Cohen
I noticed this message in the log: "Creating a new HazelcastInstance for session replication”. So, I guess a new instance gets created when a WAR module restarts or gets redeployed. How do I avoid that and use the cellar’s Instance? Os this is correct behavior?

Thank you,
Oleg


> On Mar 8, 2017, at 1:26 PM, Oleg Cohen <[hidden email]> wrote:
>
> Can it be related to session clustering? Should the info match in web.xml and hazelcast.xml?
>
> Thank you,
> Oleg
>
> Sent from my iPhone
>
>> On Mar 8, 2017, at 1:03 PM, Oleg Cohen <[hidden email]> wrote:
>>
>> Yes, I use tcp with one interface.
>>
>> Sent from my iPhone
>>
>>> On Mar 8, 2017, at 12:45 PM, Jean-Baptiste Onofré <[hidden email]> wrote:
>>>
>>> Don't you use just interface in tcp ?
>>>
>>> Regards
>>> JB
>>>
>>>> On 03/08/2017 06:41 PM, Oleg Cohen wrote:
>>>> I am using tcp with either a single interface or a single member. The result is the same.
>>>>
>>>> Sent from my iPhone
>>>>
>>>>> On Mar 8, 2017, at 12:38 PM, Jean-Baptiste Onofré <[hidden email]> wrote:
>>>>>
>>>>> Hi,
>>>>>
>>>>> it seems you have multiple Cellar/Hazelcast instance. What join are you using ?
>>>>>
>>>>> Regards
>>>>> JB
>>>>>
>>>>>> On 03/08/2017 04:40 PM, Oleg Cohen wrote:
>>>>>> Hello,
>>>>>>
>>>>>> I have two Karaf 4.0.8 instances running on the same Linux CentOS 7 server.
>>>>>>
>>>>>> in the course of some time the number of cluster nodes keeps on growing.
>>>>>> I wonder what the issue is?
>>>>>>
>>>>>> The way my membership is defined is with
>>>>>>
>>>>>> <hz:member>172.16.15.132</hz:member>
>>>>>>
>>>>>> karaf@root()> cluster:node-list
>>>>>> | Id                 | Alias | Host Name     | Port
>>>>>> -----------------------------------------------------
>>>>>> | 172.16.15.132:5703 <http://172.16.15.132:5703> |       |
>>>>>> 172.16.15.132 | 5703
>>>>>> | 172.16.15.132:5704 <http://172.16.15.132:5704> |       |
>>>>>> 172.16.15.132 | 5704
>>>>>> x | 172.16.15.132:5701 <http://172.16.15.132:5701> |       |
>>>>>> 172.16.15.132 | 5701
>>>>>> | 172.16.15.132:5702 <http://172.16.15.132:5702> |       |
>>>>>> 172.16.15.132 | 5702
>>>>>> | 172.16.15.132:5707 <http://172.16.15.132:5707> |       |
>>>>>> 172.16.15.132 | 5707
>>>>>> | 172.16.15.132:5705 <http://172.16.15.132:5705> |       |
>>>>>> 172.16.15.132 | 5705
>>>>>> | 172.16.15.132:5706 <http://172.16.15.132:5706> |       |
>>>>>> 172.16.15.132 | 5706
>>>>>
>>>>> --
>>>>> Jean-Baptiste Onofré
>>>>> [hidden email]
>>>>> http://blog.nanthrax.net
>>>>> Talend - http://www.talend.com
>>>
>>> --
>>> Jean-Baptiste Onofré
>>> [hidden email]
>>> http://blog.nanthrax.net
>>> Talend - http://www.talend.com

Loading...