- Install mysql packages:
apt install mariadb-server python3-pymysql -y
- Create and edit /etc/mysql/mariadb.conf.d/99-openstack.cnf
[mysqld]
bind-address = 10.10.10.11
default-storage-engine = innodb
innodb_file_per_table = on
max_connections = 4096
collation-server = utf8_general_ci
character-set-server = utf8
- Finalize MYSQL installation
systemctl enable mariadb
systemctl restart mariadb
- Run mysql setup:
mysql_secure_installation
- Install rabbitmq packages:
apt install rabbitmq-server -y
- Add openstack user to rabbitmq:
rabbitmqctl add_user openstack password123
- Apply permissions for openstack rabbitmq user:
rabbitmqctl set_permissions openstack ".*" ".*" ".*"
- Install memcached packages:
apt install memcached python3-memcache -y
- Edit /etc/memcached.conf and change following setting:
- Finalize installation
systemctl enable memcached
systemctl restart memcached
- Install etcd packages:
- Edit /etc/default/etcd and change following setting:
ETCD_NAME="controller"
ETCD_DATA_DIR="/var/lib/etcd"
ETCD_INITIAL_CLUSTER_STATE="new"
ETCD_INITIAL_CLUSTER_TOKEN="etcd-cluster-01"
ETCD_INITIAL_CLUSTER="controller=http://10.10.10.11:2380"
ETCD_INITIAL_ADVERTISE_PEER_URLS="http://10.10.10.11:2380"
ETCD_ADVERTISE_CLIENT_URLS="http://10.10.10.11:2379"
ETCD_LISTEN_PEER_URLS="http://10.10.10.11:2380"
ETCD_LISTEN_CLIENT_URLS="http://10.10.10.11:2379"
- Enable and restart etcd service:
systemctl enable etcd
systemctl restart etcd