You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vault
I need to do maintenance on a Vault node member, but don't want to shut the service down and make it seal on that node. Is there a way to force leader change without stopping the service?
mlap...@newrelic.com
unread,
Feb 17, 2016, 1:40:37 PM2/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vault
Hey George,
Are you running Vault in HA mode? If yes, then to force a leader change, you would seal the current leader and Vault would automatically elect a new one.
I did this last week to upgrade to 0.5. I have 3 vault nodes connected to Consul. I brought down the 2 standby nodes, upgraded them and brought them back up (back to standby). I then brought down my leader node and one of the other two standby nodes became active. I then upgraded the previous leader node and brought it up in standby. Total time was ~ 5 minutes and there was zero down time.
HTH,
Matt
george....@mx.com
unread,
Feb 17, 2016, 1:49:02 PM2/17/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Vault
Yeah, to clarify -- without sealing the Vault on that node. Didn't want to have to round everyone up to unseal one node for maintenance that doesn't require restarting the service.
Jeff Mitchell
unread,
Feb 18, 2016, 12:28:45 PM2/18/16
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to vault...@googlegroups.com
Hi George,
You could interrupt network connectivity between Vault and your
physical backend for some period of time (probably 15-30 seconds
depending on which backend -- long enough for the lock to be lost).
But if that Vault is the leader, this is probably not a great
experience for your users :-)
Other than that there isn't currently a way to force a leader to step
down without sealing, although there could be. Feel free to file an
issue for this if you like.