CSS Corp Open Source Services

Archive for the ‘euca debug instances’ Category

Eucalyptus Beginner’s Guide – UEC Edition

with 16 comments

Table of Contents

  1. Introduction to UEC and its components
  2. Installation & Configuration
  3. Web Interface
  4. Image Management
  5. Instance Management
  6. Storage Management
  7. Network Management
  8. Security
  9. Troubleshooting
  10. Euca Commands
  11. Hacks

This is a live book and will be updated on an ongoing basis based on your feedback and comments.

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

with 3 comments

Chapter 2
Installation & Configuration

Cloud

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 9 – Troubleshooting

leave a comment »

Chapter 8
Security
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 »