- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Installing Nomad on Three Servers
In this Lab, we will be configuring three provided nomad servers to be in a cluster. These servers are Centos 7 servers. One server will be configured as the server agent. The other 2 nodes will be configured as clients. At the end, we will have a small cluster that will be ready to accept and run jobs. You will need to make changes to the configuration to ensure that a data center of `dc1` is being used.

Lab Info
Table of Contents
-
Challenge
Log into the provided servers.
You have been provided with 3 servers. You will need to log into them as the
cloud_user
with the provided password. To perform some of the commands, you will need to use thesudo
command also. -
Challenge
On nomad-server0 configure Nomad to be in server mode. You should use the datacenter of dc1.
On the Server node, configure the Nomad instance to be in server mode. You will need to edit the configuration file and remove some of the default settings.
You will need to ensure that the datacenter of dc1 has been configured.
-
Challenge
On nomad-client0 and nomad-client1 configure Nomad to be in client mode. You should use the datacenter of dc1.
On the client nodes, configure the Nomad instance to be in client mode.
You will need to edit the configuration file and remove some of the default settings.
You will need to ensure that the datacenter of dc1 has been configured.
You should set the client stanza's server section to use the
nomad-server0
internal IP address. The external IP address will not work.Start or restart all Nomad instances.
If the 2 client nodes are not added automatically to the cluster, then you can manually add them using the relevant nomad node command.
-
Challenge
Check the cluster is working using Nomad commands.
Using Several Nomad commands, check to see if the cluster is working.
You should see only one node in server members.
You should see two nodes with node status.
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.