Hi Dave , Thaks for your reply. I have configured my env. as you say and it works . But i have some warning messages , i dont know how to get rid of them. One more , how can i test it , it works properly or not ? It seems everything ok , but how can i test hazelcast , i dont know how hazelcast replicates tickets and how can i verify each node can has same ticket? Simply i want to test it by stopping one of the cas node's tomcat service ,then refresh the browser but other node couldnt send any reply, my session has end and it forced me login to active node again. You or someone could please help me about that? Thank you.
15 Ekim 2019 Salı 15:00:56 UTC+3 tarihinde David Curry yazdı: > > 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] <javascript:> > > > On Tue, Oct 15, 2019 at 7:44 AM M.Pedis <[email protected] <javascript:>> > 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] <javascript:>. >> 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/f7d1ae32-544c-42f0-a462-49ade3a79921%40apereo.org.
