SlideShare uma empresa Scribd logo
1 de 6
Baixar para ler offline
Volume 3, Issue 3, March 2013                          ISSN: 2277 128X
                        International Journal of Advanced Research in
                         Computer Science and Software Engineering
                                                        Research Paper
                                            Available online at: www.ijarcsse.com
              Visualizing a Cloud using Eucalyptus and Xen
          Kaustav Choudhury                           Argha Roy                            Diptam Dutta
              Dept. of CSE                           Dept. of CSE                           Dept. of CSE
     Heritage Institute of Technology     Netaji Subhash Engineering College       Heritage Institute of Technology
           West Bengal, India.                    West Bengal, India.                    West Bengal, India.



Abstract - The clouds are a large pool of virtualized resources which are easy to use and access. As per NIST “Cloud
computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of
configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly
provisioned and released with minimal management effort or service provider interaction”. There are various ways of
setting up clouds in an academic or IT infrastructure. We are proposing a method to setup a cloud infrastructure
using Eucalyptus and Xen. Eucalyptus is an open source cloud computing framework that gives users the ability to
create, run and manage virtual machine instances across physical machines. Xen is the hypervisor upon which the
virtual machines run on the host computer.

Keywords— Cloud computing, Eucalyptus, Xen, ubuntu, Open source.

                                                I.       INTRODUCTION
Cloud computing [1],[6] follows a type of parallel and distributed computing architecture where the computational power,
storage, network and software resources are dynamically provisioned over the internet through service level agreements
between the cloud service provider and the consumer.
Setting up a cloud computing infrastructure has various advantages as huge IT organizations setting up their IT
infrastructure can minimize their IT budget as they only have to pay for the services they want to use and save
themselves from the harassment of maintaining a huge infrastructure. An organization willing to setup a cloud
infrastructure has the flexibility to choose from three types of service models such as Paas, Saas and Iaas. Various
deployment models exist to choose from such as private, public and hybrid clouds.
In a private cloud [6] an organization has the ability to use the infrastructure exclusively for its own needs. A public
cloud is provisioned for open use by the general public whereas a hybrid cloud is a composition of both private and
public clouds.There are various methods to set up cloud computing infrastructures in today‟s market but it has to be taken
into account that the infrastructure is reliable, secure and less expensive to deploy the various applications an
organization wants. So, keeping in mind the above philosophy we have decided to implement such an infrastructure
using Eucalyptus and Xen.

                                             II.       LITERATURE REVIEW
A. Eucalyptus, Euca2ools and Xen.
These are mainly open source platforms and freely available for download and use.
Eucalyptus (Elastic Utility Computing Architecture for Linking Your Programs to Useful Systems) [2], [5] was released
in May 2008. It uses the existing IT infrastructure where it is to be deployed to create a scalable web services layer that
performs an abstraction of the computer, network, security and storage to offer Iaas. Through the use of an effective
hypervisor it creates elastic VMs. The system allows the user to start, control, and access and terminate entire VMs
simulating features equivalent to Amazon EC2‟s SOAP and Query interfaces. It supports popular hypervisors such as
Xen, KVM/QEMU and VMware.
Euca2ools [5] are command-line tools for interacting with Web services that export a REST/Query-based API
compatible with Amazon EC2 and S3 services. The tools can be used with both Amazon's services and with installations
of the Eucalyptus open-source cloud-computing infrastructure. Xen [9], [10] is a hypervisor that provides services to
virtualize the computing resources. It enables you to run multiple virtual machines on a single physical computer known
as host computer, thereby improving the effective usage and efficiency of the underlying hardware. Each virtual machine
may be running a different operating system with a different configuration. The hypervisor provides an isolated
execution environment for each virtual machine running on the host computer. It undergoes memory management and
CPU scheduling of all VMs and launches “dom 0” the most privileged domain which has default access to the hardware.


© 2013, IJARCSSE All Rights Reserved                                                                         Page | 482
Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3),
                                                                                      March - 2013, pp.482-487

                              III.    PROPOSED WORK AND THE SYSTEM ARCHITECTURE
This paper provides an insight into setting up cloud infrastructures using and Xen. The cloud infrastructure will be setup
in minimal conditions using a single physical computing node as it is expensive to rent servers to carry out our work but
in optimal conditions it is suggested to use 2 or more physical computing nodes setup such a cloud infrastructure. The
advantage of our setup is that all the software resources we are using are freely available for download with only
expenses in the hardware resources. So, this is a cost cutting model to setup a cloud infrastructure.
Hardware resources used: - A laptop with the following configuration:
1. 320 GB Hard disk – 100 GB allotted specifically for Linux OS.
2. 2GB RAM.
3. Intel Core i3 Processor @ 2.10GHz.
Software resources used:-
1. Linux OS – Ubuntu 10.04 LTS Desktop.
2. Cloud Management Software – Eucalyptus 1.6.2.
3. Hypervisor – Xen 4.1.2.
4. Command Line Interface Tool – Euca2ools 1.2.
The proposed System Architecture is that above the underlying operating system lies the hypervisor also known as the
virtual machine monitor whose task is to create or simulate the virtual machines (VM) as required which will be
managed by the cloud management framework called Eucalyptus and the interaction and communication between the
various virtual machines will be performed by a command line interface tool known as Euca2ools.The figure depicting
this architecture is as shown below:-




                                               Fig.1: The Cloud System Architecture

                                        IV. Setting Up The Cloud Infrastructure
