Deployment of SW on single VMs Fernando López Aguilar TID June 2013 http://www.fiware.eu The FI-WARE Project – Base Platform for Future Service Infrastructures
Index 1. Basic Concepts 2. API description 3. Demo The FI-WARE Project – Base Platform for Future Service Infrastructures
1. Basic Concepts The FI-WARE Project – Base Platform for Future Service Infrastructures
Overview of the SDC § Automates the (un)-installation, configuration and management of Product Instances on a Runtime Execution Container (REC). § Provide an execution layer to be used by the PaaS Manager Gei and/or Cloud Portal. § Based of Chef Configuration engine • Automatizing software (un)-installation and configuration in Servers. • For Linux and Windows distributions. • Recipes with installation and configuration instructions. The FI-WARE Project – Base Platform for Future 3 Service Infrastructures
Architecture (I) The FI-WARE Project – Base Platform for Future 4 Service Infrastructures
Architecture (II) § Communication Service. • REST API interface (SDCI) and manages the asynchronous tasks status. § ProductManager. • It manages the catalogue of products. § ProductInstanceManager. • Manages and executes the installation of products and artifacts through the Configuration Engine. § ConfigurationManager. • Manages the communication with the Configuration Engine for the assignation of new recipes to the REC execution queue. • Trigger the actual execution through the SDC client in the REC. The FI-WARE Project – Base Platform for Future 5 Service Infrastructures
Architecture (III) § Repositories. • Task statuses. • Catalogue of Product Releases (and applications). • Inventory of Product. § Central Configuration Engine (external component). • Manages the execution of recipes on the nodes (RECs). • Example: Chef Server . § Configuration agent (external component). • Executes the recipes in the local RECs. § SDC client (external component). • Support and intermediary between the SDC and the Configuration Agent. The FI-WARE Project – Base Platform for Future 6 Service Infrastructures
Entities (I) § Software Product. • Software piece to be installed in an operating system that can work by itself • Examples: Tomcat and MySQL. § Software Product Release • A concrete release (version) of a software product (e.g., Tomcat 7.0 or Tomcat 5.5). • Both software Product and Product Release information are stored in the Product Catalogue. The FI-WARE Project – Base Platform for Future 7 Service Infrastructures
Entities (II) § Software Product Instance. • The instantiation of a Software Product Release in a Server. § Attributes. • Associated to Software Product Release. • Used to help in their configuration during the deployment step. § Server. • Represents the infrastructure where a REC is created. § Runtime Execution Container (REC). • SDC-enabled server that include a preinstalled SDC Client and Config Agent. The FI-WARE Project – Base Platform for Future 8 Service Infrastructures
2. API & Operations The FI-WARE Project – Base Platform for Future Service Infrastructures
Operation: Consult Recipes Catalogue Cloud Portal SDC GEi 1) Products[] = listProductCatalogue() 2) ProductAttributes[] = getProductAttributes(ProductId) Recipes § listProductCatalogue returns a list of Products identified by its ProductId. § The list of Product contents for each Product, its description and its attributes. § Could be possible to ask for the specific attributes of a product via getProductAttributes. The FI-WARE Project – Base Platform for Future 10 Service Infrastructures
Operation: Install a Product 1 REC Cloud Portal 2 SDC Client SDC GEi 4 5 1 3 PaaS Manager Config. Agent 8 7 Config. Engine 6 1) TaskId = installProduct(Server, Product) 5) executeRecipes() TaskStatus = getTaskStatus(TaskId) 6) Recipes[] = getAssignedRecipes() 2) [Hostname, Hostdomain] = getHostInfo(ServerIP) 7) TaskId = installProduct(Recipe) 3) assignRecipeToNode(Recipe) 8) TaskId = unassignRecipeFromNode(Server, Product) 4) executeConfigEngine() The FI-WARE Project – Base Platform for Future 11 Service Infrastructures
Documentation § Open Specification SDC h t t p s : / / f o r g e . f i - w a r e . e u / p l u g i n s / m e d i a w i k i / w i k i / f i w a r e / i n d e x . p h p / FIWARE.OpenSpecification.Cloud.SDC The FI-WARE Project – Base Platform for Future 12 Service Infrastructures
3. Demo The FI-WARE Project – Base Platform for Future Service Infrastructures
Our objective Working together to make it possible: ü New services for everybody ü Smart applications ü Innovative business models Providing the Technology Foundation – Standard interfaces. – Open to other actors (SMEs) – Scalable and demand oriented (cloud) create a solid basis for the Internet of the Future The FI-WARE Project – Base Platform for Future The FI-WARE Project – Base Platform for Future Service Infrastructures Service Infrastructures
Recommend
More recommend