Quantcast
Channel: Ignite Realtime: Message List
Viewing all articles
Browse latest Browse all 11413

Re: How to increase Client Session Info Cache

$
0
0

Atif,

Maybe to late to have a potential answer to this Question.

So I hope this helps someone else.

 

I ran into the same issue. I only opened up two ports for hazelcast (5701, 5702).

After doing a web search and looking at the logs it seemed as if hazelcast uses more that one port for sharing data.

Looking at my config in the hazelcast-cache-config.xml file.

<network>

        <port auto-increment="true" port-count="99">5701</port>

         <join>

            <multicast enabled="false">

            </multicast>

            <tcp-ip enabled="true">

  <member>10.0.3.5:5701</member>

  <member>10.0.3.4:5701</member>

      </tcp-ip>

         <aws enabled="false"/>

        </join>

        <interfaces enabled="true">

  <interface>10.0.3.4</interface>

  </interfaces>

 

I noticed the auto-increment was set to true and assume that meant the port use would increase as both machines could not connect to the same ports.

I open ports 5701 - 5800 on both machines in the cluster (port-count = 99).

Pretty sure i don't need that many however better safe.

 

This seemed to take care of my issue however i still wonder if each member should specify a different port.

e.g.

instead of:

  <member>10.0.3.5:5701</member>

  <member>10.0.3.4:5701</member>

 

It might need to  be

  <member>10.0.3.5:5701</member>

  <member>10.0.3.4:5703</member>

 

I do notice in the admin console under server manger-clustering i can't see the status of one of the machines in the cluster

Can anyone tell me if my assumption is correct.?

Thanks.


Viewing all articles
Browse latest Browse all 11413

Trending Articles