Welcome! Log In Create A New Profile

Advanced

Setting up memcached in remote server

Posted by Rajeswari 
Rajeswari
Setting up memcached in remote server
September 02, 2009 05:40PM
Hi,

I am looking into memcache for the first time. Could you give some
information.

1) Is it possible to run memcached in Server X with ip address of
Server Y?
2) If it is possible, is there any configuration change for remote
setup?

Thanks
Rajeswari
Matt Ingenthron
Re: Setting up memcached in remote server
September 02, 2009 06:40PM
Rajeswari wrote:
> Hi,
>
> I am looking into memcache for the first time. Could you give some
> information.
>
> 1) Is it possible to run memcached in Server X with ip address of
> Server Y?
> 2) If it is possible, is there any configuration change for remote
> setup?

The memcached server is agnostic about network deployment. You can
certainly run a number of them across multiple systems distributed over
the network. That's what it's designed for.

Having said that, I don't understand question number 1. It sounds like
you want to take the IP of one system and move it to another for some
reason.

The normal approach here would be to run memcached on server X, Y and Z,
say running on 192.168.241.12, 13 and 14 and have server A connecting to
them from say 192.168.241.87. The memcached client on server A would
have it's server list configured to have X, Y and Z in it. The server
doesn't know anything about the clients... it's only the clients who
know and have to agree on the server configuration to work together.

Hope that helps,

- Matt
Sorry, only registered users may post in this forum.

Click here to login