-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document a procedure for renaming DCs #1858
Comments
Is there any way to change the datacenter name & not lose what’s stored in Consul’s K/V store? Specifically, I have Vault using Consul as its backing store, and I need to change the datacenter name. |
Same here... tried changing the datacenter name and completely lost access to the cluster. I have couple ACLs and even the master token was not working at all. Had to revert the name back to regain access. |
@slackpad, any update on this issue? Is https://www.consul.io/docs/guides/autopilot.html#upgrade-migrations close to what we will have to do in order to not lose the whole cluster? |
What about providing an abstraction layer that can be used to rename the
|
@guidoiaquinti's procedure looks awesome and would work great for our use case as well. |
This is nothing that we have time to actively work on. There is however a similar mechanism to switch domains with |
For anyone interested, I found out that renaming datacenter in configuration and restarting ALL consul agents (including servers) at the same time just works. Catalog is working, vault and other k/v data is there. I've tested without TLS and ACL though. |
Carry over from here - https://groups.google.com/d/msgid/consul-tool/b80a40ef-6b02-47d2-9bee-3014135ade22%40googlegroups.com?utm_medium=email&utm_source=footer. We should document some steps to do this.
The text was updated successfully, but these errors were encountered: