three node installation

asked 2018-11-01 11:38:25 -0600

najeh gravatar image

I will setup my own private cloud. i have three machines, i will realize a three node installation 1 controller and two compute nodes. Is it possible ? How can i realize the setup?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2018-11-01 18:07:20 -0600

Yes it is possible, and there are many options.

Manual setup: Time consuming, requires troubleshooting, you learn a lot: The installation tutorials. This gives you a two-node setup, but you can easily repeate the instruction for setting up compute nodes.

Packstack: Fairly automatic; you can set up a cloud on a single server in an hour or so. After that, add compute nodes. It only works on RHEL and RHEL clones.

DevStack has the purpose of creating small clouds for testing OpenStack software. Like Packstack, quick to set up, but runs on Ubuntu and OpenSUSE as well. It does support multi-node installations; I don't know how hard it is to configure them.

These three solutions work on comparatively small physical or virtual machines; 6GB memory should be sufficient, 50GB disk space, any type of modern CPU. Slightly more performant servers are required to set up OpenStack in LXC containers using OpenStack-Ansible, and in Docker container with Kolla and Kolla-Ansible.

There are several other deployment solutions.

edit flag offensive delete link more


how can i realize the hardware configuration of the three machines in the Lab using switch ?

najeh gravatar imagenajeh ( 2018-11-01 19:51:03 -0600 )edit

I don't think I understand your question. You take three boxes, network them together with a switch, and off you go. The tutorial requires two (or three?) networks per box, so you use two or three NICs, or VLANs. Packstack works with a single NIC out of the box (but its "external" network is fake).

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-01 22:50:27 -0600 )edit

Actually i need a support to how configure hardware machines together to build and setup my own cloud. How connect these three machines using router/switch ? how configure IP addresses ? How configure networking ? The specific steps in Configuring an Open Source Private Cloud ?

najeh gravatar imagenajeh ( 2018-11-02 07:07:38 -0600 )edit

This is explained in the Overview and Environment chapters of the installation tutorials. I also like this external resource, old but still correct I think:

Bernd Bausch gravatar imageBernd Bausch ( 2018-11-02 07:19:57 -0600 )edit

answered 2018-11-07 05:29:47 -0600

esxzawq gravatar image

I have used virtualbox

1 vm for Controller ( 8G or 6G ram , 4 core cpu)

1 vm for Compute ( 4G ram , 4 or 2 core cpu)

Each vm has 2 network interfaces

1- bridg adapter for provider network

2- vboxnet for management network ( base on the tutorials)

An then followed this toturial :

edit flag offensive delete link more


@esxzawq Did you install a vm in each machine(physical machine) or all vm's installed in one single machine(single machine ?

najeh gravatar imagenajeh ( 2018-11-07 06:42:26 -0600 )edit

I only have one physical machine ( my laptop ) and installed the virtualbox on it, controller and the compute nodes are vm's of virtualbox. I have used this method just for testing and understanding the basic of openstack. but for real scenario should use real hardwares.

esxzawq gravatar imageesxzawq ( 2018-11-09 03:39:43 -0600 )edit

@najeh these links could be helpful for your design

use cases

minimum configuration

esxzawq gravatar imageesxzawq ( 2018-11-09 03:44:20 -0600 )edit

@esxzawq should i specify the provider IP @ in the controller and compute nodes or just write in/etc/network/interfaces with eth1 is the provider @ withou an ip assigned to it

auto eth1 iface eth1 inet manual up ip link set dev $IFACE up down ip link set dev $IFACE down

najeh gravatar imagenajeh ( 2018-11-10 01:59:17 -0600 )edit

@najeh I have not specifed the provider IP in both controller and compute and both are working properly and for connecting to the compute or controller you should use management IP

esxzawq gravatar imageesxzawq ( 2018-11-13 05:45:52 -0600 )edit

answered 2018-11-07 07:00:41 -0600

yasin lachiny gravatar image

You can not use virtual box for compute But you can use virtual box for your controller

In the lab you should use strong hardware for controller and small hardware for compute node but in operation it is diffrent

edit flag offensive delete link more


@novainfinite can i use physical machine for the for compute and contoller nodes installation to set up my private cloud. controller= physical machine1= 8 Gib ram / ubuntu-server OS compute= physical machine 2/3= 8 Gib ram /ubuntu-server OS

najeh gravatar imagenajeh ( 2018-11-07 07:44:46 -0600 )edit

If all 4 physical machine have 8 gig of ram yes you can

yasin lachiny gravatar imageyasin lachiny ( 2018-11-07 08:09:07 -0600 )edit

is it possible to configure a master machine to work with just one desktop machine remotely? if yes how can i achieve that?

najeh gravatar imagenajeh ( 2018-11-07 09:20:04 -0600 )edit

What do you mean by master node? Do you want to install all node in one physical server?

yasin lachiny gravatar imageyasin lachiny ( 2018-11-07 11:14:38 -0600 )edit

No, each node on a single machine, But i want to use another physical machine which will be the responsible (master) for the installation and configuration of different nodes (physical machines)

najeh gravatar imagenajeh ( 2018-11-07 13:56:17 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2018-11-01 11:38:25 -0600

Seen: 1,240 times

Last updated: Nov 07 '18