Book Image

OpenStack Cloud Computing Cookbook

By : Kevin Jackson
Book Image

OpenStack Cloud Computing Cookbook

By: Kevin Jackson

Overview of this book

<p>OpenStack is an open Source cloud operating stack born from Rackspace and NASA which is now a global success, developed and supported by scores of people around the globe and backed by some of the leading players in the cloud space today.<br /><br /><em>OpenStack Cloud Computing Cookbook</em> will show you exactly how to install the components that are required to make up a private cloud environment. You will learn how to set up an environment that you manage, just as you would do with AWS or Rackspace.<br /><br />The Cookbook starts by configuring Nova (Compute) and Swift (Storage) in a safe, virtual environment that builds on through the book, to provisioning and managing OpenStack in the Datacenter.<br /><br />From Installing Nova in a Virtual Environment to installing OpenStack in the Datacenter, from understanding logging to securing your OpenStack environment, whatever level of experience or interest you have with OpenStack there are recipes that guide you through the journey. Installation steps cover Compute, Swift, Keystone, Nova Volumes, Glance and Horizon.<br /><br /><em>OpenStack Cloud Computing Cookbook</em> gives you clear step-by-step instructions to installing and running your own private cloud successfully. It is full of practical and applicable recipes that enable you to use the latest capabilities of OpenStack and implement them.</p>
Table of Contents (20 chapters)
OpenStack Cloud Computing Cookbook
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Configuring storage


Now that we have our Openstack Storage services installed, we can configure our extra disk, which will form our object storage. As OpenStack Storage is designed to be highly scalable and highly redundant, it is usually installed across multiple nodes. Our test environment will consist of only one node, but OpenStack Storage still expects multiple destinations on our storage to replicate its data to, so we need to configure this appropriately for our test setup.

We will end up with four directories on our OpenStack Storage server specified as /srv/1, /srv/2, /srv/3, and /srv/4, which point to directories on our new disk. The result is an OpenStack Storage setup that looks like it has four other OpenStack Storage nodes to replicate data to.

Getting ready

To begin with, log in to our openstack2 virtual machine.

How to do it...

To configure our OpenStack Storage host, carry out the following steps:

  1. We first create a new partition on our extra disk. This extra disk is seen as...