/couchbase-cluster-go

Go library for managing a couchbase cluster via etcd and the couchbase REST API

Primary LanguageGo

Build Status Join the chat at https://gitter.im/tleyden/couchbase-cluster-go

This is a Go library that helps initialize and manage a Couchbase Server cluster running under CoreOS.

Requirements

  • Couchbase Server
  • Etcd present on all nodes (this ships by default with CoreOS)

Issue Tracker

Please file issues to the couchbase-server-docker repo.

Notes regarding node restart

Approach 1 - remove and re-add

The less risky /slower way:

  1. remove - rebalance
  2. Reboot the OS
  3. add node back
  4. rebalance

Approach 2 - failover

Risky way - fast

  1. Graceful failover on the node I need to restart the OS
  2. Reboot the OS
  3. Delta node recovery
  4. Rebalance

References