Ce diaporama a bien été signalé.
Nous utilisons votre profil LinkedIn et vos données d’activité pour vous proposer des publicités personnalisées et pertinentes. Vous pouvez changer vos préférences de publicités à tout moment.

Open stack vancouver heat-translator vbrownbag-2015-05-21

718 vues

Publié le

TOSCA Workloads with OpenStack Heat-Translator. These charts were used at the OpenStack Vancouver Summit 2015 for #vBrownBag TechTalks.

Publié dans : Technologie
  • Secrets To Working Online, Hundreds of online opportunites you can profit with today! ◆◆◆ http://ishbv.com/ezpayjobs/pdf
       Répondre 
    Voulez-vous vraiment ?  Oui  Non
    Votre message apparaîtra ici

Open stack vancouver heat-translator vbrownbag-2015-05-21

  1. 1. OpenStack Summit May 18-22, 2015 Vancouver, Canada TOSCA Workloads with OpenStack Heat-Translator Thursday, May 21 @ 11:00am Sahdev Zala IBM Advisory Software Developer, OpenStack PTL Heat-Translator Matt Rutkowski IBM STSM, Open Technologies & Standards Chair OASIS TOSCA Simple Profile WG, Simple Profile Lead Editor
  2. 2. 2© 2015 IBM Corporation Kilo: Heat-Translator now part of Heat Project!  OpenStack project Status changed from Stackforge to OpenStack under Heat program https://github.com/openstack/heat-translator http://docs.openstack.org/developer/heat-translator/ • Implementation of new TOSCA features – networking, block storage, object storage, capabilities etc. • Availability to use on command line • Support for user input parameters • Growing TOSCA ecosystem • Implementation of TOSCA relationship templates, custom types TOSCA Types TOSCA Template or CSAR TOSCA Nodes Validation Tests Map Generate Validation Tests TOSCA Parser HOT Generator Heat Orchestration Template (HOT) Heat Deploy
  3. 3. 3© 2015 IBM Corporation Kilo: Heat-Translator in Action! • Clone the project • heat_translator.py --template-file=translator/toscalib/tests/data/tosca_helloworld.yaml --template-type=tosca • Can provide input parameters per template need as, --parameters="purpose=test“ TOSCA YAML HOT YAML Liberty plan: o Implement CLIFF framework to build friendlier CLI o Make Heat-Translator available to use in python-openstackclient (OSC) via plugin
  4. 4. 4© 2015 IBM Corporation Database TierApplication Tier nodejs WebServer Artifacts • Create Requirements Container app_server Compute Capabilities Container HostedOn Capabilities Container paypal_pizzastore WebApplication Artifacts • Config • Start Requirements Container HostedOn mongo_dbms DBMS Artifacts • Create • Config • Start Requirements Container HostedOn Capabilities Container mongo_db Database Artifacts • Create DB Requirements Container HostedOn Capabilities Endpoint.DB Endpoint.DB mongo_server Compute Capabilities Container Kilo: Heat-Translator supports Multi-Tier TOSCA use cases ConnectsTo MongoDBPayPal Sample App Mongo DBMSNodejs Part 1
  5. 5. 5© 2015 IBM Corporation Logging/Monitoring Tier (ELK) Application Tier nodejs WebServer app_server Compute paypal_pizza store WebApplication Kilo: Heat-Translator supports Multi-Tier TOSCA use cases collectd logstash SoftwareComponent Artifacts • Create • Config • Start Requirements Container Capabilities log_endpoint logstash_server Compute Capabilities Container elasticsearch SoftwareComponent Artifacts • Create • Config • Start Requirements Container Capabilities search_endpoint elasticsearch _server Compute Capabilities kibana SoftwareComponent Artifacts • Create • Config • Start Requirements Container kibana_server Compute Capabilities search_endpoint ConnectsTo HostedOn HostedOn HostedOn ConnectsTo Database Tier mongo_dbms DBMS mongo_server Compute mongo_db Database rsyslog ConnectsTo Part 2 search_endpoint Container Container
  6. 6. 6© 2015 IBM Corporation • my_web_server_2 (Compute) • storage_attach_2 (AttachesTo) • volume_id for my_storage • location: /another_location storage_attach_2 Properties • location: /another_location AttachesTo my_web_server_2 Compute Attributes • private_address • public_address • networks • ports Capabilities Container OperatingSystem Requirements Attachment ... • my_web_server_1 (Compute) • storage_attach_1 (AttachesTo) • location: /some_location • my_storage (BlockStorage) storage_attach_1 Properties • location: /some_location AttachesTo my_storage BlockStorage Capabilities Attachment Properties • size • volume_id • snapshot_id my_web_server_1 Compute Attributes • private_address • public_address • networks • ports Capabilities Container OperatingSystem Requirements Attachment ... Kilo: Block and ObjectStorage (Cinder, Swift)
  7. 7. 7© 2015 IBM Corporation BindsTo BindsTo my_app_1 Compute Attributes • private_address • public_address • networks • ports Capabilities Container ... Bindable LinksTo port_2 Port Capabilities Linkable Requirements Bindable public_net_1 Network Capabilities Linkable LinksTo port_1 Port Capabilities Linkable Requirements Bindable private_net_1 Network Capabilities Linkable Kilo: Network Modeling (Neutron) • Application Model separate from Network Model • Allows developers to Model JUST the application and bind to existing tenant networks • Supports a Plurality of Logical Public & Private Networks • Connected via logical Ports nodes (via LinksTo and BindsTo)
  8. 8. 8© 2015 IBM Corporation Liberty Plans: Containers & Repositories Hosted On PaaS Subsystem (hidden) PaaS Modeling • Template author chooses to expose or hide runtime topology & implementation Container Application Modeling • Agnostic of PaaS Cloud Provider • PaaS on OpenStack, Cloud Foundry, Azure, etc. Docker Hub (Repository) Docker Image for mysql docker_mysql Container.App.Docker Artifacts - my_image: type: Image.Docker URI: mysql repository: docker Requirements ... Runtime.Docker Container my_PaaS_platform Container.Runtime Capabilities Runtime.Docker Container Runtime.Nodejs Runtime.J2EE ... PaaS Layer exposes “runtimes” as TOSCA Capabilities • Docker, Nodejs, JSP, J2EE, etc. Heat-Translator could automatically retrieve and deploy a Docker image from a declared Repository • TOSCA Templates can model their repositories (e.g., Docker Hub) • Heat could dynamically “pull” templates, definitions, scripts, configuration files, etc. from multiple repos.
  9. 9. 9© 2015 IBM Corporation TOSCA v1.0 intends to support policies in the areas of :  Placement (Affinity), Scaling and Performance ‒ with Rules that are evaluated to execute Automatic and Imperative Triggers Liberty Plans: Policies Policies be modeled as Requirements using TOSCA Capability Types 1. That can be attached to Interfaces or specific Operations, 2. Nodes and 3. Groups of Nodes my_app_1 Compute Capabilities Container ...Lifecycle create configure ... Policy • Type • Rule • Trigger my_scaling_group backend_app Compute Policy • Type • Rule • Trigger my_database Compute web-app Compute Policy • Type • Rule • Trigger 1 2 3
  10. 10. 10© 2015 IBM Corporation Future Plans: Network Functions Virtualization (NFV) Plan: Heat-Translator working with Neutron related OpenNFV projects • TOSCA liaising with ETSI NFV and OpenNFV standards work groups Support for NFV graph constructs: TOSCA Profile Drafts model Software Defined Networks (SDN) on OpenStack • Support Network Service Descriptors (NSD) • Virtual Network Function Descriptors (VNFD) • Forwarding Graphs as sequences of Connection Points (CPs) (In-Progress)
  11. 11. 11© 2015 IBM Corporation Please join us as a contributor on the Heat-Translator project: https://launchpad.net/heat-translator

×