In this demo, we will see how to provision the victims required to set up a single master to worker
node cabernets cluster using virtual box and Vikrant on our local system as a prerequisite.
You must have virtual box and vagrant installed.
We will use a vagrant file to automate the provisioning of the virtual machines required for the master
and worker notes.
The vagrant file is located in the GitHub repository associated with this course.
So we clone this repository first by copying the repository you are all and running the clone command
followed by the.
You are to the repository.
Once cloned c.D into the cloned directory.
Review the vagrant file to make sure it has the right settings.
We see that we have configured the number of Masser nodes to one and worker nodes to two.
And the IP network range is one.
I need to load 168 dot 56.
This means that when the victims are created, they are going to get IP addresses within this range.
So that looks good.
We come out of the file and we run the background status command to check the status of the V.
And since we have not created them yet, they are in a not created state.
But we can see the names of machines that it would create.
Once we provision, they will be named Cube Master Cube, not zero one and Cube notes zero two.
We will now run the vagrant up command to provision the VMC.
It uses the Ubuntu Bionic 64 base images.
The base image is pulled and the beams are being provisioned.
Now, depending on your network bandwidth and your hosts resources, this may take some time.
So let's wait.
Now, first, the acute masteries provisioned and then the cube node zero one is provisioned.
And finally, Cube notes, Rotu gets provisioned.
We now check the status again and see that it's all in our running state to access one of these system,
use the vagrant as a search command.
So we run the vagrant as a sage cube master command to assist into the master node.
So we are in the master node.
We run just any command to make sure it's working.
So we were on the uptime command to check if the commands are working.
And then we will now log out of the system and test SSL connectivity to the other nodes, not zero one.
And followed by No one zero to.
So they look good.
Now we're all set.
And in the next video, we will proceed with bootstrapping a cluster using Cubitt E.M..