Rate This Document
Findability
Accuracy
Completeness
Readability

Configuring the Host Name Mapping

Configure the host name mapping of Ceph nodes on all OpenStack nodes. Similarly, configure the host name mapping of all OpenStack nodes on Ceph nodes.

Configure the host name mapping of Ceph nodes on all OpenStack nodes.

  1. Open the /etc/hosts file.
    vi /etc/hosts
  2. Press i to enter the insert mode and add the host name mapping of Ceph nodes.
    192.168.15.5 ceph-storager 

    Replace the example IP addresses and host names in the commands with actual ones.

  3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.

Configuring the Host Name Mapping of All OpenStack Nodes on Ceph Nodes

  1. Open the /etc/hosts file.
    vi /etc/hosts
  2. Press i to enter the insert mode and add the host name mapping of OpenStack nodes.
    192.168.15.2 controller 
    192.168.15.3 compute01
    192.168.15.4 compute02

    Replace the example IP addresses and host names in the commands with actual ones.

  3. Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.