drp4ostvmmpluginforopenstackinstallationguide.pdf
TRANSCRIPT
-
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
1/10
Project Acronym: OPTIMIS
Project Title: Optimized Infrastructure Services
Project Number: 257115
Instrument: Integrated Project
Thematic Priority: ICT-2009.1.2 Internet of Services, Software andVirtualisation
DRP4OSTVMM plugin for OpenStack
Installation Guide
Activity 6: Integration and Experimentation
WP 6.5: Interoperability
Due Date: M36
Submission Date: 31/05/2013
Start Date of Project: 01/06/2010
Duration of Project: 36 months
Organisation Responsible for the Deliverable: BSC
Version: 1.0 Status Final
Author(s): Sergio MendozaJordi Guitart
BSCBSC
Reviewer(s) Wolfgang ZieglerGeorge Kousiouris
SCAINTUA
-
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
2/10
DRP4OST Installation Guide
OPTIMIS Consortium Page 2 of 10
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 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
3/10
DRP4OST VMM plugin for OpenStack Installation Guide
OPTIMIS Consortium Page 3 of 10
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 30-05-2013 Reviewed final version Sergio Mendoza, JordiGuitart (BSC)
1 31-05-2013 Overall format revisin Malena Donato (ATOS)
-
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
4/10
-
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
5/10
DRP4OST VMM plugin for OpenStack Installation Guide
OPTIMIS Consortium Page 5 of 10
Index of Tables
Table 1. Acronyms table ................................................................................................................ 6
Table 2 DRP4OST release information .......................................................................................... 7
Table 3 Software dependencies .................................................................................................... 7
-
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
6/10
-
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
7/10
DRP4OST VMM plugin for OpenStack Installation Guide
OPTIMIS Consortium Page 7 of 10
2 DRP4OST Installation Guide
2.1 Release information
Component Name Release Number Release Date
DRP4OST 1.0 2013-05-31
Table 2 DRP4OST release information
2.2 Platforms SupportedThe component has been tested over Debian GNU/Linux 7.0 (wheezy), Linux 3.0.0-1-amd64x86_64 kernel.
2.3 Software Pre-requisites and Dependencies
Product 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
Apache HttpComponents 4.2.3 Apache License Version 2
OpenStack Essex (2012.1) Apache License Version 2
Json-simple 1.1.1 Apache License Version 2
VENUS-C.Interoperable Toolkit 2.0 Apache License Version 2
EMOTIVE OVFWrapper 2.2.8 GNU Lesser General PublicLicense 2.1
Table 3 Software dependencies
These 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 thesvn project repository:http://pandora.atosorigin.es/svn/optimis/branches/OptimisY3/Interoperability/DRP4OST . Thewar file can be generated building the project following these steps:
1. Download the code with svn
2. Move to the directory where the source code has been download (the directory mustcontain a pom.xml file)
http://pandora.atosorigin.es/svn/optimis/branches/OptimisY3/Interoperability/DRP4OSThttp://pandora.atosorigin.es/svn/optimis/branches/OptimisY3/Interoperability/DRP4OSThttp://pandora.atosorigin.es/svn/optimis/branches/OptimisY3/Interoperability/DRP4OST -
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
8/10
DRP4OST VMM plugin for OpenStack Installation Guide
OPTIMIS Consortium Page 8 of 10
3. Execute the command mvn clean install (Maven 2 has to be used)
After these steps, the DRP.war web application will be just generated inside the targetdirectory.
The server where this web application is deployed requires to have installed the OpenStack
clients below: glance
nova
The OpenStack clients installation can be done executing the following command [1]:
sudo apt-get install python-novaclient glance-client swift
Once the web application is deployed and the clients installed, it is necessary to configure theconfig.properties file according to the OpenStack testbed before doing any request over theOpenStack DRP plugin. It is necessary to configure the $DRP4OST environment variable,because the config.properties file will be searched at one of these two places:
1. $DRP4OST/etc/drp4ost/config.properties (if $DRP4OST is set)2. /opt/drp4ost/etc/drp4ost/config.properties (otherwise)
The parameters that have to be provided in the config.properties file are OpenStackcredentials, OpenStack API server and Image default configuration:
OpenStack credentialso os.url.auth: host where the authentication is requestedo os.tenant.id: project ido os.tenant.name: project nameo os.username: usernameo os.password: password
OpenStack API server:o host ip: host where the API requests have to be done
Image default configuration:o img.default.path: default path that hosts the imageso img.default.disk.format: default path that hosts the images formato img.default.disk.size: default max image sizeo img.default.container.format: default container formato img.default.public: default image visibility
More information about obtaining OpenStack credentials can be found at OpenStack web [2].
2.5 Getting started
2.5.1 Using the SoftwareSee user manual.
2.5.2 Testing the SoftwareSee user manual.
2.5.3 Configuration
See user manual.
-
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
9/10
-
7/28/2019 DRP4OSTVMMpluginforOpenStackInstallationGuide.pdf
10/10
DRP4OST VMM plugin for OpenStack Installation Guide
OPTIMIS Consortium Page 10 of 10
3 References[1] OpenStack Compute Starter Guide - Essex. http://docs.openstack.org/essex/openstack-
compute/starter/content/Client_Tools-d1e1206.html [2] OpenStack Compute Administration Manual - Essex (2012.1).
http://docs.openstack.org/essex/openstack-compute/admin/content/configuring-openstack-compute-basics.html
http://docs.openstack.org/essex/openstack-compute/starter/content/Client_Tools-d1e1206.htmlhttp://docs.openstack.org/essex/openstack-compute/starter/content/Client_Tools-d1e1206.htmlhttp://docs.openstack.org/essex/openstack-compute/starter/content/Client_Tools-d1e1206.htmlhttp://docs.openstack.org/essex/openstack-compute/admin/content/configuring-openstack-compute-basics.htmlhttp://docs.openstack.org/essex/openstack-compute/admin/content/configuring-openstack-compute-basics.htmlhttp://docs.openstack.org/essex/openstack-compute/admin/content/configuring-openstack-compute-basics.htmlhttp://docs.openstack.org/essex/openstack-compute/admin/content/configuring-openstack-compute-basics.htmlhttp://docs.openstack.org/essex/openstack-compute/admin/content/configuring-openstack-compute-basics.htmlhttp://docs.openstack.org/essex/openstack-compute/starter/content/Client_Tools-d1e1206.htmlhttp://docs.openstack.org/essex/openstack-compute/starter/content/Client_Tools-d1e1206.html