Upload
kristina-bridges
View
225
Download
3
Tags:
Embed Size (px)
Citation preview
SOA-18: Sonic ESB Application Deployment using SDM
Frank BeusenbergApplied Technology Consultant
Kannan ThiruvengadamApplied Architect
© 2008 Progress Software Corporation2
Agenda
Introduction Deployment Procedure
• using ESB Deployment tools• using Sonic Deployment Manager
Demo• using Sonic Deployment Manager
Comparison
Sonic ESB Application Deployment using SDM
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation3
I created a Sonic based app in Workbench
How to deploy and run this on my QA env?
Deployment – the need
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation4
Deployment – the parts
Domain Manager
Message Broker
ESB Container 2
ESB Container 1
SOA-18: Sonic ESB Application Deployment using SDM
Sonic MQ and ESB
© 2008 Progress Software Corporation5
Sonic Application consists of• ESB Processes
– Detour Pattern Implementation Process– Process Document Process
• ESB Services– Content Based Routing Service– XML Transformation Service– Simulation Service [Custom]
• ESB Endpoints– DetourPattern.Entry– SimulationServiceInstance.Entry
• ESB Resources– Configuration/Definition Files (xcbr, xslt, xml)– JAR Files
Deployment – The ESB part
What do I deploy?
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation7
Agenda
Introduction Deployment Procedure
• using ESB Deployment tools• using Sonic Deployment Manager
Demo• using Sonic Deployment Manager
Comparison
Sonic ESB Application Deployment using SDM
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation8
ESB Deployment
Steps Involved in ESB Deployment
Create Export Archive
Create Custom Tailoring Rules
Create Map from Export Archive
Edit Map Parameters for Target Domain
Apply Map to Export Archive
Produce Analysis Report
Check Map Log File
Import Tailored Archive into
Target DomainCheck Import
Log File
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation9
ESB Deployment
Sonic ESB Deployment Tool• Graphical Tool
• Export SonicESB Artifacts for Deployment
• Create Deployment Archive (.XAR) Sonic ESB Admin Tool
• Command Line Tool
• Create Map File
• Apply Map File to Archive
Tools Involved with ESB Deployment
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation10
ESB Deployment
Messaging Infrastructure• JMS Destinations
• MF Containers
• Brokers
• Clusters
• DRA Configuration
• ...
XAR only deals with ESB artifacts
What is NOT in XAR
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation11
ESB Deployment
Exclude required artefacts (e.g. dev.CBR) from ignore list
– by modifying default ExportProperties.xml
Export using ESBAdmin
ESBAdmin> export archive c:\Projects\Sales\salesdev.xar C:\Projects\Sales\ExportProperties.xml
Including development environment artefacts
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation12
Agenda
Introduction Deployment Procedure
• using ESB Deployment tools• using Sonic Deployment Manager
Demo• using Sonic Deployment Manager
Comparison
Sonic ESB Application Deployment using SDM
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation13
What is SDM?
SDM
© 2008 Progress Software Corporation14
Sonic Deployment Manager
Software tool to perform
• Installation
• Configuration
• Deployment
What is it?
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation15
Sonic Deployment Manager
What is a model?
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation16
Sonic Deployment Manager
Benefits
Completely Automated Server Installation Software Lifecycle Support Versioned Sonic Configurations Repeatable Installation of Sonic Deployment Updates of an existing Sonic Deployment
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation17
Sonic Deployment Manager
Create the Model to describe your deployment configuration• Domain Manager• Message Brokers• Containers• Acceptors• Other SonicMQ® artifacts
Run SDM to create the deployment described in the Model.
How do I use it?
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation18
Sonic Deployment Manager
Domain Configuration• Domain Manager
Base Configuration• Message Brokers• Clusters• Acceptors
ESB Configuration• ESB Containers• ESB XAR File(s)
Event Monitor
Levels of Configuration
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation19
Sonic Deployment Manager
Not everything is exported by domaintoModel• Examples
– JNDI objects
– Security configuraiton elements Users Groups ACLs QoPs
For security-related config elements• Use admin utility (configadmin)
What’s left
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation20
Other deployment tasks
Incremental Deployment! Also via SDM!
• CleanInstallation• UpdateInstallation
Version the involved model file(s)!
• Version Control
Approach
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation21
The Deployment Model
Model.xml
• <GeneralConfig>
• <DSReference>
• <DSHost>
• <MQBase>
• <ESBBase>
Domain Configuration
Describes the Model
Connection to the Domain Manager
Create the Domain Manager
Install Sonic MQ
Install Sonic ESB
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation27
Agenda
Introduction Deployment Procedure
• using ESB Deployment tools• using Sonic Deployment Manager
Demo• using Sonic Deployment Manager
Comparison
Sonic ESB Application Deployment using SDM
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation28
Demo
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation29
Summary – Roles of Tools
Domain Manager
Message Broker
ESB Container 2
ESB Container 1
SOA-18: Sonic ESB Application Deployment using SDM
Sonic MQ and ESB
ESB
Export/
Import
S
D
M
© 2008 Progress Software Corporation30
Summary - SDM
The deployment process is now… Automated Simplified Repeatable Less error-prone
Very useful for large and frequent deployments
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation31
For More Information, go to…
Related Exchange Sessions• Continuous Integration in SOA Projects
by Andreas Gies
• Release Management for SOA
by Mitchell Horowitz Documentation
• SDM User Guide
• Sonic ESB Deployment Guide PSDN
• Sonic Deployment papers
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation32
Questions?SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation33
Thank You
SOA-18: Sonic ESB Application Deployment using SDM
© 2008 Progress Software Corporation34 SOA-18: Sonic ESB Application Deployment using SDM