Hi, Erik,

I had a similar problem using Hazelcast as the storage service for a
Shibboleth installation. I found that the member list should only include
*other* servers, not the local host. In your case, on appdev-523 should
have  cas.ticket.registry.hazelcast.cluster.members set to
appdev-524.wichita.edu, and vice versa. Once I set it up that way Hazelcast
stopped logging weird partition errors.


Best regards,
--
Carlos M. Fernández
Enterprise Systems Manager
*Saint Joseph’s University*
Philadelphia PA 19131
T: +1 610 660 1501

On Wed, Jul 19, 2017 at 11:17 AM, Mallory, Erik <[email protected]>
wrote:

> Hello,
>
> I have configured two CAS 5.1 nodes and I am using a netscaler to load
> balance them. I was doing some resiliency testing by logging into the cas
> service,  then shutting down the http service on node I am connected to,
> then refreshing the connection. When I do this I get rerouted to the cas
> login screen again. In the logs I can see no Errors or failures. Hazelcast
>  logging is set to debug. I see heartbeats and communication between the
> two nodes. But the service is not behaving as I expect.
>
> Here is my configuration for hazelcast
>
> cas.ticket.registry.hazelcast.pageSize=500
>
>  cas.ticket.registry.hazelcast.mapName=tickets
>
> #cas.ticket.registry.hazelcast.configLocation=/data/cas/config/cas5/
> hazelcast.xml
>
>  cas.ticket.registry.hazelcast.cluster.evictionPolicy=LRU
>
>  cas.ticket.registry.hazelcast.cluster.maxNoHeartbeatSeconds=300
>
>  cas.ticket.registry.hazelcast.cluster.multicastEnabled=false
>
>  cas.ticket.registry.hazelcast.cluster.evictionPercentage=10
>
>  cas.ticket.registry.hazelcast.cluster.tcpipEnabled=true
>
>  cas.ticket.registry.hazelcast.cluster.members=appdev-523.wichita.edu,
> appdev-524.wichita.edu
>
>  cas.ticket.registry.hazelcast.cluster.loggingType=slf4j
>
>  cas.ticket.registry.hazelcast.cluster.instanceName=cas-dev
>
>  cas.ticket.registry.hazelcast.cluster.port=5701
>
>  cas.ticket.registry.hazelcast.cluster.portAutoIncrement=true
>
>  cas.ticket.registry.hazelcast.cluster.maxHeapSizePercentage=85
>
>  cas.ticket.registry.hazelcast.cluster.backupCount=1
>
>  cas.ticket.registry.hazelcast.cluster.asyncBackupCount=0
>
>  cas.ticket.registry.hazelcast.cluster.maxSizePolicy=USED_HEAP_PERCENTAGE
>
>  cas.ticket.registry.hazelcast.cluster.timeout=5
>
>
>
> The logs generally look like this.
>
> 3.wichita.edu]:5701 [dev] [3.8.1] Applied new partition state. Version:
> 543, caller: [appdev-524.wichita.edu]:5701>
>
> cas-2017-07-18-11-1.log:2017-07-18 11:12:54,087 DEBUG
> [com.hazelcast.internal.cluster.impl.ClusterHeartbeatManager] - <[
> appdev-523.wichita.edu]:5701 [dev] [3.8.1] Received heartbeat from Member
> [appdev-524.wichita.edu]:5701 - 5a3577aa-4567-4629-a162-92d2cab86bd2
> (now: 2017-07-18 11:12:54.085, timestamp: 2017-07-18 11:12:54.085)>
>
> cas-2017-07-18-11-1.log:2017-07-18 11:12:54,087 DEBUG
> [com.hazelcast.internal.cluster.ClusterService] - 
> <[appdev-523.wichita.edu]:5701
> [dev] [3.8.1] Setting cluster time diff to -2ms.>
>
> cas-2017-07-18-11-1.log:2017-07-18 11:12:59,087 DEBUG
> [com.hazelcast.internal.cluster.impl.ClusterHeartbeatManager] - <[
> appdev-523.wichita.edu]:5701 [dev] [3.8.1] Received heartbeat from Member
> [appdev-524.wichita.edu]:5701 - 5a3577aa-4567-4629-a162-92d2cab86bd2
> (now: 2017-07-18 11:12:59.085, timestamp: 2017-07-18 11:12:59.085)>
>
> cas-2017-07-18-11-1.log:2017-07-18 11:12:59,087 DEBUG
> [com.hazelcast.internal.cluster.ClusterService] - 
> <[appdev-523.wichita.edu]:5701
> [dev] [3.8.1] Setting cluster time diff to -2ms.>
>
> cas-2017-07-18-11-1.log:2017-07-18 11:13:04,087 DEBUG
> [com.hazelcast.internal.cluster.impl.ClusterHeartbeatManager] - <[
> appdev-523.wichita.edu]:5701 [dev] [3.8.1] Received heartbeat from Member
> [appdev-524.wichita.edu]:5701 - 5a3577aa-4567-4629-a162-92d2cab86bd2
> (now: 2017-07-18 11:13:04.085, timestamp: 2017-07-18 11:13:04.085)>
>
> cas-2017-07-18-11-1.log:2017-07-18 11:13:04,087 DEBUG
> [com.hazelcast.internal.cluster.ClusterService] - 
> <[appdev-523.wichita.edu]:5701
> [dev] [3.8.1] Setting cluster time diff to -2ms.>
>
> cas-2017-07-18-11-1.log:2017-07-18 11:13:09,081 DEBUG
> [com.hazelcast.internal.partition.InternalPartitionService] - <[
> appdev-523.wichita.edu]:5701 [dev] [3.8.1] Master version should be
> greater than ours! Local version: 543, Master version: 543 Master: [
> appdev-524.wichita.edu]:5701>
>
>
>
> Any help you can give would be greatly appreciated.
>
> Thanks,
>
> Erik Mallory
>
> Server Analyst
>
> Wichita State University
>
> 316.978.3502
>
>
>
> --
> - CAS gitter chatroom: https://gitter.im/apereo/cas
> - CAS mailing list guidelines: https://apereo.github.io/cas/
> Mailing-Lists.html
> <http://spamburger.sju.edu/canit/urlproxy.php?_q=aHR0cHM6Ly9hcGVyZW8uZ2l0aHViLmlvL2Nhcy9NYWlsaW5nLUxpc3RzLmh0bWw%3D&_s=Y2Zlcm5hbmQ%3D&_c=77a03ca9>
> - CAS documentation website: https://apereo.github.io/cas
> <http://spamburger.sju.edu/canit/urlproxy.php?_q=aHR0cHM6Ly9hcGVyZW8uZ2l0aHViLmlvL2Nhcw%3D%3D&_s=Y2Zlcm5hbmQ%3D&_c=9d7960c0>
> - CAS project website: https://github.com/apereo/cas
> ---
> 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 [email protected].
> To view this discussion on the web visit https://groups.google.com/a/
> apereo.org/d/msgid/cas-user/24FACB15-FA65-42F0-9595-
> F4D1353B7C63%40wichita.edu
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/24FACB15-FA65-42F0-9595-F4D1353B7C63%40wichita.edu?utm_medium=email&utm_source=footer>
> .
>

-- 
- CAS gitter chatroom: https://gitter.im/apereo/cas
- CAS mailing list guidelines: https://apereo.github.io/cas/Mailing-Lists.html
- CAS documentation website: https://apereo.github.io/cas
- CAS project website: https://github.com/apereo/cas
--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CAE7KU842VecUe4Wuy2aStukkVeuxuMvTUsX8Om6K1%3DxvwwhdMg%40mail.gmail.com.

Reply via email to