tosca explained

Download Tosca explained

Post on 05-Dec-2014

1.596 views

Category:

Documents

6 download

Embed Size (px)

DESCRIPTION

 

TRANSCRIPT

  • 1. Yaron Parasol @yaronpar Introduction to TOSCA
  • 2. About Me Yaron Modern Hebrew Name Parasol Strange Polish Name Lead Product Manager of Cloudify at GigaSpaces Member of TOSCA TC
  • 3. Many stages require manual involvement Provision Install Configure Deploy Monitor Scale Application Deployment Lifecycle
  • 4. The Impact of Human Error 80%of outages impacting mission- critical services will be caused by people and process issues 80%of outages impacting mission- critical services will be caused by people and process issues 50%of those outages will be caused by change/configuration/release integration and hand-off issues
  • 5. 61%ARE HERE 83%WANT TO BE HERE TIME EFFECTIVENESS The Path to Orchestration
  • 6. What is TOSCA? Topology & Orchestration Specification of Cloud Application By OASIS Sponsored by IBM, CA, Rackspace, RedHat, Huawei and others
  • 7. What is TOSCA? Goal: cross cloud, cross tools orchestration of applications on the Cloud Status: Version 1 approved (XML ) Version 2 (also YAML!) in final design
  • 8. Why TOSCA? Standard Can Describe Any Topology Any Automation Process Portable between Clouds and Tools
  • 9. The TOSCA Building Blocks Application Topologies Workflows Policies
  • 10. What do we see here?
  • 11. What do we see here? Host Middleware App module connection
  • 12. What Weve Seen An application topology 3 layers Infrastructure (Cloud or DC objects) Platform or Middleware (App containers) Application modules, schemas and configurations Relationships between components: Whats hosted on what or installed on what Whats connected to what
  • 13. Whats in a TOSCA Topology? component in the topology are called Nodes Each Node has a Type (e.g. Host, BD, Web server). The Type is abstract and hence portable The Type defines Properties and Interfaces An Interface is a set of hooks (named Operations) Nodes are connected to one another using Relationships
  • 14. Topology Infrastructure Middleware Application Host Host Network Apache Tomcat MySQL Mod_proxy WAR Schema
  • 15. Structure & Syntax
  • 16. Node Type Describe a Cloud or Software type (e.g. Server or Apache) Maps the Type to the actual impl. Of the lifecycle interface
  • 17. Node Type (cont.) Defines properties as YAML maps Might defines capabilities (What it can provide to other nodes)
  • 18. Node Type (cont.) Might Define Requirements (what it needs from other nodes)
  • 19. Relationship Type Requirements and Capabilities are implicit way to describe relationships Usually you need the explicit way You need hooks to configure the source or target node or both So relationships have types and interfaces as well
  • 20. Relationships (cont.) The basic relationship types are: dependsOn abstract type and its sub types: hostedOn a node is contained within another connectsTo a node has a connection configured to another The basic interface is configure preconfigure_source, preconfigure_target postconfigure_source, postconfigure_target add_target, remove_target
  • 21. Node Templates An instance of a type (like Object to Class) Has specific properties Has artifacts: What to install How to install (mapped to interface hooks) Has requirements and capabilities (or relationships)
  • 22. Node Template (Examples)
  • 23. Translated to TOSCA Node Node Node Connectes_to relationship Hosted_on relationship
  • 24. Workflows Imperative flow algorithm Using a workflow engine Timing the invocation of operations on different node
  • 25. Policies Brings monitoring to the orchestration as input Ongoing evaluation of Rules Enforce SLA, Health, and anything else Can invoke more processes
  • 26. Putting it All Together TOSCA Template (Blueprint in Cloudify) contains: Application Topology Nodes Interfaces Properties Artifacts (Plugins in Cloudify) Relationships Interfaces Workflows Policies
  • 27. Proxy REST + File Server GUI Workflow Engine Task Manager Blueprint + Runtime Data Agent Agent Application Stack Cloudify Manager App VM Invokes Reports Creates Architecture
  • 28. Policy Engine Monitoring Data Monitoring Agent Cloudify Manager App VM Invokes Reports Creates Metrics VM Architecture
  • 29. Proxy REST + File Server GUI Workflow Engine Task Manager Blueprint + Runtime Data Policy Engine Agent Monitoring Data Agent Monitoring Agent Application Stack Cloudify Manager App VM Invokes Reports Creates Metrics VM Logs + Events Architecture
  • 30. Cloudify 3 Demo Apache 2 OpenSource Release July 2014
  • 31. Thank you http://getcloudify. org

Recommended

View more >