Can I add a worker node separately?

I’ve already deployed a cluster environment (1 Master Node and 2 Worker Nodes) in our private cloud (VMs). If I want to add 2 worker nodes into this cluster, do I have to re-install the entire cluster environment? If not, is there any document to tell me how to do it?

Any suggestions will be much appreciated.

Hi,

You do not need to re-install the entire cluster, you would need to prepare a karamel cluster definition with the new worker nodes and run the installation with Karamel and this new cluster definition. Did you use karamel or the installer script to for the initial installation?

Hi Theo,

Thank you for your reply.
Yes, I used hopsworks-installer.sh and karamel to install the Hopsworks 2.0, next I’m going to take a look at how to write a karamel cluster definition.
BTW, I’d like to confirm if each worker node runs independently? In other words, if I install a new worker node, will it synchronize data with other nodes automatically?

Hello,

Karamel coordinates installation of the different services and installation on the nodes is done in parallel. You would have to have a karamel cluster definition with all the correct chef attributes set from your first installation, then add the new nodes you want to add, the run chef. It would be much easier to re-install with all the nodes or use hopsworks.ai which has support for adding/removing nodes.

Hi Theo,

Thank you very much for your reply and I apologize for my late reply.

So the better choice is to re-install with all the nodes, right?

BTW,is there any way to upgrade the version of the Jypyter? In other words, if I want to install a specified version of Jypyter, do I have to re-install the entire cluster environment? I’ve looked at the chef file (hopsworks-chef/templates/default/jupyter-launch.sh.erb), but I haven’t found where to specify the version.

Hi,

Yes it would be better to re-install in this case.

It is not possible to install another Jupyter version. Jupyter is pre-installed and configured within a Hopsworks project and that configuration is done in the Python env docker image which is loaded when Hopsworks is installed.

Hi Theo,

Okay. I think I understand.
Thanks for your help. :slight_smile: