Agreed,

Your configuration seems fine. Looks similar to mine. I have more options 
specified though:
cas.ticket.registry.hazelcast.cluster.core.instance-name=login-dev
cas.ticket.registry.hazelcast.cluster.network.members=ip1,ip2
cas.ticket.registry.hazelcast.cluster.network.port=5701
cas.ticket.registry.hazelcast.cluster.network.port-auto-increment=true
cas.ticket.registry.hazelcast.cluster.network.tcpip-enabled=true
cas.ticket.registry.hazelcast.cluster.discovery.multicast.enabled=false
cas.ticket.registry.hazelcast.cluster.core.replicated=true
cas.ticket.registry.hazelcast.cluster.core.async-backup-count=0
You've probably already done it but I'd check that the firewall is still 
open over your chosen Hazelcast ports.

On Thursday, August 1, 2024 at 10:42:06 PM UTC-4 Erik Mallory wrote:

> Same for 7.0.4 in production our test and dev environments work but not 
> prod. We have some style changes (colors) we use to identify the different 
> environments and I use the war overlay to rebuild the war and copy it to 
> the environment.  dev works, I finished work on the 7.0 branch a few months 
> back and  upgraded test two months ago, and upgraded both environments to 
> 7.0.4. The move to prod earlier this week did not go as well. We 
> experienced the same thing you are. with 7.0.6. Moments ago I upgraded our 
> dev system to 7.0.6 to see if I could replicate your problem and I could 
> not. Hazelcast is up and running and cas works properly. 
>
> So what's different?
> our prod cas gets HAMMERED. test and dev not so much. Through Prometheus, 
> we noticed that the Old_Gen Memory for our production system was growing 
> under load and eventually would tank the cas service when the jvm ran out 
> of memory.
>
> I'm not sure where the problem is, but I don't think it's your config.
>
>
>
>
> On Thu, Aug 1, 2024 at 11:23 AM Phil Hale <phal...@gmail.com> wrote:
>
>> Howdy folks,
>>
>> I'm having some trouble with Hazelcast after upgrading from CAS 6.6 to 
>> 7.0.  I have CAS servers set up in an HA configuration and have been using 
>> Hazelcast for the Ticket Registry for many versions of CAS.  After 
>> upgrading to 7.0, the basic configuration I've used has stopped working.  
>> Generally I just had to include the following two cas.properties settings:
>>
>> node1:
>> cas.ticket.registry.hazelcast.cluster.core.instance-name=10.20.2.106
>>
>> cas.ticket.registry.hazelcast.cluster.network.members=10.20.2.106,10.20.2.105
>>
>> node2:
>> cas.ticket.registry.hazelcast.cluster.core.instance-name=10.20.2.105
>>
>> cas.ticket.registry.hazelcast.cluster.network.members=10.20.2.106,10.20.2.105
>>
>> But the two hosts no longer seem to communicate properly.  I'm on CAS 
>> version 7.0.6.  I've reviewed the Required configuration settings from 
>> https://apereo.github.io/cas/7.0.x/ticketing/Hazelcast-Ticket-Registry.html 
>> but I still can't seem to get it working.  Anyone have a sample 
>> configuration for a 2 node setup that is working under 7.0 that they can 
>> send me?
>>
>> Thanks,
>>
>> Phil
>>
>> -- 
>> - Website: https://apereo.github.io/cas
>> - List Guidelines: https://goo.gl/1VRrw7
>> - Contributions: https://goo.gl/mh7qDG
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "CAS Community" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to cas-user+u...@apereo.org.
>> To view this discussion on the web visit 
>> https://groups.google.com/a/apereo.org/d/msgid/cas-user/ea7920bc-854d-47e3-9280-6bb9e4c13d39n%40apereo.org
>>  
>> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/ea7920bc-854d-47e3-9280-6bb9e4c13d39n%40apereo.org?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> Erik Mallory
>
> ------------------------
> "A happy man's paradise is his own good nature." - Edward Abbey
>
>
>

-- 
- Website: https://apereo.github.io/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cas-user+unsubscr...@apereo.org.
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/02976fd0-66b1-4163-8e67-4f07fecb2d11n%40apereo.org.

Reply via email to