The setup consists of the following steps: - [3], [5], [8]
1. Installing Eucalyptus from the Synaptic package manager which comes as a package with the Ubuntu Linux OS.
Ubuntu 10.04 comes installed with UEC (Ubuntu Enterprise Cloud) which consists of all the packages and dependencies
required for the installation of eucalyptus. So, I did not have to install eucalyptus. For, reinstalling eucalyptus you need to
go to Administration -> Synaptic Package Manager -> Search for eucalyptus and the results will display several
eucalyptus packages. Select the necessary packages such as eucalyptus common, cloud, sc, cc, nc, walrus and select
„Mark for installation‟.




© 2013, IJARCSSE All Rights Reserved                                                                             Page | 483
Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3),
                                                                                      March - 2013, pp.482-487
                                     Fig.2: Synaptic Package Manager showing the eucalyptus packages
2. Setting up the Cloud controller (CC), Storage controller (SC), Cluster controller, Node Controller (NC) and Walrus.
          Eucalyptus comes with the euca_conf script for configuring Eucalyptus.
             a. Enable services on the front-end
             $EUCALYPTUS/usr/sbin/euca_conf –enable cloud –enable walrus –enable sc
             b. Start enabled front-end services
             $EUCALYPTUS/etc/init.d/eucalyptus-cloud start
             c. Start the cluster controller
             $EUCALYPTUS/etc/init.d/eucalyptus-cc start
             d. And on each of the compute nodes run:
             $EUCALYPTUS/etc/init.d/eucalyptus-nc start
             To stop them you call the script with stop instead of start.
3. Configuring the network in SYSTEM mode in the eucalyptus configuration file.
             a. Create and configure the bridge for a static IP address by modifying the /etc/network/interfaces file.
             b. The options in „eucalyptus.conf‟ that must be configured correctly in „SYSTEM‟ mode are as follows:
             On the front-end: VNET_MODE=”SYSTEM”
              On each node: VNET_MODE=”SYSTEM”
   In each Eucalyptus node controller‟s (NC) „eucalyptus.conf‟ file, VNET_BRIDGE=”xenbr0”(name of the bridge).
            c. It is necessary to set up a DHCP server that has a dynamic pool of IP addresses to hand out as the VMs boot.
4. Installing Xen as the hypervisor which also involves installing the Xen kernel as it is not available for Ubuntu 10.04
OS. The tasks to be accomplished are building and installing Xen and compiling the Xen Dom0 kernel [4].
5. Configuring the hypervisor.
           root@kaustav-laptop:~# vim /etc/xen/xend-config.sxp
           Edit the file as follows:-
          (xend-http-server yes)
          (xend-unix-server yes)
          (xend-unix-path /var/lib/xend/xend-socket)
          (xend-address localhost)
          (network-script „network-bridge netdev=xenbr0‟)
6. Registering the eucalyptus components.
          root@kaustav-laptop:~# euca_conf –register-walrus 172.16.17.121
          root@kaustav-laptop:~# euca_conf –register-sc cluster1 172.16.17.121
          root@kaustav-laptop:~# euca_conf –register-nodes “172.16.17.121”
          root@kaustav-laptop:~# euca_conf –register-cluster cluster1 172.16.17.121
7. Installing euca2ools to setup a command line interface to communicate with eucalyptus.
          You need to install the euca2ools_1.2-0ubuntu10_all.deb package downloaded from the internet. Also, the
          system must have the python, boto and M2crypto packages already installed which can be viewed from the
          Synaptic Package Manager.
8. Creating and managing virtual machine images through the Ubuntu Enterprise Cloud (UEC) interface.




                                             Fig.3: Login Page of UEC Web Console


© 2013, IJARCSSE All Rights Reserved                                                                          Page | 484
Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3),
                                                                                      March - 2013, pp.482-487




                                          Fig.4: Credentials Page of UEC




                                            Fig.5: Images Page of UEC




                                         Fig.6: Configuration page of UEC

© 2013, IJARCSSE All Rights Reserved                                                               Page | 485
Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3),
                                                                                      March - 2013, pp.482-487




                                         Fig.7: Walrus Configuration page of UEC
9. Retrieving Credentials through command line.
            $ mkdir -p ~/.euca
            $ chmod 700 ~/.euca
            $ cd ~/.euca
            $ sudo euca_conf --get-credentials mycreds.zip
            $ unzip mycreds.zip
10. Source eucarc script to make sure that the environmental variables used by euca2ools are set properly.
            $ . ~/.euca/eucarc
11. Execute following command to register the node.
            $ sudo euca_conf --no-rsync --discover-nodes
