Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

Nodes knowledge (.NET)

2 replies [Last post]
  • Login or register to post comments
Thu, 12/13/2012 - 02:22
Castlejoe
Offline
Joined: 10/27/2012
Groups: None

I'm playing with the .net client library, and I see that the client needs to know about all existent nodes in the cluster, give for example in the config file:

<couchbase>
    <servers bucket="default" bucketPassword="">
      <add uri="http://192.168.0.2:8091/pools"/>
      <add uri="http://192.168.0.3:8091/pools"/>
    </servers>
</couchbase>

Is this the case? So if I add new nodes to my cluster I have to update the config for all client applications?

\Joe

Top
  • Login or register to post comments
Thu, 12/13/2012 - 05:35
daschl
Offline
Joined: 05/19/2012
Groups: None

Hi Joe, its exactly the opposite:

You should pass a few nodes in here, but they are only used during the bootstrap phase. This means that if the first server is not reachable it will try the second and so on. After that, it fetches the topology from your cluster automatically and stays "on top" of changes. You never need to update the config here when you change your cluster setup.

Does this make sense to you?

Top
  • Login or register to post comments
Thu, 12/13/2012 - 07:45
Castlejoe
Offline
Joined: 10/27/2012
Groups: None

daschl wrote:
Does this make sense to you?

It does, and I was hoping to get this as an answer ;). Thank you.

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