chefrecipesin fi ware
DESCRIPTION
Some slides to help FI-WARE users to create recipesTRANSCRIPT
![Page 1: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/1.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
FIWARE Blueprint
How to create recipes for automated deployment
of FI-WARE GEi dedicated instances
Henar Muñoz Frutos
Blueprint Templates/Instances/Chef recipes
![Page 2: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/2.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
Blueprints in FIWARE
FIWARE Catalogue
Context Broker
Basic software
FIWARE GEs
Context Broker
Location Server
CEB
Context Broker
GE Dedicated Instances
![Page 3: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/3.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
Some concepts
Blueprint Template: platform specification to be deployed
Tier: Each kind of sotfware and VM to be deployed
Each Tier can be deployed in several VMs (e.g. tomcat 2-5)
Blueprint Instance: Deployed in the testbed
Context Broker
VMs: 2-5
VMs: 1VMs: 1
Blueprint template: fiware1
Tier 1: tomcat
Tier 2: context brokerTier 3: MongoDB
Context Broker
![Page 4: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/4.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
Blueprint Template
![Page 5: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/5.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
Blueprint Instances
![Page 6: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/6.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
6
Cloud Components
PaaS Manage
r
Service Manag
erSDC
.war
-deploy VMs-deploy network-deploy storage?
Chef server
- Install software and GEs- Config GEs and software- Install and config
applications
Cloud PortalContext Broker
Software Catalogue
![Page 7: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/7.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 8: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/8.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 9: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/9.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 10: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/10.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 11: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/11.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
GEs cookbooks
Basic software
![Page 12: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/12.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
Our cookbooks/recipes structure
Please, update your cookbooks to svn https://forge.fi-ware.eu/scmrepos/svn/testbed/trunk/cookbooks
We will upload them to the Chef server
![Page 13: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/13.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
For testing …
![Page 14: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/14.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 15: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/15.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 16: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/16.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 17: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/17.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 18: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/18.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 19: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/19.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 20: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/20.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 21: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/21.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 22: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/22.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 23: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/23.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 24: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/24.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 25: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/25.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
http://docs.opscode.com/resource_package.html
![Page 26: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/26.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
http://docs.opscode.com/resource_service.html
![Page 27: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/27.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 28: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/28.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 29: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/29.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
http://docs.opscode.com/resource_template.html
![Page 30: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/30.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 31: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/31.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 32: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/32.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
![Page 33: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/33.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
A now.. .what?
Use chef-solo image to create your recipes and test them
Upload your recipes to the svn
Test your recipes with chef-server /chef-client
When everything is ready ->contact TID testbed team
TID testbed team will check that recipes are ok, upload them into the production chef-server and introduce your software into the software catalogue
![Page 34: Chefrecipesin fi ware](https://reader035.vdocuments.net/reader035/viewer/2022081403/554bc270b4c90530298b521a/html5/thumbnails/34.jpg)
The FI-WARE Project – Base Platform for Future Service Infrastructures
Some interesting URLs
http://forge.fi-ware.eu/plugins/mediawiki/wiki/fiware/index.php/How_to_create_recipes_for_the_GEs
https://forge.fi-ware.eu/plugins/mediawiki/wiki/testbed/index.php/Testbed_V2_Operation_Cockpit
SVN: https://forge.fi-ware.eu/scmrepos/svn/testbed/trunk/cookbooks
SDC experimentation catalogue: http://130.206.80.119:8081/sdc2/rest/catalog/product
Cookbooks svn: https://forge.fi-ware.eu/scmrepos/svn/testbed/trunk/cookbooks