How To Build Csars: For Opentosca
How To Build Csars: For Opentosca
for OpenTOSCA
Gefördert durch:
University of Stuttgart Tim Waizenegger
Universitätsstr. 38
70569 Stuttgart
Germany Förderschwerpunkt:
Projektträger:
www.opentosca.org
Preface
2
Purpose of this Document
© University of Stuttgart 3
Prerequisites
© University of Stuttgart 4
Basics
5
TOSCA in one Slide
Node X
Relationship
calls
Node
Management
Operation
© University of Stuttgart 6
Contents of a CSAR file
Type
X
Properties Interfaces
CloudCycle
Types Management
Topology Plans
(Templates)
Deployment Implementa-
Artifacts tion Artifacts
Images Services
Installables Scripts
Deployment Implementation
Artifacts Artifacts
Cloud Service Archive (CSAR)
© University of Stuttgart 7
Steps to create a CSAR
8
Process overview
© University of Stuttgart 9
1. Sketch the topology and orchestration
© University of Stuttgart 10
2. Decide on appropriate NodeTypes for your topology
Database I
( MySQL ) A
Configure instance
CloudCycle
Operating System I
( Ubuntu 12.04 ) A
Install MySQL
VM
( VirtualMachine )
Provision VM and OS
© University of Stuttgart 11
3. Create a new ServiceTemplate in Winery
CloudCycle
© University of Stuttgart 12
4. Model your topology
CloudCycle
© University of Stuttgart 13
4. Model your topology
CloudCycle
© University of Stuttgart 14
5. Supply parameters to the node templates
CloudCycle
© University of Stuttgart 15
6. Model & Import your plan package
© University of Stuttgart 16
6. Model & Import your plan package
CloudCycle
© University of Stuttgart 17
6. Model & Import your plan package
CloudCycle
© University of Stuttgart 18
7. Supply plan input and output parameters
© University of Stuttgart 19
8. Provide Self-Service Information
© University of Stuttgart 21
9. Export finished CSAR file
© University of Stuttgart 22
9. Export finished CSAR file
CloudCycle
© University of Stuttgart 23
Further Information
24
A simple example CSAR file
An example CSAR file can be found at:
https://github.com/timwaizenegger/CSAR_Template.git