Deploying a Private Cloud at Home — Part 2
- My home network has subnet of 192.168.1.0/24
- My home PC which I am turning into controller node has IP of 192.168.1.140
- MY KVM Hypervisor which I am turning to compute node has IP of 192.168.1.142
- It is advisable to have DNS setup in your intranet but just in case you don't have it, you need to modify /etc/hosts file on both controller and compute node in order for OpenStack services to communicate to each other like below
#Controller node 192.168.1.140 controller #Compute node 192.168.1.142 compute
- OpenStack services require a database to store information. You can use any database you are familiar with. I am using MySQL/MariaDB, as I am familiar with it. On the controller node, we will install the MySQL client and server packages, and the Python library.
yum install -y mysql mysql-server MySQL-python
- Enable InnoDB, UTF-8 character set, and UTF-8 collation by default. To do that we need to modify
/etc/my.cnfand set the following keys under[mysqld]section.default-storage-engine = innodb innodb_file_per_table collation-server = utf8_general_ci init-connect = 'SET NAMES utf8' character-set-server = utf8
- Start and enable the MySQL services
service mysqld start chkconfig mysqld on
- Finally, set the root password for MySQL database. If you need further details about configuring the MySQL root password, there are many resources available online.
- On the compute node we need to install the MySQL Python library
yum install -y MySQL-python
- Set up RDO repository on both controller and compute nodes
yum install -y https://repos.fedorapeople.org/repos/openstack/openstack-icehouse/rdo-release-icehouse-4.noarch.rpm
- I am using CentOS 6.2 so I need to have epel repo as well. This step is not required if you are using distro other then RHEL, CentOS, Scientific Linux etc.
yum install https://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
- Install OpenStack utilities on both nodes and get started.
yum install openstack-utils
On this page
Share this
Share this
More resources
Learn more about Pythian by reading the following blogs and articles.
How to Use DockerSlim to Reduce Image Sizes

How to Use DockerSlim to Reduce Image Sizes
Nov 3, 2021 12:00:00 AM
3
min read
Dockerized PMM in production

Dockerized PMM in production
Mar 7, 2018 12:00:00 AM
4
min read
Debugging MySQL on Docker
Debugging MySQL on Docker
May 30, 2018 12:00:00 AM
4
min read
Ready to unlock value from your data?
With Pythian, you can accomplish your data transformation goals and more.