Closed JamesD4 closed 2 years ago
For clarity, I am attempting to set up Netmaker in a Highly Available configuration on Bare Metal / VMs. I have tried setting SQL_CONN to http://IP:4001 and setting database to rqlite. Thank you!
I case anyone need it, the correct format is the following :
SQL_CONN=<http|https>://[<user>:<password>@]<hostname>[:<port>]/
Also one of the issue making it unable to connect was that the raft url changed between two configurations and thus, making it fail too. It could have more debug infos, what helped me was to tcpdump the http requests made to the server.
That's great, thanks @MinDBreaK. I'll give this a go!
Cloding. We had issues with previous versions of HA that should be resolved in most recent version.
Contact Details
james@duffy.app
What happened?
Documentation: Netmaker will be started on each node with default settings, except with DATABASE=rqlite (or DATABASE=postgress) and SQL_CONN set appropriately to reach the local rqlite instance. Rqlite will maintain consistency with each Netmaker backend.
Issue: I have set up an RQLite cluster on two hosts on a private subnet but Netmaker is unable to connect to the db.
The machines have joined an RQLite cluster successfully.
The documentation states to set SQL_CONN appropriately - how should this be formatted for Netmaker/RQLite? Could you provide an example, please?
Thanks and best wishes, James
Version
v0.14.2
What OS are you using?
Linux
Relevant log output
Contributing guidelines