Introduction

The following section describes how to set up a minimal cloud infrastructure based on OpenStack using 3 machines. These machines are referred to in this and subsequent chapters as Server1, Server2 and Client1. Server1 runs all the components of Nova, Glance, Swift, Keystone and Horizon (OpenStack Dashboard). Server2 runs only nova-compute. Since OpenStack components follow a shared-nothing policy, each component or any group of components can be installed on any server.

Client1 is not a required component. In our sample setup, it is used for bundling images, as a client to the web interface and to run OpenStack commands to manage the infrastructure. Having this client ensures that you do not need to meddle with the servers for tasks such as bundling. Also, bundling of desktop Systems including Windows will require a GUI and it is better to have a dedicated machine for this purpose. We would recommend this machine to be VT-Enabled so that KVM can be run which allows launching of VMs during image creation for bundling.

The installation steps use certain specifics such as host names/IP addresses etc. Modify them to suit your environment before using them. The following table summarizes these specifics.

Table 2.1. Configuration
Server1 Server2 Client1
Functionality All components of OpenStack including nova-compute nova-compute Client
Network Interfaces eth0 - Public N/W, eth1 - Private N/W eth0 - Public N/W, eth1 - Private N/W eth0 - Public N/W
IP addresses eth0 - 10.10.10.2, eth1 - 192.168.3.1 eth0 - 10.10.10.3, eth1 - 192.168.3.2 eth0 - 10.10.10.4
Hostname server1.example.com server2.example.com client.example.com
DNS servers 10.10.8.3 10.10.8.3 10.10.8.3
Gateway IP 10.10.10.1 10.10.10.1 10.10.10.1


loading table of contents...