How to create a multi node vertica using vertica-ce docker images
I downloaded the vertica-ce images from dockerhub. I understand the ce license allows it to be run on three nodes. The dockerfile creates an environment where there is one node, and that node is 127.0.0.1. After that I cannot add any new nodes since the first node is setup as 127.0.0.1.
How can I instruct the dockerfile or vertica to use my LAN ip address 192.168.x.x ?
Tagged:
0
Answers
You could probably change this by running a shell in the container and then run /opt/vertica/sbin/install_vertica with --clean option to replace the 127.0.0.1 entry with the assigned IP. Please see install documentation at https://docs.vertica.com/23.4.x/en/setup/set-up-on-premises/install-using-command-line/install-with-installation-script/install-vertica-options/
However, if possible, it will be easier to configure and deploy a multi-node containerized CE cluster using the Kubernetes operator, which is documented at https://docs.vertica.com/23.4.x/en/containerized/