12. To verify that euca2ools is able to communicate with the UEC, fetch the local cluster availability details as.
            root@kaustav-laptop:~# euca-describe-availability-zones verbose
           On executing the above command the result is:-
            AVAILABILITYZONE cluster1                 172.16.17.121
            AVAILABILITYZONE |- vm types              free / max cpu ram disk
            AVAILABILITYZONE |- m1.small              0000 / 0000 1 192 2
            AVAILABILITYZONE |- c1.medium             0000 / 0000 1 256 5
            AVAILABILITYZONE |- m1.large              0000 / 0000 2 512 10
            AVAILABILITYZONE |- m1.xlarge             0000 / 0000 2 1024 20
            AVAILABILITYZONE |- c1.xlarge             0000 / 0000 4 2048 20
13. Unpacking the downloaded Virtual Image file [7].
            root@kaustav-laptop:~#tar -S -xzf ubuntu-9.10-rc-uec-i386.tar.gz
14. Registering the kernel.
            root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-bundle-image -i karmic-uec-i386-vmlinuz-virtual -r
            i386 --kernel true
15. Registering the image.
         root@kaustav-laptop:~# euca-bundle-image -i karmic-uec-i386.img
         root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# BUCKET_IMAGE="i-$TIMESTAMP"
         root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-upload-bundle -b $BUCKET_IMAGE -m /tmp/karmic-
         uec-i386.img.manifest.xml
         root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-register $BUCKET_IMAGE/karmic-uec
         i386.img.manifest.xml
16. Registering the ramdisk.
         root@kaustav-laptop:~# euca-bundle-image -i karmic-uec-i386-initrd-virtual --ramdisk true
         root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# BUCKET_INITRD="r-$TIMESTAMP"
         root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-upload-bundle -b $BUCKET_INITRD -m /tmp/karmic-
         uec-i386-initrd-virtual.manifest.xml
         root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-register $BUCKET_INITRD/karmic-uec-i386-initrd-
         virtual.manifest.xml
17. To view details of the image registered.
         root@kaustav-laptop:~# euca-describe-images
         IMAGE emi-23DA11B9 i-20121125094233/karmic-uec-i386.img.manifest.xml                       admin available
         public x86_64               machine
         IMAGE eri-24D11647          r-20121125094233/karmic-uec-i386-initrd-virtual.manifest.xml admin available
         public x86_64               ramdisk

© 2013, IJARCSSE All Rights Reserved                                                                   Page | 486
Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3),
                                                                                            March - 2013, pp.482-487
         IMAGE eki-411816B9 k-20121125094233/karmic-uec-i386-vmlinuz-virtual.manifest.xml admin available
         public i386                 kernel
18. Create a SSH keypair that can be used to log into the instance.
         root@kaustav-laptop:~# if [ ! -e ~/.euca/mykey.priv ]; then
         > touch ~/.euca/mykey.priv
         > chmod 0600 ~/.euca/mykey.priv
         > euca-add-keypair mykey > ~/.euca/mykey.priv
         > fi
19. Configuring default security group to allow SSH access (port 22).
         root@kaustav-laptop:~# euca-authorize default -P tcp -p 22 -s 0.0.0.0/0
         m. Run the instance created:-
         root@kaustav-laptop:~# euca-run-instances emi-23DA11B9 -k mykey
20. View details of the instance running.
         root@kaustav-laptop:~# euca-describe-instances
         RESERVATION r-4DB0096A               admin default
         INSTANCE           i-39290670        emi-23DA11B9 0.0.0.0 0.0.0.0       terminated    mykey 0
         m1.small           2012-11-25T05:50:16.176Z           cluster1          eki-411816B9 eri-24D11647

                                                    IV. CONCLUSION
This work includes the setup of a private cloud with minimal hardware resources using open source software
technologies like Eucalyptus, Xen and Euca2ools. The virtual machine images are also freely available for download and
upon the request of the user they can be made to run. The current implementation of this paper provides Infrastructure as
a service (IaaS) and Software as a Service (SaaS).

REFERENCES
[1] http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf
[2] Daniel Nurmi, Rich Wolski, Chris Grzegorczyk, Graziano Obertelli, Sunil Soman, LamiaYouseff, Dmitrii
     Zagorodnov - The Eucalyptus Open-source Cloud-computing System.
[3] https://cssoss.wordpress.com/2010/03/19/uec-cc-nc-single-machine/
[4] https://garfield001.wordpress.com/2012/02/20/installing-xen-4-1-2-dom0-on-ubuntu-10-04/
[5] Eucalyptus Administrator and User Guides.
[6] Cloud computing and emerging IT platforms: Vision, hype, and reality for delivering computing as the 5th utility -
     Rajkumar Buyyaa, Chee Shin Yeo, Srikumar Venugopal, James Broberg, Ivona Brandic
[7] http://cloud-images-archive.ubuntu.com/releases/karmic/rc/
[8] http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&cad=rja&ved=0CFYQFjAG&url=http%
     3A%2F%2Fwww.thbs.com%2Fpdfs%2FPrivate-Cloud-Whitepaper-
     EucOnXen.pdf&ei=4cCxUIwYkOSsB7OegLAI&usg=AFQjCNFRL461eGY-cxLBHRYyFtxMJUyw3g
