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.
- Open the /etc/hosts file.
vi /etc/hosts
- 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.
- 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
- Open the /etc/hosts file.
vi /etc/hosts
- 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.
- Press Esc to exit the insert mode. Type :wq! and press Enter to save the file and exit.
Parent topic: Deploying the Ceph Service on OpenStack