Hi Andrew, thanks for your response.

What I wanted to ask in question number (3) is this.

If I work with only 1 node, I access http://myhost/cas/services... and I can 
see the ticket stats (number of TGTs, STs to expire, etc.).

Working with 2 nodes (with memcached / repcached), what would I see? In every 
node the stats of this node? O the sama stats in both nodes?


________________________________
 From: Andrew Morgan <[email protected]>
To: [email protected] 
Sent: Sunday, January 15, 2012 2:30 PM
Subject: Re: [cas-user] CAS - HA with memcached / repcached
 
On Sun, 15 Jan 2012, Fernando Correa wrote:

> Hi to everyone.
> 
> I'm looking to implement CAS working in a HA environment. It looks like 
> memcached is a simple solution to provide this. I read a lot about it and I 
> have some doubts.
> 
> 1) If a node fails, we still need to work with another one, without 
> authenticate users agains. Is repcached the solution for this?

We use repcached here for that reason.

> 2) I made a little test with this. I generated some STs from node 1 (ST-1, 
> ST-2, ...). I stopped node 1, and I generated some STs from node 2. The nodes 
> where named ST-1, ST-2, .... Every node names their tickets in that way 
> (ST-1, ST-2, ...)?

Each node makes tickets that begin with ST-###.  You should also set the 
host.name property in your cas.properties file.  Service Tickets will get the 
name appended then, for uniqueness (ST-###-abc123-hostname).

> 3) With memcached in the middle, could I see the tickets stats in the console 
> (both nodes will show the same information)?

I'm not sure what you mean.  If you have a way to view the memcache cache, then 
you should see all of the tickets.

> 4) Do I have to change something in the client when I used this solution?

Nope.  CAS clients work the same as usual.

    Andy

-- You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user
-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to