As I wrote earlier, we are running memcached-1.2.8-repcached-2.2, not the 1.4 
branch (which is not needed for CAS)

Prior to building it, we installed the libevent and libevent-devel packages (in 
a Centos5.4 environment)

Then we added local users to the two servers, called 'memcached', and are 
running the repcached servers as follows:

*On the first server:*

     /usr/local/bin/memcached -u memcached -d -x<second-server-ip>



*On the second server:*

     /usr/local/bin/memcached -u memcached -d -x<first-server-ip>

On a multi-homed server, add-l<ipaddress>  to bind to specific ip address.

You also may need to add more memory:-m 512  
(default is 64MB)

Good luck,

Johan


On 3/5/2010 8:21 AM, n99 wrote:

> hmmm
>
> so I downloaded
> http://sourceforge.net/projects/repcached/files/repcached/2.2-1.2.8/memcached-1.2.8-repcached-2.2.tar.gz/download
>
> and did the following based on trial and error and about 4 google posts.
>
> # tar -xzf memcached-1.2.8-repcached-2.2.tar.gz
> # cd memcached-1.2.8-repcached-2.2
> # ./configure --enable-replication;make;make install;
> # ln -s /usr/local/lib/libevent-1.4.so.2 /usr/lib64/libevent-1.4.so.2 (as
> lib couldn't be found)
> # memcached -d -u nobody -m 512 127.0.0.1 -p 11211 -x [hostname]
>
> runs but that's as far as I've currently got :)
>
> This seems to be a bit haphazard to me and also
> memcached v1.4.4 did not work with repcached-2.2-1.2.8.patch
> as per instructions here
> http://linux.softpedia.com/get/System/System-Administration/repcached-32640.shtml
>
> - has anyone managed this? Is there some config changes needed to get this
> to work?
>
> I would imagine using memcached v1.4.4 is preferable?
> Is repcached a forward looking solution?
>
> Best
>
> Nomit
>    

-- 
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