Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

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.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Intermediate
Duration
Clock icon 30m
Published
Clock icon Nov 06, 2020

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. 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 the sudo command also.

  2. 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.

  3. 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.

  4. 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.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

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.

Start learning by doing today

View Plans