Skip to content

Conversation

@citruspi
Copy link
Contributor

Like the replace_mongo_server function, this automates the replacement of a single member in a cluster.

A new Couchbase server will be spun up, added to the Couchbase cluster. If replace is True, the old server will be removed from the cluster. If reroute is True then before the old server is removed, the DNS record for the old server will be changed to point to the new server, which means that clients don't need to be immediately updated. In addition, the old server will not be removed until the updated DNS record has "propagated." If the server is being replaced, it will also be stopped, or optionally terminated. Either way, it will be placed in Maintenance Mode on Stackdriver first.

citruspi added 25 commits April 28, 2015 11:22
* master:
  Changed the user and group for /fulla to ec2-user
  Changed cluster to group in the code sample
  Checked for existing log handlers before adding a new one
  Fixed the comparison of IAM policies.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant