Manually Scaling Ubuntu Cluster Out

I am not sure. May be this is the fastest native way for adding new node to the clusters of Hadoop, Redis or Elasticsearch or this kind of stuffs.
I’ve tested it within a few number of clusters hosted in VritualBox.
Each machine got two network adapters. The first one is NAT for providing Internet. The second one is Host-Only for keeping the machines connected together. The Host-Only needs to be updated after cloning.
I Assumed you have already installed everything that the new node should live with.

0. Make a complete network initialized clone of the source node.
1. Start the new machine.
2. sudo nano /etc/hosts
3. sudo nano /etc/hostname
4. sudo nano /etc/network/interfaces
5. sudo rm /etc/udev/rules.d/70-persistent-net.rules
6. sudo reboot

I love it. I am adding a new node by a few clicks and a little editing less than a couple of minutes.
It could be better to copy all you would need to the seed node before.

This entry was posted in Big Data, Cluster, Linux, Networking, Software Engineering. Bookmark the permalink.

One Response to Manually Scaling Ubuntu Cluster Out

  1. pooria says:

    hi
    I want use these commands but I can’t. I am newbie in Linux and I don’t know what can I do after these commands( for example sudo nano /etc/hosts ). could you give example of these commands and network setting
    thanks you very much.

Leave a Reply