Your properties should be named cas.ticket.registry.hazelcast.cluster.
*<whatever>*, not cas.cluster.*<whatever>*. See here:

https://apereo.github.io/cas/development/configuration/Configuration-Properties.html#hazelcast-ticket-registry


For example, this is what we're using in our  three-server development
environment:

cas.ticket.registry.hazelcast.cluster.members:
casdev-srv01.newschool.edu,casdev-srv02newschool.edu,
casdev-srv03.newschool.edu
cas.ticket.registry.hazelcast.cluster.asyncBackupCount: 2
cas.ticket.registry.hazelcast.cluster.backupCount:      0
cas.ticket.registry.hazelcast.cluster.port:             5701
cas.ticket.registry.hazelcast.cluster.portAutoIncrement:        false
cas.ticket.registry.hazelcast.crypto.encryption.key:
 feAIxxxxSBU5xxxxAVTKxx==
cas.ticket.registry.hazelcast.crypto.signing.key:
EHdmxxxxT_MXxxxxYLTexxxxOaklxxxxlY2VxxxxAHuhxxxxPdQxxxxxtTA3xxxxs8TUxxxxL9nYxxxx5RqcvA
cas.ticket.registry.hazelcast.crypto.enabled:           true

Our five-server production environment is exactly the same, except the list
of servers has 5 hosts in it and asyncBackupCount=4 (it should always be
N-1). And of course, different crypto keys.

For initial testing, you can skip the crypto stuff (
cas.ticket.registry.crypto.*<whatever>*); it's optional (but recommended
for production).

The above is for CAS 5.2.x, but the settings should be the same for CAS
5.3.x and CAS 6.x.

--Dave

--

DAVID A. CURRY, CISSP
*DIRECTOR • INFORMATION SECURITY & PRIVACY*
THE NEW SCHOOL • INFORMATION TECHNOLOGY

71 FIFTH AVE., 9TH FL., NEW YORK, NY 10003
+1 646 909-4728 • [email protected]


On Tue, Oct 15, 2019 at 7:44 AM M.Pedis <[email protected]> wrote:

>   Hi Everyone ,
>
> I have two nodes of CAS server . They have LDAP auth method . Seperately
> they work well. ( For both , i am able to login with our active directory
> accounts and cas-management sites also work properly . ) . I just want to
> take this two node behind HA - cluster. I add hazelcast-ticket-registry
> dependincie but could not configured it well. Could anyone share me or help
> me about configuration of hazelcast? What should be in cas.properties_?
>
> I just add that config as shown below but not worked . Could anyone can
> help? Thanks.
>
> -
> #For node1
> #cas.cluster.members=cas01,cas02
> #cas.cluster.instanceName=cas01.xxxx.edu
> #cas.cluster.port=5701
>
> #For node2
> #cas.cluster.members=cas01,cas02
> #cas.cluster.instanceName=cas02.xxxx.edu
> #cas.cluster.port=5701
>
>
>
>
> --
> - Website: https://apereo.github.io/cas
> - Gitter Chatroom: https://gitter.im/apereo/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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/a/apereo.org/d/msgid/cas-user/e83f4a0d-3cc8-42d3-a5a0-c180c305a71c%40apereo.org
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/e83f4a0d-3cc8-42d3-a5a0-c180c305a71c%40apereo.org?utm_medium=email&utm_source=footer>
> .
>

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/CA%2Bd9XAO7QygDNDO-wmnn7ZsawsL7SEK7pW9%3DL5jr_f-Nk72nmg%40mail.gmail.com.

Reply via email to