On Thu, 22 Sep 2011, David Hicks wrote:

We're trying to implement a simple but effective HA solution. Can someone
point me to something (*anything*) that shows the steps for configuring *
repcached*?

Are you asking how to configure CAS to use repcached, or how to setup repcached?

I followed the wiki page https://wiki.jasig.org/display/CASUM/MemcacheTicketRegistry to setup CAS, but instead of referencing 2 memcache servers, I just point to:

                        <value>localhost:11211</value>


These are the steps I took to compile and install repcached on my Debian Squeeze system:

1. aptitude install libevent-dev
2. Get patch: http://mdounin.ru/files/repcached-2.3.1-1.4.5.patch.gz
3. Get memcached-1.4.5 source
4. Patch the source with "patch -p1 < repcached-2.3.1-1.4.5.patch"
5. ./configure --prefix=/private/repcached --enable-replication
6. make
7. make install


The hardest part after that was creating the various init scripts to start it. I based my scripts on Debian's scripts for their memcached package.


However, I am considering reverted to a stock 2-node memcached setup instead of repcached. I have been trying to run 2 separate copies of repcached on different ports on my 2 nodes, one for prod and one for dev, but I can't make it work. The new repcached doesn't work right for some reason.

        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

Reply via email to