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

2 Membase servers behind vip setup

No replies
  • Login or register to post comments
Wed, 05/02/2012 - 07:26
mprakash
Offline
Joined: 05/01/2012
Groups: None

Hi,

I have 2 membase servers installed on CentOS machine on our internal cloud (with Replication enabled). I have these 2 servers behind a vip. From Enyim client, I set the server to vip:8091/pools/default. MinPoolsize is 20 and MaxPoolSize is 100. DeadTimeout is 1 sec (not sure if this is too less). On my client I see 1 connection to the vip. On the 2 servers I see multiple connections to port 8091. The problem I have is when I shutdown membase server on one box (to simulate a box becoming unreachable or down for maintenance), a few of the get/store fail. I enabled logging and noticed this error - "Pool is dead or disposed, returning null." with the IP of the server that is down. How do I force my client to automatically recreate pool and connect to only the server that is up?

Thanks,
Prakash

Top
  • 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