[9] http://wiki.xen.org/wiki/Main_Page
[10] https://en.wikipedia.org/wiki/Xen




© 2013, IJARCSSE All Rights Reserved                                                                        Page | 487

Mais conteúdo relacionado

Mais procurados

Using the IBM XIV Storage System in OpenStack Cloud Environments
Using the IBM XIV Storage System in OpenStack Cloud Environments Using the IBM XIV Storage System in OpenStack Cloud Environments
Using the IBM XIV Storage System in OpenStack Cloud Environments IBM India Smarter Computing
 
24 23 jun17 2may17 16231 ijeecs latest_version (1) edit septian
24 23 jun17 2may17 16231 ijeecs latest_version (1) edit septian24 23 jun17 2may17 16231 ijeecs latest_version (1) edit septian
24 23 jun17 2may17 16231 ijeecs latest_version (1) edit septianIAESIJEECS
 
CHPC Workshop Morning Session
CHPC Workshop Morning SessionCHPC Workshop Morning Session
CHPC Workshop Morning SessionNtino Krampis
 
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...IBM India Smarter Computing
 
IAAS Implementation to provide OS through Web interface
IAAS Implementation to provide OS through Web interfaceIAAS Implementation to provide OS through Web interface
IAAS Implementation to provide OS through Web interfaceSagar Patel
 
Understanding the container landscape and it associated projects
Understanding the container landscape and it associated projectsUnderstanding the container landscape and it associated projects
Understanding the container landscape and it associated projectsAnthony Chow
 
Propasal a private cloud in ubuntu
Propasal a private cloud in  ubuntuPropasal a private cloud in  ubuntu
Propasal a private cloud in ubuntuNadeer Abu Jraerr
 
Docker 1.8: What's new
Docker 1.8: What's new Docker 1.8: What's new
Docker 1.8: What's new Ronak Kogta
 
Cluster Computers
Cluster ComputersCluster Computers
Cluster Computersshopnil786
 
Operating system by aman kr kushwaha
Operating system by aman kr kushwahaOperating system by aman kr kushwaha
Operating system by aman kr kushwahaAMAN KUMAR KUSHWAHA
 
Star wind iscsi-san-software-handson-review-1-eng
Star wind iscsi-san-software-handson-review-1-engStar wind iscsi-san-software-handson-review-1-eng
Star wind iscsi-san-software-handson-review-1-engthuragavaripallem
 

Mais procurados (19)

Hack the whale
Hack the whaleHack the whale
Hack the whale
 
Using the IBM XIV Storage System in OpenStack Cloud Environments
Using the IBM XIV Storage System in OpenStack Cloud Environments Using the IBM XIV Storage System in OpenStack Cloud Environments
Using the IBM XIV Storage System in OpenStack Cloud Environments
 
24 23 jun17 2may17 16231 ijeecs latest_version (1) edit septian
24 23 jun17 2may17 16231 ijeecs latest_version (1) edit septian24 23 jun17 2may17 16231 ijeecs latest_version (1) edit septian
24 23 jun17 2may17 16231 ijeecs latest_version (1) edit septian
 
Embedded Virtualization for Mobile Devices
Embedded Virtualization for Mobile DevicesEmbedded Virtualization for Mobile Devices
Embedded Virtualization for Mobile Devices
 
CHPC Workshop Morning Session
CHPC Workshop Morning SessionCHPC Workshop Morning Session
CHPC Workshop Morning Session
 
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...
Problem Reporting and Analysis Linux on System z -How to survive a Linux Crit...
 
IAAS Implementation to provide OS through Web interface
IAAS Implementation to provide OS through Web interfaceIAAS Implementation to provide OS through Web interface
IAAS Implementation to provide OS through Web interface
 
Understanding the container landscape and it associated projects
Understanding the container landscape and it associated projectsUnderstanding the container landscape and it associated projects
Understanding the container landscape and it associated projects
 
Propasal a private cloud in ubuntu
Propasal a private cloud in  ubuntuPropasal a private cloud in  ubuntu
Propasal a private cloud in ubuntu
 
Docker 1.8: What's new
Docker 1.8: What's new Docker 1.8: What's new
Docker 1.8: What's new
 
Cluster Computers
Cluster ComputersCluster Computers
Cluster Computers
 
Operating system by aman kr kushwaha
Operating system by aman kr kushwahaOperating system by aman kr kushwaha
Operating system by aman kr kushwaha
 
Star wind iscsi-san-software-handson-review-1-eng
Star wind iscsi-san-software-handson-review-1-engStar wind iscsi-san-software-handson-review-1-eng
Star wind iscsi-san-software-handson-review-1-eng
 
Embedded Hypervisor for ARM
Embedded Hypervisor for ARMEmbedded Hypervisor for ARM
Embedded Hypervisor for ARM
 
Xen in Linux (aka PVOPS update)
Xen in Linux (aka PVOPS update)Xen in Linux (aka PVOPS update)
Xen in Linux (aka PVOPS update)
 
