Hi All,
I’m getting an error while adding new client to my existing nomad cluster. However the existing clients are working with out error.
attaching snippet of error logs on new client.
Please help if some one has any idea about he resolution of this issue.
Thanks!!
AM
Hi All,
I’m also facing the same issue with same error. Need help
Thanks
Nirankush
Hi @akhilmishra109,
Welcome to the HashiCorp Forums!
Do you have client.servers
in your configuration files? If yes, ensure they point to the servers’ correct IP addresses.
Example
client {
enabled = true
servers = ["<ip-address-of-server"]
}
Alternatively, if you are using Consul for auto-discovery, make sure the Consul agent is running on the node and is joined to the Consul cluster.
Hi Ranjan,
Replying on behalf of Akhilesh -
client {
enabled = true
server_join {
retry_join = [“ipaddress of server node1:4648” , “ipaddress of server node 2:4648”]
}
}
this is what we are making use of
Thanks
Nirankush
Thank you for sharing the configs @nirankush.tyagi94.
Considering this is the client config, you have three options. Pick the one you feel right for you:
- Remove the port number from the
retry_join
server list
- Replace the port with
4647
(the RPC port on the servers).
- Use the
servers
option and pass the list of IPs as shown in the documentation.