CSS Corp Open Source Services

Posts Tagged ‘Eucalyptus Book

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 6 – Storage Management

with 3 comments

Chapter 5
Instance Management
Chapter 7
Network Management

Storage Controller

Storage Controller is the component of Eucalyptus that provides persistent block storage compatible with Amazon’s Elastic Block Store. euca2ools or EC2 commands can be used to manage these volumes. Here are a few euca commands for managing the volumes

Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 1 – Introduction to UEC and its components

with 3 comments

Chapter 2
Installation & Configuration


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 ‘Cloud’. The following are the broad categories of services available on the ‘Cloud’:

  1. Infrastructure As A Services (IAAS)
  2. Platform As A Service (PAAS)
  3. Software As A Service (SAAS)

This ‘Cloud’ is generally available as service to anyone on the Internet. However, a variant called ‘Private Cloud’ is increasingly becoming popular for private infrastructure that has some of the attributes of the ‘Cloud’ as mentioned above.

Amazon Web Services is one of the major players providing IAAS. They have 2 popular services – Elastic Compute Cloud(EC2) and Simple Storage Service(S3). These services are available through web services interfaces. The client tools can use EC2 and S3 APIs to communicate with these services. The popularity of these APIs have encouraged other Cloud products to provide support for them as well.

Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 11 – Hacks

with 8 comments

Chapter 10
Euca Commands

Bringing up a windows instance without using kernel and ramdisk images

Edit /usr/share/eucalyptus/gen_kvm_libvirt_xml to  remove the lines that add “-kernel” and “-initrd” options in the libvirt.xml.

Here is the patch for /usr/share/eucalyptus/gen_kvm_libvirt_xml that ships with Ubuntu 10.04 (Lucid Lynx)

DISCLAIMER: This patch works  with the windows instances  on Lucid Lynx. This would work as long as all your disk images are bootable and you don’t need the kernel and ramdisk images. If you need the flexibility of launching instances using different kernel/ramdisk combinations, this hack is not for you! Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 10 – Euca Commands

leave a comment »

Chapter 9  Troubleshooting Chapter 11 Hacks

Commands from euca2ools

Image Management


Bundles an image for use with Eucalyptus or Amazon EC2. Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 9 – Troubleshooting

leave a comment »

Chapter 8
Chapter 10
Euca Commands

Eucalyptus Log files

The following log files help in debugging issues encountered while working with Eucalyptus:

Eucalyptus Component Log file(s)
CC cc.log, httpd-cc_error_log, cc-registration.log
NC nc.log, httpd-nc_error_log, euca_test_nc.log
CLC cloud-debug.log, cloud-error.log, cloud-output.log, axis2c.log
SC sc-stats.log, sc-registration.log
WS3 walrus-stats.log, walrus-registration.log

The logging level is controlled by the LOGLEVEL macro in eucalyptus.conf of the respective component. The log levels are DEBUG, INFO, WARN, ERROR, and FATAL (in descending order of verbosity). The default level is DEBUG (everything).

‘tail -f ‘ on the log files is a good way to understand what is happening with the components of Eucalyptus.

Read the rest of this entry »

[Eucalyptus Beginner’s Guide – UEC edition] Chapter 5 – Instance Management

with 2 comments

Chapter 4
Image Management
Chapter 6
Storage Management

There are broadly three types of tools that you can use to manage Eucalyptus instances.

  1. Firefox Plugins – Elasticfox and Hybridfox
  2. Command Line tools like euca2ools
  3. Custom applications developed using EC2 APIs. ( Will not be covered in this beginner’s guide )


Elasticfox is an open source Mozilla Firefox extension that works on Firefox Version 2.0 or later to help you with managing your Amazon EC2 account – Launch new instances, mount Elastic Block Storage volumes, map Elastic IP addresses, and more. This was originally written for EC2, but, since version xxx.xxx, it can also be used for managing your Eucalyptus account as well, because API of Eucalyptus is compatible with that of EC2.

Read the rest of this entry »