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

monitoring server node from F5 load balancer

1 reply [Last post]
  • Login or register to post comments
Fri, 02/17/2012 - 16:04
jasper
Offline
Joined: 02/17/2012
Groups: None

I'm setting up Couchbase for our environment and have a question about monitoring the server nodes that I could not find in the documentation or the recent monitoring topic (http://www.couchbase.com/webinar/monitoring)...

- we have a cluster of 4 servers behind an F5 load balancer.
- auto-failover setting disabled.
- example URL we will tell our web app to use is like this: couchbase.domain.com.
- couchbase.domain.com will go to our load balancer and it will send via round-robin to 1 of the 4 nodes (servernode.domain.com:8091)

The F5 load balancer has a health check monitor. This ensures all nodes are up and healthy. Typically, the basic HTTP monitor will do a GET request for / and as long as it receives a 200 HTTP status, it is OK.

We need to setup an F5 health check for our Couchbase servers, but I don't know what to use. GET / does not accurately check the health of the active server nodes.

I was thinking of doing a GET /pools/default/buckets/bucket1 and look for word "healthy" or else, mark that node down. Any suggestions?

Thanks

Top
  • Login or register to post comments
Sun, 03/18/2012 - 23:38
ingenthr
Offline
Joined: 03/16/2010
Groups:

The JSON response for all nodes will tell which ones are not healthy. I think that might be best for you, but it'll be several different URLs. I don't know enough about how the F5 works for this, but you'll probably find the answer you seek in the chapter on the REST interface:
http://www.couchbase.com/docs/couchbase-manual-1.8/couchbase-admin-resta...

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