02 - Pre-Deployment


1 min read

This post is part of the Manual Deployment Openstack HA and Ceph series.

Exec on all nodes

1. Set hosts file

vi /etc/hosts public.java.dama.ink internal.java.dama.ink admin.java.dama.ink os-controller-01 os-controller-02 os-controller-03 os-compute-01 os-compute-02 os-compute-03

2. Verify the connection between nodes

ping -c 3 os-controller-01
ping -c 3 os-controller-02
ping -c 3 os-controller-03
ping -c 3 os-compute-01
ping -c 3 os-compute-02
ping -c 3 os-compute-03

3. Adding to the Focal-Yoga Ubuntu Cloud Archive (UCA) repository

add-apt-repository cloud-archive:yoga
apt update && apt upgrade -y

4. Installing chrony (ntp)

# Installing chrony
apt install -y chrony

# Start and enable chrony service 
systemctl enable --now chrony
systemctl status chrony

5. Set up passwordless ssh

sed -i -r 's/#PermitRootLogin.*/PermitRootLogin yes/' /etc/ssh/sshd_config
systemctl restart sshd


ssh-copy-id os-controller-01
ssh-copy-id os-controller-02
ssh-copy-id os-controller-03
ssh-copy-id os-compute-01
ssh-copy-id os-compute-02
ssh-copy-id os-compute-03