Overview of Docker
Overview of DockerOverview of Docker
Overview of Docker
 
Docker training
Docker trainingDocker training
Docker training
 
olibc: Another C Library optimized for Embedded Linux
olibc: Another C Library optimized for Embedded Linuxolibc: Another C Library optimized for Embedded Linux
olibc: Another C Library optimized for Embedded Linux
 
Microkernel Evolution
Microkernel EvolutionMicrokernel Evolution
Microkernel Evolution
 

Semelhante a Visualizing a cloud using eucalyptus and xen

Openstack_administration
Openstack_administrationOpenstack_administration
Openstack_administrationAshish Sharma
 
Cloud Infrastructure
Cloud InfrastructureCloud Infrastructure
Cloud InfrastructureKamruddin Nur
 
Private cloud storage implementation using OpenStack Swift
Private cloud storage implementation using OpenStack SwiftPrivate cloud storage implementation using OpenStack Swift
Private cloud storage implementation using OpenStack SwiftTELKOMNIKA JOURNAL
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Scienceinventy
 
Cloud computing security and privacy
Cloud computing security and privacyCloud computing security and privacy
Cloud computing security and privacyAdeel Javaid
 
OpenStack - An Overview
OpenStack - An OverviewOpenStack - An Overview
OpenStack - An Overviewgraziol
 
Dockerization of Azure Platform
Dockerization of Azure PlatformDockerization of Azure Platform
Dockerization of Azure Platformnirajrules
 
Cloud computing lab open stack
Cloud computing lab open stackCloud computing lab open stack
Cloud computing lab open stackarunuiet
 
OpenStack - Infrastructure as a service
OpenStack - Infrastructure as a serviceOpenStack - Infrastructure as a service
OpenStack - Infrastructure as a serviceDenis Cavalcante
 
GDL OpenStack Community - Openstack Introduction
GDL OpenStack Community - Openstack IntroductionGDL OpenStack Community - Openstack Introduction
GDL OpenStack Community - Openstack IntroductionVictor Morales
 
Introduction Openstack
Introduction OpenstackIntroduction Openstack
Introduction OpenstackRanjith Kumar
 
virtualization-190329110832.pdf
virtualization-190329110832.pdfvirtualization-190329110832.pdf
virtualization-190329110832.pdfAkshithaReddy42848
 
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...Yandex
 
The cloud infrastructure with eucalyptus
The cloud infrastructure with eucalyptusThe cloud infrastructure with eucalyptus
The cloud infrastructure with eucalyptusGiuseppe Agrillo
 
INN694-2014-OpenStack installation process V5
INN694-2014-OpenStack installation process V5INN694-2014-OpenStack installation process V5
INN694-2014-OpenStack installation process V5Fabien CHASTEL
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablobabycat_feifei
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablo锐 张
 
A Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and ContainersA Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and Containersprashant desai
 

Semelhante a Visualizing a cloud using eucalyptus and xen (20)

Openstack_administration
Openstack_administrationOpenstack_administration
Openstack_administration
 
Cloud Infrastructure
Cloud InfrastructureCloud Infrastructure
Cloud Infrastructure
 
Private cloud storage implementation using OpenStack Swift
Private cloud storage implementation using OpenStack SwiftPrivate cloud storage implementation using OpenStack Swift
Private cloud storage implementation using OpenStack Swift
 
666 670
666 670666 670
666 670
 
Research Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and ScienceResearch Inventy : International Journal of Engineering and Science
Research Inventy : International Journal of Engineering and Science
 
Cloud computing security and privacy
Cloud computing security and privacyCloud computing security and privacy
Cloud computing security and privacy
 
OpenStack - An Overview
OpenStack - An OverviewOpenStack - An Overview
OpenStack - An Overview
 
Dockerization of Azure Platform
Dockerization of Azure PlatformDockerization of Azure Platform
Dockerization of Azure Platform
 
Cloud computing lab open stack
Cloud computing lab open stackCloud computing lab open stack
Cloud computing lab open stack
 
OpenStack - Infrastructure as a service
OpenStack - Infrastructure as a serviceOpenStack - Infrastructure as a service
OpenStack - Infrastructure as a service
 
GDL OpenStack Community - Openstack Introduction
GDL OpenStack Community - Openstack IntroductionGDL OpenStack Community - Openstack Introduction
GDL OpenStack Community - Openstack Introduction
 
Introduction Openstack
Introduction OpenstackIntroduction Openstack
Introduction Openstack
 
virtualization-190329110832.pdf
virtualization-190329110832.pdfvirtualization-190329110832.pdf
virtualization-190329110832.pdf
 
Virtualization
VirtualizationVirtualization
Virtualization
 
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
 
The cloud infrastructure with eucalyptus
The cloud infrastructure with eucalyptusThe cloud infrastructure with eucalyptus
The cloud infrastructure with eucalyptus
 
INN694-2014-OpenStack installation process V5
INN694-2014-OpenStack installation process V5INN694-2014-OpenStack installation process V5
INN694-2014-OpenStack installation process V5
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablo
 
