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

Cluster Conf

1 reply [Last post]
  • Login or register to post comments
Fri, 03/09/2012 - 11:34
satishkoritala
Offline
Joined: 03/09/2012
Groups: None

I want to create a cluster with following conf. and i am using couchbase1.8

1.c1 and c2 are distributed nodes and c3 is the replica of c1 and c4 is replica of c2. i.e data should be distributed among c1 and c2 nodes . c3 is the replica of c1 and c4 is replica of c2.

How can I do the configuration for the above mentioned cluster.

Top
  • Login or register to post comments
Fri, 03/09/2012 - 14:39
mikew
Offline
Joined: 03/14/2011
Groups:

Couchbase base handles replication for you. Just keep adding nodes to the cluster and rebalancing and Couchbase will do the right thing.

In case you interested here's a basic overview of how we handle replication in a cluster. We have a concept called vbuckets which is just a place that keys are hashed to in the server. You never directly interact with vbuckets, but there are 1024 of them. When you add a second node to your cluster vbuckets 1-512 will be active on server 1 and replica on server 2 and vuckets 513-1024 will be replica on server 1 and active on server 2. When you add a third server a similar process happens to spread the active and replica buckets around the cluster.

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