Skip to content

Instantly share code, notes, and snippets.

@tom--
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tom--/50a3ba067d441e9ed24b to your computer and use it in GitHub Desktop.
Save tom--/50a3ba067d441e9ed24b to your computer and use it in GitHub Desktop.
Replication node replacement

In a replication cluster, one of the nodes fails. I replace it with a new machine with the same hostname and address as the failed node. Then, with glusterd stopped on the replacement and running on the survivors

  • Get UUID of failed node from /var/lib/glusterd/peers on one of the survivors
  • Give it to the replacement node by putting it in /var/lib/glusterd/glusterd.info
  • Start glusterd on the replacement
  • On replacement, peer probe one of the survivors
  • Restart glusterd on replacement
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment