Maksim,
you definitely need to set up High Availability with ticket registry
replication:
https://apereo.github.io/cas/6.1.x/high_availability/High-Availability-Guide.html#high-availability-guide-haclustering
We use Ehcase for this (just two nodes), so we have:
- cas.properties: cas.ticket.registry.ehcache.configLocation=<path to
ehcache-replicated.xml>
- ehcache-replicated.xml - see attached: you need to deploy this on both
nodes, and to specify port of one node as remotePort of another node.
I hope this helps
--
with best regards
*Petr Gašparík*
IT security consultant
út 14. 1. 2020 v 21:35 odesílatel Ray Bon <[email protected]> napsal:
> Maksim,
>
> Default registry is in memory,
> https://apereo.github.io/cas/6.1.x/ticketing/Default-Ticket-Registry.html.
> You will find it easier to start with a single CAS node.
> See,
> https://dacurry-tns.github.io/deploying-apereo-cas/introduction_overview.html,
> for an approach to getting things set up.
>
> Ray
>
> On Tue, 2020-01-14 at 12:14 -0800, 'Maksim Kopeyka' via CAS Community
> wrote:
>
> Ray,
>
> We didn't setup any registry configuration yet. We have several nodes of
> CAS with load balancer.
> I don't see any *cas.ticket.registry* properties in our config.
>
> Maksim
>
> On Tuesday, January 14, 2020 at 7:29:52 PM UTC+2, rbon wrote:
>
> Maksim,
>
> Most (all) of the ticket registries should be able to handle mulit node
> CAS. Perhaps your registry configuration is incomplete.
> What is your current config?
>
> Ray
>
> --
>
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 | CLE 019 | [email protected]
>
> I respectfully acknowledge that my place of work is located within the
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and
> WSÁNEĆ Nations.
>
> --
>
> Ray Bon
> Programmer Analyst
> Development Services, University Systems
> 2507218831 | CLE 019 | [email protected]
>
> I respectfully acknowledge that my place of work is located within the
> ancestral, traditional and unceded territory of the Songhees, Esquimalt and
> WSÁNEĆ Nations.
>
> --
> - 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/61ec5cf8a135159f0d3a323ec022cac8b2587058.camel%40uvic.ca
> <https://groups.google.com/a/apereo.org/d/msgid/cas-user/61ec5cf8a135159f0d3a323ec022cac8b2587058.camel%40uvic.ca?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/CABAspd0XE0b3RbpO1BEmPCrnNvSj1UKgjCGyhso11J%3DqQjJA%2BA%40mail.gmail.com.
<ehcache name="ehCacheTicketRegistryCache"
updateCheck="false"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://ehcache.org/ehcache.xsd">
<diskStore path="java.io.tmpdir/cas"/>
<cacheManagerPeerProviderFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerProviderFactory"
properties="peerDiscovery=manual,rmiUrls=//${ehcache.other.hosts}/org.apereo.cas.ticket.TicketCache" />
<cacheManagerPeerListenerFactory
class="net.sf.ehcache.distribution.RMICacheManagerPeerListenerFactory"
properties="port=${ehcache.port},remoteObjectPort=${ehcache.remote.port}" />
</ehcache>