I am new to Vault and installed 2 nodes in windows instances and I believe they are running as processes. I made some changes in config hcl file and need to restart it but since it is not running as service not sure how to restart to take new changes in effect.
Any help is appreciated.
1 Like
You only need to restart one node each.
Restart first node (recommend restart the follower node first)
Check if the node correctly restarted and check if the node is in the cluster
Repeat the process in the second node.
All the configuration need restart vault servers, but it aways can be in HA.
Thanks for your reply.
I am mostly trying to figure out how exactly to restart vault server in Windows. It is currently running as a process not a service.
Hmmm, in this case i recommend to use “kill a process” instead restart service, because restart process only stop process correctly.
But, before i recommend get backup of configuration inner cluster:
Use this article to make restart process, change the pass of “systemctl stop vault” for “kill ”
And use the binary to start the process.
I recommend you read this thread, about configure vault process in windows service:
Thank you for the reply. I am aware that Vault can be invoked as either Server or Agent. I am also aware that Agent can be run as a Windows Service. My research to date confirms that Vault cannot be run as a Windows Service in Server mode without using a third party product like AlwaysUp. My questions are:
Are there plans to update the Windows binary to allow Vault to run as Server as a Windows Service (similar to its functionality under Linux)?
If so, is there an estimated release date for th…
The last link is a open question, but if you search the recommendations of the requester, you can find util links inside this thread, like service tools to keep the process.