Openstack starter-guide-diablo
Openstack starter-guide-diabloOpenstack starter-guide-diablo
Openstack starter-guide-diablo
 
A Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and ContainersA Survey of Performance Comparison between Virtual Machines and Containers
A Survey of Performance Comparison between Virtual Machines and Containers
 

Último

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking MenDelhi Call girls
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 

Último (20)

Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 

Visualizing a cloud using eucalyptus and xen

  • 1. Volume 3, Issue 3, March 2013 ISSN: 2277 128X International Journal of Advanced Research in Computer Science and Software Engineering Research Paper Available online at: www.ijarcsse.com Visualizing a Cloud using Eucalyptus and Xen Kaustav Choudhury Argha Roy Diptam Dutta Dept. of CSE Dept. of CSE Dept. of CSE Heritage Institute of Technology Netaji Subhash Engineering College Heritage Institute of Technology West Bengal, India. West Bengal, India. West Bengal, India. Abstract - The clouds are a large pool of virtualized resources which are easy to use and access. As per NIST “Cloud computing is a model for enabling ubiquitous, convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, servers, storage, applications, and services) that can be rapidly provisioned and released with minimal management effort or service provider interaction”. There are various ways of setting up clouds in an academic or IT infrastructure. We are proposing a method to setup a cloud infrastructure using Eucalyptus and Xen. Eucalyptus is an open source cloud computing framework that gives users the ability to create, run and manage virtual machine instances across physical machines. Xen is the hypervisor upon which the virtual machines run on the host computer. Keywords— Cloud computing, Eucalyptus, Xen, ubuntu, Open source. I. INTRODUCTION Cloud computing [1],[6] follows a type of parallel and distributed computing architecture where the computational power, storage, network and software resources are dynamically provisioned over the internet through service level agreements between the cloud service provider and the consumer. Setting up a cloud computing infrastructure has various advantages as huge IT organizations setting up their IT infrastructure can minimize their IT budget as they only have to pay for the services they want to use and save themselves from the harassment of maintaining a huge infrastructure. An organization willing to setup a cloud infrastructure has the flexibility to choose from three types of service models such as Paas, Saas and Iaas. Various deployment models exist to choose from such as private, public and hybrid clouds. In a private cloud [6] an organization has the ability to use the infrastructure exclusively for its own needs. A public cloud is provisioned for open use by the general public whereas a hybrid cloud is a composition of both private and public clouds.There are various methods to set up cloud computing infrastructures in today‟s market but it has to be taken into account that the infrastructure is reliable, secure and less expensive to deploy the various applications an organization wants. So, keeping in mind the above philosophy we have decided to implement such an infrastructure using Eucalyptus and Xen. II. LITERATURE REVIEW A. Eucalyptus, Euca2ools and Xen. These are mainly open source platforms and freely available for download and use. Eucalyptus (Elastic Utility Computing Architecture for Linking Your Programs to Useful Systems) [2], [5] was released in May 2008. It uses the existing IT infrastructure where it is to be deployed to create a scalable web services layer that performs an abstraction of the computer, network, security and storage to offer Iaas. Through the use of an effective hypervisor it creates elastic VMs. The system allows the user to start, control, and access and terminate entire VMs simulating features equivalent to Amazon EC2‟s SOAP and Query interfaces. It supports popular hypervisors such as Xen, KVM/QEMU and VMware. Euca2ools [5] are command-line tools for interacting with Web services that export a REST/Query-based API compatible with Amazon EC2 and S3 services. The tools can be used with both Amazon's services and with installations of the Eucalyptus open-source cloud-computing infrastructure. Xen [9], [10] is a hypervisor that provides services to virtualize the computing resources. It enables you to run multiple virtual machines on a single physical computer known as host computer, thereby improving the effective usage and efficiency of the underlying hardware. Each virtual machine may be running a different operating system with a different configuration. The hypervisor provides an isolated execution environment for each virtual machine running on the host computer. It undergoes memory management and CPU scheduling of all VMs and launches “dom 0” the most privileged domain which has default access to the hardware. © 2013, IJARCSSE All Rights Reserved Page | 482
  • 2. Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3), March - 2013, pp.482-487 III. PROPOSED WORK AND THE SYSTEM ARCHITECTURE This paper provides an insight into setting up cloud infrastructures using and Xen. The cloud infrastructure will be setup in minimal conditions using a single physical computing node as it is expensive to rent servers to carry out our work but in optimal conditions it is suggested to use 2 or more physical computing nodes setup such a cloud infrastructure. The advantage of our setup is that all the software resources we are using are freely available for download with only expenses in the hardware resources. So, this is a cost cutting model to setup a cloud infrastructure. Hardware resources used: - A laptop with the following configuration: 1. 320 GB Hard disk – 100 GB allotted specifically for Linux OS. 2. 2GB RAM. 3. Intel Core i3 Processor @ 2.10GHz. Software resources used:- 1. Linux OS – Ubuntu 10.04 LTS Desktop. 2. Cloud Management Software – Eucalyptus 1.6.2. 3. Hypervisor – Xen 4.1.2. 4. Command Line Interface Tool – Euca2ools 1.2. The proposed System Architecture is that above the underlying operating system lies the hypervisor also known as the virtual machine monitor whose task is to create or simulate the virtual machines (VM) as required which will be managed by the cloud management framework called Eucalyptus and the interaction and communication between the various virtual machines will be performed by a command line interface tool known as Euca2ools.The figure depicting this architecture is as shown below:- Fig.1: The Cloud System Architecture IV. Setting Up The Cloud Infrastructure The setup consists of the following steps: - [3], [5], [8] 1. Installing Eucalyptus from the Synaptic package manager which comes as a package with the Ubuntu Linux OS. Ubuntu 10.04 comes installed with UEC (Ubuntu Enterprise Cloud) which consists of all the packages and dependencies required for the installation of eucalyptus. So, I did not have to install eucalyptus. For, reinstalling eucalyptus you need to go to Administration -> Synaptic Package Manager -> Search for eucalyptus and the results will display several eucalyptus packages. Select the necessary packages such as eucalyptus common, cloud, sc, cc, nc, walrus and select „Mark for installation‟. © 2013, IJARCSSE All Rights Reserved Page | 483
  • 3. Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3), March - 2013, pp.482-487 Fig.2: Synaptic Package Manager showing the eucalyptus packages 2. Setting up the Cloud controller (CC), Storage controller (SC), Cluster controller, Node Controller (NC) and Walrus. Eucalyptus comes with the euca_conf script for configuring Eucalyptus. a. Enable services on the front-end $EUCALYPTUS/usr/sbin/euca_conf –enable cloud –enable walrus –enable sc b. Start enabled front-end services $EUCALYPTUS/etc/init.d/eucalyptus-cloud start c. Start the cluster controller $EUCALYPTUS/etc/init.d/eucalyptus-cc start d. And on each of the compute nodes run: $EUCALYPTUS/etc/init.d/eucalyptus-nc start To stop them you call the script with stop instead of start. 3. Configuring the network in SYSTEM mode in the eucalyptus configuration file. a. Create and configure the bridge for a static IP address by modifying the /etc/network/interfaces file. b. The options in „eucalyptus.conf‟ that must be configured correctly in „SYSTEM‟ mode are as follows: On the front-end: VNET_MODE=”SYSTEM” On each node: VNET_MODE=”SYSTEM” In each Eucalyptus node controller‟s (NC) „eucalyptus.conf‟ file, VNET_BRIDGE=”xenbr0”(name of the bridge). c. It is necessary to set up a DHCP server that has a dynamic pool of IP addresses to hand out as the VMs boot. 4. Installing Xen as the hypervisor which also involves installing the Xen kernel as it is not available for Ubuntu 10.04 OS. The tasks to be accomplished are building and installing Xen and compiling the Xen Dom0 kernel [4]. 5. Configuring the hypervisor. root@kaustav-laptop:~# vim /etc/xen/xend-config.sxp Edit the file as follows:- (xend-http-server yes) (xend-unix-server yes) (xend-unix-path /var/lib/xend/xend-socket) (xend-address localhost) (network-script „network-bridge netdev=xenbr0‟) 6. Registering the eucalyptus components. root@kaustav-laptop:~# euca_conf –register-walrus 172.16.17.121 root@kaustav-laptop:~# euca_conf –register-sc cluster1 172.16.17.121 root@kaustav-laptop:~# euca_conf –register-nodes “172.16.17.121” root@kaustav-laptop:~# euca_conf –register-cluster cluster1 172.16.17.121 7. Installing euca2ools to setup a command line interface to communicate with eucalyptus. You need to install the euca2ools_1.2-0ubuntu10_all.deb package downloaded from the internet. Also, the system must have the python, boto and M2crypto packages already installed which can be viewed from the Synaptic Package Manager. 8. Creating and managing virtual machine images through the Ubuntu Enterprise Cloud (UEC) interface. Fig.3: Login Page of UEC Web Console © 2013, IJARCSSE All Rights Reserved Page | 484
  • 4. Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3), March - 2013, pp.482-487 Fig.4: Credentials Page of UEC Fig.5: Images Page of UEC Fig.6: Configuration page of UEC © 2013, IJARCSSE All Rights Reserved Page | 485
  • 5. Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3), March - 2013, pp.482-487 Fig.7: Walrus Configuration page of UEC 9. Retrieving Credentials through command line. $ mkdir -p ~/.euca $ chmod 700 ~/.euca $ cd ~/.euca $ sudo euca_conf --get-credentials mycreds.zip $ unzip mycreds.zip 10. Source eucarc script to make sure that the environmental variables used by euca2ools are set properly. $ . ~/.euca/eucarc 11. Execute following command to register the node. $ sudo euca_conf --no-rsync --discover-nodes 12. To verify that euca2ools is able to communicate with the UEC, fetch the local cluster availability details as. root@kaustav-laptop:~# euca-describe-availability-zones verbose On executing the above command the result is:- AVAILABILITYZONE cluster1 172.16.17.121 AVAILABILITYZONE |- vm types free / max cpu ram disk AVAILABILITYZONE |- m1.small 0000 / 0000 1 192 2 AVAILABILITYZONE |- c1.medium 0000 / 0000 1 256 5 AVAILABILITYZONE |- m1.large 0000 / 0000 2 512 10 AVAILABILITYZONE |- m1.xlarge 0000 / 0000 2 1024 20 AVAILABILITYZONE |- c1.xlarge 0000 / 0000 4 2048 20 13. Unpacking the downloaded Virtual Image file [7]. root@kaustav-laptop:~#tar -S -xzf ubuntu-9.10-rc-uec-i386.tar.gz 14. Registering the kernel. root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-bundle-image -i karmic-uec-i386-vmlinuz-virtual -r i386 --kernel true 15. Registering the image. root@kaustav-laptop:~# euca-bundle-image -i karmic-uec-i386.img root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# BUCKET_IMAGE="i-$TIMESTAMP" root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-upload-bundle -b $BUCKET_IMAGE -m /tmp/karmic- uec-i386.img.manifest.xml root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-register $BUCKET_IMAGE/karmic-uec i386.img.manifest.xml 16. Registering the ramdisk. root@kaustav-laptop:~# euca-bundle-image -i karmic-uec-i386-initrd-virtual --ramdisk true root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# BUCKET_INITRD="r-$TIMESTAMP" root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-upload-bundle -b $BUCKET_INITRD -m /tmp/karmic- uec-i386-initrd-virtual.manifest.xml root@kaustav-laptop:~/ubuntu-9.10-rc-uec-i386# euca-register $BUCKET_INITRD/karmic-uec-i386-initrd- virtual.manifest.xml 17. To view details of the image registered. root@kaustav-laptop:~# euca-describe-images IMAGE emi-23DA11B9 i-20121125094233/karmic-uec-i386.img.manifest.xml admin available public x86_64 machine IMAGE eri-24D11647 r-20121125094233/karmic-uec-i386-initrd-virtual.manifest.xml admin available public x86_64 ramdisk © 2013, IJARCSSE All Rights Reserved Page | 486
  • 6. Choudhury et al., International Journal of Advanced Research in Computer Science and Software Engineering 3(3), March - 2013, pp.482-487 IMAGE eki-411816B9 k-20121125094233/karmic-uec-i386-vmlinuz-virtual.manifest.xml admin available public i386 kernel 18. Create a SSH keypair that can be used to log into the instance. root@kaustav-laptop:~# if [ ! -e ~/.euca/mykey.priv ]; then > touch ~/.euca/mykey.priv > chmod 0600 ~/.euca/mykey.priv > euca-add-keypair mykey > ~/.euca/mykey.priv > fi 19. Configuring default security group to allow SSH access (port 22). root@kaustav-laptop:~# euca-authorize default -P tcp -p 22 -s 0.0.0.0/0 m. Run the instance created:- root@kaustav-laptop:~# euca-run-instances emi-23DA11B9 -k mykey 20. View details of the instance running. root@kaustav-laptop:~# euca-describe-instances RESERVATION r-4DB0096A admin default INSTANCE i-39290670 emi-23DA11B9 0.0.0.0 0.0.0.0 terminated mykey 0 m1.small 2012-11-25T05:50:16.176Z cluster1 eki-411816B9 eri-24D11647 IV. CONCLUSION This work includes the setup of a private cloud with minimal hardware resources using open source software technologies like Eucalyptus, Xen and Euca2ools. The virtual machine images are also freely available for download and upon the request of the user they can be made to run. The current implementation of this paper provides Infrastructure as a service (IaaS) and Software as a Service (SaaS). REFERENCES [1] http://csrc.nist.gov/publications/nistpubs/800-145/SP800-145.pdf [2] Daniel Nurmi, Rich Wolski, Chris Grzegorczyk, Graziano Obertelli, Sunil Soman, LamiaYouseff, Dmitrii Zagorodnov - The Eucalyptus Open-source Cloud-computing System. [3] https://cssoss.wordpress.com/2010/03/19/uec-cc-nc-single-machine/ [4] https://garfield001.wordpress.com/2012/02/20/installing-xen-4-1-2-dom0-on-ubuntu-10-04/ [5] Eucalyptus Administrator and User Guides. [6] Cloud computing and emerging IT platforms: Vision, hype, and reality for delivering computing as the 5th utility - Rajkumar Buyyaa, Chee Shin Yeo, Srikumar Venugopal, James Broberg, Ivona Brandic [7] http://cloud-images-archive.ubuntu.com/releases/karmic/rc/ [8] http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&cad=rja&ved=0CFYQFjAG&url=http% 3A%2F%2Fwww.thbs.com%2Fpdfs%2FPrivate-Cloud-Whitepaper- EucOnXen.pdf&ei=4cCxUIwYkOSsB7OegLAI&usg=AFQjCNFRL461eGY-cxLBHRYyFtxMJUyw3g [9] http://wiki.xen.org/wiki/Main_Page [10] https://en.wikipedia.org/wiki/Xen © 2013, IJARCSSE All Rights Reserved Page | 487