Skip to Content
Learning OpenStack Networking - Third Edition
book

Learning OpenStack Networking - Third Edition

by James Denton
August 2018
Beginner
462 pages
12h 36m
English
Packt Publishing
Content preview from Learning OpenStack Networking - Third Edition

Setting the hostnames

Before installing OpenStack, ensure that each node in the environment has been configured with its proper hostname. Use the hostnamectl command on each host to set the hostname accordingly:

Host

Command

controller01

hostnamectl set-hostname controller01

compute01

hostnamectl set-hostname compute01

compute02

hostnamectl set-hostname compute02

compute03

hostnamectl set-hostname compute03

snat01

hostnamectl set-hostname snat01

To simplify communication between hosts, it is recommended that DNS or a local name resolver be used to resolve hostnames. Using a text editor, update the /etc/hosts file on each node to include the management IP address and hostname of all nodes:

10.10.0.100 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

You might also like

OpenStack Certification, 2/e

OpenStack Certification, 2/e

Sander van Vugt
Mastering OpenStack - Second Edition

Mastering OpenStack - Second Edition

Omar Khedher, Chandan Dutta

Publisher Resources

ISBN: 9781788392495