Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | Membase | Membase Server 1.6.x

migrating memcached to membase

3 replies [Last post]
  • Login or register to post comments
Wed, 10/19/2011 - 00:39
swadesh
Offline
Joined: 10/18/2011
Groups: None

Hi,

I am new to memcached and membase.
Currently I am in a project where we have used memcached.Totally 2 servers having one server of 3GB.

We are in LINUX platform and used almost all the memcached API like (memcached_set/get etc etc).
As memcached has no data recovery mechanism on server failure or in disasture we are planning to upgrade it to membase.

Could you please help me on this to achive this goal?
I gone throught the docs and found that membase also support memcached API.
So we are thinking we dont have to change any code.

I think we have to change the configuration file.
Could you please give me a path to proceed?

Thanks & Regards,
Swadesh

Top
  • Login or register to post comments
Sat, 10/29/2011 - 15:33
enkryp3d
Offline
Joined: 10/28/2011
Groups: None

All you have to do is setup membase on a new server (or servers - more than one server is recommended) and point the client to it... that's it.

I setup all the buckets the same way that memcached is setup using the same ports so all I had to do was change the IP's in settings.php and restart apache.

Its fairly straight forward! :) Move over one bucket at a time and keep an eye on the membase interface to ensure that its taking traffic. Super easy!

I'm trying to figure out why I'm getting memcache timeouts in my logs though. This was happening on both memcache & membase... :(

Top
  • Login or register to post comments
Thu, 11/03/2011 - 16:09
ingenthr
Offline
Joined: 03/16/2010
Groups:

If you're seeing timeouts, please post to the SDK forums. We'd be glad to help to try to find the issue.

Top
  • Login or register to post comments
Thu, 11/03/2011 - 18:13
enkryp3d
Offline
Joined: 10/28/2011
Groups: None

ingenthr wrote:
If you're seeing timeouts, please post to the SDK forums. We'd be glad to help to try to find the issue.

http://www.couchbase.org/forums/thread/memcache-timeouts-app-logs

Moved the thread to the SDK forum.. thanks!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker