- Lab
- A Cloud Guru
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.
Path 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.
What's a lab?
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.
Provided environment for hands-on practice
We will provide the credentials and environment necessary for you to practice right within your browser.
Guided walkthrough
Follow along with the author’s guided walkthrough and build something new in your provided environment!
Did you know?
On average, you retain 75% more of your learning if you get time for practice.