WikiPrint - from Polar Technologies

Auto Eucalyptus Installation on Deter

Overview

Eucalyptus is an open-source software platform that implements IaaS-style cloud computing using the existing Linux-based infrastructure found in the modern data center. It is interface compatible with Amazon's AWS making it possible to move workloads between AWS and the data center without modifying the code that implements them. Eucalyptus also works with most of the currently available Linux distributions including Ubuntu, Red Hat Enterprise Linux (RHEL), CentOS, SUSE Linux Enterprise Server (SLES), openSUSE, Debian and Fedora. Similarly, Eucalyptus can use a variety of virtualization technologies including VMware, Xen, and KVM to implement the cloud abstractions it supports.
Helpful Links:
http://www.eucalyptus.com/products/overview
http://open.eucalyptus.com/wiki/EucalyptusUserGuide_v1.6
http://open.eucalyptus.com/wiki/eucalyptus-administrators-guide-16

Eucalyptus on Deter

The DETER testbed is a public facility for medium-scale repeatable experiments in computer security. Now Deter can create experiment to run one or multiple Eucalyptus clouds in one experiment. Installation script can help user to create experiment with Eucalyptus automatically. So users can not only create any number of nodes in one Eucalyptus cloud, but also can create any number Eucalyptus cloud in one experiment. Deter is flexible and easy to assign the hardware type and network connection in each private cloud, which is very powerful to run some experiment against multiple cloud.

Eucalyptus Installation

1)There are three basic components in one Eucalyptus cloud: Node Controller (node), Front End (ctl) and Eucalyptus Tools(cli). 2 To install Node Contoller (node) :

2) To install Front End (ctl):

3) To install Eucalyptus Tools (cli):

Upload Image

1) Change directory to /proj/Virtual/script/eucalyptus_setup 2) Switch user to root.

sudo (all the commands below all assume to be invoked by root user)

3) Upload the os image by the command as the user of eucalyptus:

su eucalyptus –c “./upload_image.sh -i [image name] “
a.the supported image name now are ubuntu9.04; centos5.3; debian5.0; fedora11;
b.if user wants to upload the ubuntu9.04, the command should be:

su eucalyptus –c “./upload.sh -i ubuntu9.04 “

4) Set up environmental variables by the command: source /var/lib/eucalyptus/euca/eucarc 5) check out the status of virtual node by the command: euca-describe-instances

a.if the status of the node is running instead of pending, it means the node is ready, you can login to this virtual node.
b.login command: ssh -i /var/lib/eucalyptus/euca/mykey.private root@10.1.1.101 (you should change the IP address to the IP of the virtual node. In my case it was 10.1.1.101)