Closed rrueth closed 7 years ago
It looks like this was due to the missing cluster_name
. From reading the docs, I did not realize that the cluster_name
was required for running two auth servers in the same cluster. It would be good to update the HA documentation to call this out.
I'm trying to bring up a Highly Available deployment of Teleport with U2F. I've read through all of the documentation with regards to HA, but I'm having trouble bringing up a second auth server. Thus, I'm opening this for help understanding what I'm missing and to see if something could be added to the HA documentation to make this clearer.
So far, I am able to bring up two proxy hosts, a host for the AppID (for U2F), and a single auth server (auth001). When all of those are running, everything seems to work. But, the second I spin up the second auth server (auth002), I begin seeing the following error in my auth001 logs:
Also, after launching auth002, when I try to run
sudo tctl nodes ls
on auth001, I get the following error:I'm using the following config for both of the auth servers:
Note: \<token> and have been redacted but are real tokens and URLs =).
Is there something that I'm missing? I noticed in the example configuration file this comment:
Do I need to configure a
cluster_name
when launching multiple auth servers in the same cluster?Do I need to start the auth servers with a static token used for the auth servers?