-
We have 3 nodes not reachable by internet (i.e. we can't use wizard procedure for let's encrypt certificates with challenge and auto-renewal) and a self-signed certificate. What is the exact sequence of operation in order to build a cluster from scratch? Until now, we tried many different ways, such as
Sadly, it seems that, after having followed such steps, each of 3 nodes has built a single node cluster, and there isn't any way to "break" the cluster, eventually making it possible to add other nodes manually. Any hint? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Please note that you can use the Let's Encrypt model here, just need a DNS server for that. For your scenario, shut down nodes A & B, delete the |
Beta Was this translation helpful? Give feedback.
-
Ok, we succeeded. As reference for the future, following points turned out to be the "crucial" ones: On all nodes, start with a clean RavenData dir and with a settings.json like this one (here raven01, as well as for raven02 and raven03, are host names defined in order to resolve private IP on inter-node communications; we used /etc/hosts to map such hostnames with corresponding private IPs; also, we're quite not sure this is actually "crucial" for correct initial configuration): {
"DataDir": "RavenData",
"License.Eula.Accepted": true,
"Security.UnsecuredAccessAllowed": "PublicNetwork",
"Setup.Mode": "Initial",
"ServerUrl": "http://0.0.0.0:8080",
"ServerUrl.Tcp": "tcp://0.0.0.0:38888",
"PublicServerUrl": "http://raven01:8080",
"PublicServerUrl.Tcp": "tcp://raven01:38888"
} We followed "Let's Encrypt" procedure on initial wizard on node A. Here the important thing is to correctly define all 3 entries in cluster configuration, i.e. using private IP in "IP Address / Hostname" textbox. At the end of such procedure, a .zip file is downloaded by browser. This .zip file contains on its root the pfx certificate that has to be imported on Current User Personal Certificates in order to authenticate both browser when accessing web Studio (on any cluster node) and client applications. Same .zip file has to be used with wizard procedure "Continue cluster setup for new node" on nodes B and C, that have to be started with clear RavenData directory and with an initial settings.json like the one above. Once completed such procedure on nodes B and C everything should work as expected. Hope this will help! |
Beta Was this translation helpful? Give feedback.
Ok, we succeeded. As reference for the future, following points turned out to be the "crucial" ones:
On all nodes, start with a clean RavenData dir and with a settings.json like this one (here raven01, as well as for raven02 and raven03, are host names defined in order to resolve private IP on inter-node communications; we used /etc/hosts to map such hostnames with corresponding private IPs; also, we're quite not sure this is actually "crucial" for correct initial configuration):