CSS Corp Open Source Services

Archive for the ‘UEC Documentation’ Category

[OpenStack Beginner’s Guide for Ubuntu 11.04] Storage Management

with 2 comments


Nova-volume provides persistent block storage compatible with Amazon’s Elastic Block Store. The storage on the instances is non persistent in nature and hence any data that you generate and store on the file system on the first disk of the instance gets lost when the instance is terminated. You will need to use persistent volumes provided by nova-volume if you want any data generated during the life of the instance to persist after the instance is terminated.

Commands from euca2ools package can be used to manage these volumes.

Here are a few examples:

Read the rest of this entry »

[OpenStack Beginner’s Guide for Ubuntu 11.04] Role Based Access Control

with 3 comments

Every nova user has a role associated with him. This role can be assigned at the time of creation of the account using “nova-manage add user…” or by editing the profile later using the Openstack Dashboard by the project manager. The role can be either global or project specific in scope. All access in Openstack is governed by roles. Each role has a predefined set of operations permitted within the relevant scope(global or local)

Read the rest of this entry »

[OpenStack Beginner’s Guide for Ubuntu 11.04] Network Management

with one comment

In OpenStack, the networking is managed by a component called “nova-network”. This interacts with nova-compute to ensure that the instances have the right kind of networking setup for them to communicate among themselves as well as with the outside world. Just as in Eucalyptus or AWS, each OpenStack instance can have 2 IP addresses attached to it. One is the private IP address and the other called Public IP address. The private IP address is typically used for communication between instances and the public IP is used for communication of instances with the outside world. The so called public IP address need not be a public IP address routable on the Internet ; it can even be an address on the corporate LAN.

Read the rest of this entry »

[OpenStack Beginner’s Guide for Ubuntu 11.04]Introduction to OpenStack and its components

with one comment

Cloud Computing

Cloud computing is a computing model, where resources such as computing power, storage, network and software are abstracted and provided as services on the Internet in a remotely accessible fashion. Billing models for these services are generally similar to the ones adopted for public utilities. On-demand availability, ease of provisioning, dynamic and virtually infinite scalability are some of the key attributes of cloud computing.

An infrastructure setup using the cloud computing model is generally referred to as the “cloud”. The following are the broad categories of services available on the cloud:

  • Infrastructure As A Service (IAAS)
  • Platform As A Service (PAAS)
  • Software As A Service (SAAS)

Amazon Web Services (AWS) is one of the major players providing IAAS. They have two popular services – Elastic Compute Cloud (EC2) and Simple Storage Service (S3). These services are available through web services.

Read the rest of this entry »

[OpenStack Beginner’s Guide for Ubuntu 11.04] – Instance Management

with 2 comments

Instance management

An instance is a virtual machine provisioned by OpenStack on one of the nova-compute servers. When you launch an instance, a series of steps are triggered on various components of the OpenStack. During the life cycles of an instance, it moves through various stages as shown in the diagram below:

Read the rest of this entry »

[OpenStack Beginner’s Guide for Ubuntu 11.04] – Image Management

with 17 comments

Image management

There are several pre-built images for OpenStack available from  various sources. You can download such images and use them to get familiar with OpenStack. You can refer to  http://docs.openstack.org/cactus/openstack-compute/admin/content/starting-images.html for details on using such images.

For any production deployment,  you may like to have the ability to bundle custom images, with a custom set of applications or configuration. This chapter will guide you through the process of creating Linux images of Debian and Redhat based distributions from scratch. We have also covered an approach to bundling Windows images. Read the rest of this entry »

[OpenStack Beginner’s Guide for Ubuntu 11.04] – Installation and Configuration

with 98 comments

Installation and configuration

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 7 components of Nova as well as Glance and 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 any server.
Read the rest of this entry »