OpenStack Compute Starter
Guide
Oct 19, 2011 diablo
7
2. Installation and Configuration
Table of Contents
Introduction .................................................................................................................... 7
Server1 ............................................................................................................................ 8
Base OS ................................................................................................................... 8
Networking Configuration ....................................................................................... 9
NTP Server .............................................................................................................. 9
Databases ............................................................................................................. 10
Glance ................................................................................................................... 11
Nova ..................................................................................................................... 12
Swift ..................................................................................................................... 16
Server2 .......................................................................................................................... 24
BaseOS .................................................................................................................. 24
Networking Configuration ..................................................................................... 24
NTP Client ............................................................................................................. 24
Nova Components (nova-compute alone) .............................................................. 25
Client1 ........................................................................................................................... 26
BaseOS .................................................................................................................. 26
Networking Configuration ..................................................................................... 26
NTP Client ............................................................................................................. 26
Client Tools ........................................................................................................... 26
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 and Server2 and Client1. Server1 runs all the components of Nova as
well as Glance and Swift. 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 euca 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 for Windows VMs during image
creation for bundling.