Ubuntu 24.04
Sponsored Link

OpenStack Dalmatian : Pre-Requirements2024/10/04

 

This is the example of Cloud Computing by OpenStack 2024.2 Dalmatian.

Install some services that some components of OpenStack needs for system requirements on here.
This example is based on the environment like follows.

        eth0|10.0.0.30 
+-----------+-----------+
|   [ dlp.srv.world ]   |
|     (Control Node)    |
|                       |
|  MariaDB    RabbitMQ  |
|  Memcached  Nginx     |
+-----------------------+

[1]

Configure NTP to adjusts the date, refer to here.

[2]

Install MariaDB Server, refer to here.

[3] Configure Openstack Dalmatian repository.
root@dlp:~#
apt -y install ubuntu-cloud-keyring software-properties-common

root@dlp:~#
echo 'deb http://ubuntu-cloud.archive.canonical.com/ubuntu noble-updates/dalmatian main' > /etc/apt/sources.list.d/cloudarchive-dalmatian.list

root@dlp:~#
apt update

root@dlp:~#
apt -y upgrade

[4] Install RabbitMQ, Memcached, Nginx.
root@dlp:~#
apt -y install rabbitmq-server memcached python3-pymysql nginx libnginx-mod-stream
# add a user to RabbitMQ
# set any password for [password]

root@dlp:~#
rabbitmqctl add_user openstack password

Creating user "openstack" ...
Done. Don't forget to grant the user permissions to some virtual hosts! See 'rabbitmqctl help set_permissions' to learn more.
root@dlp:~#
rabbitmqctl set_permissions openstack ".*" ".*" ".*"

Setting permissions for user "openstack" in vhost "/" ...
root@dlp:~#
vi /etc/mysql/mariadb.conf.d/50-server.cnf
# line 27 : change to the IP address mariadb listens
# * if listen all, specify [0.0.0.0]

bind-address =
10.0.0.30
# line 40 : uncomment and change
# default value 100 is not enough on Openstack Env

max_connections =
1000
root@dlp:~#
vi /etc/memcached.conf
# line 35 : change to the IP address memcached listens
# * if listen all, specify [0.0.0.0]

-l
10.0.0.30
# disable default site on Nginx

root@dlp:~#
unlink /etc/nginx/sites-enabled/default
root@dlp:~#
systemctl restart mariadb rabbitmq-server memcached nginx
Matched Content