Setting up a listening server
Can I setup a membase cluster with servera, serverb, serverc and have another cluster serverx, servery & serverz just listening on servera, serverb, serverc and copying all the changes made there?
serverx, servery, serverz are only replica's and will only be used should something happen and all 3 servers in first cluster servera, serverb, serverc are not operational.
From what I read, it appears that TAP protocol allows doing this, but, is there a library that we can readily use to create such a cross-cluster replica?
1) When will couchbase 2.0 release candidate be available?
2) Are you referring to the wiki page posted by Benjamin - when you said it will be available in 2.0?
Thank you for your suggestion around using TAP (or) writing a light wrapper around client library. We will look into it.
3) Also, if we start using membase 1.7.1 now and if we wish to upgrade to couchbase 2.0, will there be a tool for migrating data? I am assuming mbackup script will not be sufficient as sqllite would no longer be the database - isnt it?
1 - There is a developer preview release available now, we'll have a few more drops of that and then a Beta. After Beta, it will move to GA (currently planned for November)
2 - Which wiki page are you referring to?
3 - Yes, we will provide a tool.
2. Wiki page: http://www.couchbase.org/wiki/display/membase/Replication
Thank you for replies.
Hehe, that page isn't exactly ready for public consumption ;-) I've hidden it for now, but yes, that's what I was referring to. We're building a cross-cluster replication feature that will allow you to synchronize (within a DC or across a WAN) two Couchbase Server clusters.
Perry
This is the exact use case that we are buildling into Couchbase Server 2.0 (the upcoming upgrade to Membase) and will provide a much easier to use, out of the box synchronization feature.
You could try to put it together today with TAP, but there's a bit more complexity involved and I wouldn't personally recommend it.
An option for you today would be to write to each cluster, perhaps a simple layer that you wrap your client library in so you don't have to add any logic at the application level.
Perry
Forum support is great for free but sometimes you need a guaranteed response time and dedicated resources for your questions or issues.
Consider purchasing enterprise-level support from Couchbase: http://www.couchbase.com/products-and-services/overview
Call or email "sales -at- couchbase-dot- com" today!