Perform the following steps:
- Create three VMs.
The mentioned repository in the Getting ready section is providing a Vagrantfile spawning VMs with the following network characteristics:
- Adapter 1: NAT
- Adapter 2: Bridge en0: Wi-Fi (AirPort)
- Static IP address: 192.168.50.15X (X being the number of the node)
- Adapter type: paravirtualized
These are the steps to follow:
$ git clone https://github.com/adetalhouet/cluster-nodes.git $ cd cluster-nodes $ export NUM_OF_NODES=3 $ vagrant up
After a few minutes, to make sure the VMs are correctly running, execute the following command in the cluster-nodes folder:
$ vagrant status Current machine states: node-1 running (virtualbox) node-2 running (virtualbox) node-3 running (virtualbox) ...