drp4onevmmpluginforopennebulainstallationguide.pdf

Upload: adrianpurbamanahan

Post on 03-Apr-2018

214 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 DRP4ONEVMMpluginforOpenNebulaInstallationGuide.pdf

    1/8

    Project Acronym: OPTIMIS

    Project Title: Optimized Infrastructure Services

    Project Number: 257115

    Instrument: Integrated Project

    Thematic Priority: ICT-2009.1.2 Internet of Services, Software and

    Virtualisation

    DRP4ONE

    VMM plugin for OpenNebula

    Installation Guide

    Activity 6: Integration and Experimentation

    WP 6.5: Interoperability

    Due Date: M36

    Submission Date: 31/05/2013

    Start Date of Project: 06/01/2010

    Duration of Project: 36 months

    Organization Responsible for the Deliverable: BSC

    Version: 1.0

    Status Final

    Author(s): Sergio Mendoza

    Jordi Guitart

    BSC

    BSC

    Reviewer(s) George Kousiouris

    Karim Djemame

    NTUA

    ULEEDS

  • 7/28/2019 DRP4ONEVMMpluginforOpenNebulaInstallationGuide.pdf

    2/8

    DRP4ONE Installation Guide

    OPTIMIS Consortium Page 2 of8

    Project co-funded by the European Commission within the Seventh Framework Programme

    Dissemination Level

    PU Public X

    PP Restricted to other programme participants (including the Commission)

    RE Restricted to a group specified by the consortium (including the Commission)

    CO Confidential, only for members of the consortium (including the Commission)

  • 7/28/2019 DRP4ONEVMMpluginforOpenNebulaInstallationGuide.pdf

    3/8

    DRP4ONE Installation Guide

    OPTIMIS Consortium Page 3 of8

    Version History

    Version Date Comments, Changes, Status Authors, contributors,

    reviewers

    0.1 01-5-2013 Table of contents and first input Sergio Mendoza (BSC)

    0.2 10-05-2013 Beta version for review Sergio Mendoza (BSC)

    0.3 31-05-2013 Reviewed final version Sergio Mendoza, Jordi

    Guitart (BSC)

    1 31-05-2013 Overall format revisin Julia Wells (ATOS)

  • 7/28/2019 DRP4ONEVMMpluginforOpenNebulaInstallationGuide.pdf

    4/8

    DRP4ONE Installation Guide

    OPTIMIS Consortium Page 4 of8

    Table of Contents

    TABLE OF CONTENTS .............................................................................................................................. 4

    INDEX OF TABLES ................................................................................................................................... 5

    1 INTRODUCTION ............................................................................................................................. 6

    1.1 GLOSSARY OF ACRONYMS.................................................................................................................. 6

    2 DRP4ONE INSTALLATION GUIDE .................................................................................................... 7

    2.1 RELEASE INFORMATION ..................................................................................................................... 72.2 PLATFORMS SUPPORTED ................................................................................................................... 72.3 SOFTWARE PRE-REQUISITES AND DEPENDENCIES....................................................... ............................. 72.4 INSTALLATION INSTRUCTIONS ............................................................................................................. 72.5 GETTING STARTED ............................................................................................................................ 8

    2.5.1 Using the Software ................................................................................................................. 8

    2.5.2 Testing the Software ............................................................................................................... 82.5.3 Configuration .......................................................................................................................... 8

    2.6 FAQ ............................................................................................................................................. 8

  • 7/28/2019 DRP4ONEVMMpluginforOpenNebulaInstallationGuide.pdf

    5/8

    DRP4ONE Installation Guide

    OPTIMIS Consortium Page 5 of8

    Index of Tables

    Table 1 DRP4ONE release information ......................................................................................... 7

    Table 2 Software dependencies .................................................................................................... 7

  • 7/28/2019 DRP4ONEVMMpluginforOpenNebulaInstallationGuide.pdf

    6/8

    DRP4ONE Installation Guide

    OPTIMIS Consortium Page 6 of8

    1 IntroductionThis document provides the installation guide for the software component DRP4ONE -OPTIMIS Software Toolkit. This component supports the use of OpenNebula as IaaS.

    OPTIMIS aims towards Optimized Service Construction, Deployment, and Execution for Cloud

    Infrastructures by offering tools to efficiently manage the full life cycle of services. These tools

    will provide simplified construction of services, help make informed deployment and runtime

    management decisions for the evaluation of providers, and support Quality of Service

    provision.

    This document assumes the reader is familiar with the OPTIMIS project vision and architecture.

    The following documents are recommended sources of information:

    Deliverable D1.2.1.2 OPTIMIS Architecture deliverable, October 2011 OPTIMIS: a Holistic Approach to Cloud Service Provisioning. A. Juan Ferrer, F.

    Hernandez, J. Tordsson, E. Elmroth, C. Zsigri, R. Sirvent, J. Guitart, R.M. Badia, K.

    Djemame, W. Ziegler, T. Dimitrakos, S.K. Nair, G. Kousiouris, K. Konstanteli, T.

    Varvarigou, B. Hudzia, A. Kipp, S. Wesner, M. Corrales, N. Forgo, T. Sharif, and C.

    Sheridan. Future Generation Computer Systems, Elsevier, Vol. 28, No. 1, pp. 66-77,

    2012.

    Details on the OPTIMIS project are found on http://optimis-project.eu

    Details on OpenNebula are found on http://opennebula.org

    1.1 Glossary of AcronymsAcronym Definition

    EMOTIVE Elastic Management Of Tasks In Virtualized Environments

    GPL General Public License

    JAR Java Archive

    REST Representational State Transfer

    VM Virtual Machine

    WAR Web Application Archive

  • 7/28/2019 DRP4ONEVMMpluginforOpenNebulaInstallationGuide.pdf

    7/8

    DRP4ONE Installation Guide

    OPTIMIS Consortium Page 7 of8

    2 DRP4ONE Installation Guide2.1 Release information

    Component Name Release Number Release Date

    DRP4ONE 1.0 2013-05-31

    Table 1 DRP4ONE release information

    2.2 Platforms SupportedThe component has been tested over Debian GNU/Linux 7.0 (wheezy), Linux 3.0.0-1-amd64

    x86_64 kernel.

    2.3 Software Pre-requisites and DependenciesProduct Version Licence

    Java 1.6 GPL

    Apache Tomcat 6.0.36 Apache License Version 2

    Jersey (JAX-RS) 1.8 GPL

    JAXB API 1.8 GPL

    OpenNebula 3.8 Apache License Version 2

    VENUS-C.Interoperable Toolkit 2.0 Apache License Version 2

    EMOTIVE OVFWrapper 2.2.8 GNU Lesser General Public

    License 2.1

    Table 2 Software dependencies

    Those pre-requisites can be solved by using the libraries provided to use those components.

    The maven configuration of this component automatically downloads all those libraries

    (including components from both OPTIMIS and EMOTIVE)

    2.4 Installation InstructionsThis component is a web application (WAR file) and its source code can be obtained from the

    svn project repository:

    http://pandora.atosorigin.es/svn/optimis/branches/OptimisY3/Interoperability/DRP4ONE. The

    war file can be generated building the project following these steps:

    1. Download the code with svn2. Move to the directory where the source code has been download (the directory must

    contain a pom.xml file)

    3. Execute the command mvn clean install (Maven 2 has to be used)

  • 7/28/2019 DRP4ONEVMMpluginforOpenNebulaInstallationGuide.pdf

    8/8

    DRP4ONE Installation Guide

    OPTIMIS Consortium Page 8 of8

    After these steps, the DRP.war web application will be just generated inside the target

    directory.

    Once the web application is deployed, it is necessary to configure the config.properties file

    which has to be updated according to the OpenNebula testbed before doing any request overthe OpenNebula DRP plugin. It is necessary configure the $DRP4ONE environment variable,

    because the config.properties file will be searched at one of these two places:

    1. $DRP4ONE/etc/drp4one/config.properties (if $DRP4ONE is set)2. /opt/drp4one/etc/drp4ost/config.properties (otherwise)

    The parameters that have to be provided at the config.properties file are VM template

    information, OpenNebula RPC access information and Image default configuration:

    template.network.name: name of the network assigned when creating the VM template

    template.bootloader: bootloader assigned when creating the VM template template.requirements: requirements assigned when creating the VM template opennebula.access.userid: username used to access OpenNebula opennebula.access.passwd: password used when accessing OpenNebula opennebula.access.rpcserver: OpenNebula RPC server opennebula.datastore.id: OpenNebula datastore identifier that will be used to store the

    images

    imgs.def.home: Default home where the images will be stored2.5 Getting started2.5.1 Using the SoftwareSee user manual.

    2.5.2 Testing the SoftwareSee user manual.

    2.5.3 ConfigurationSee user manual.

    2.6 FAQN/A