The OpenStack object storage is a multi-tenant object storage system installed for development and testing purposes. It is highly scalable and can manage large amounts of unstructured data at minimal cost.
Now that we have a machine to run our OpenStack Object Storage service (swift), we can install the packages required to run this service. It works together to provide object storage and retrieval.
To do this, we will create a machine that runs on all the appropriate services for running OpenStack Object Storage:
Assure that you are logged into your swift virtual machine. To accomplish this, run:
Related Page:: Installing OpenStack Dashboard
How to achieve it…
Installation of OpenStack in Ubuntu 12.04 is simply achieved by using the familiar apt-get tool due to the OpenStack packages available from the official Ubuntu repositories. To ensure you are installing the Grizzly release of OpenStack, follow the Configuring Ubuntu Cloud archive Recipe from Chapter 1, Keystone OpenStack Identity Service.
1. We can install the OpenStack Object Storage packages as follows:
sudo apt-get update
sudo apt-get install -y swift swift-proxy swift-account swift- container swift- object memcached xfsprogs curl python-webob ntp parted
2. NTP is important in any multi-node environment, while in OpenStack environment, it is a requirement for server times to be kept in sync. Even though we are configuring only one node, not only will it accurate timekeeping help with troubleshooting, but also it will allow us to grow our environment as needed in the future. To do this, we edit /etc/ntp.conf, with the following contents:
# Replace ntp.ubuntu.com with an NTP server on your network server ntp.ubuntu.com
fudge 127.127.1.0 stratum 10
3. Once ntp has been configured correctly, we restart the service to pick up the change:
sudo service ntp restart
Installation of OpenStack Storage from the main Ubuntu package repository represents a very straightforward and well-understood way of getting OpenStack into our Ubuntu server. This adds a greater level of certainty around stability and upgrade paths by not deviating away from the main archives.
Get Updates on Tech posts, Interview & Certification questions and training schedules