Title: SOA-18: Sonic ESB Application Deployment using SDM
1SOA-18 Sonic ESB Application Deployment using SDM
Frank Beusenberg
Kannan Thiruvengadam
Applied Technology Consultant
Applied Architect
2Agenda
Sonic ESB Application Deployment using SDM
- Introduction
- Deployment Procedure
- using ESB Deployment tools
- using Sonic Deployment Manager
- Demo
- using Sonic Deployment Manager
- Comparison
SOA-18 Sonic ESB Application Deployment using SDM
3Deployment the need
- I created a Sonic based app in Workbench
- How to deploy and run this on my QA env?
SOA-18 Sonic ESB Application Deployment using SDM
4Deployment the parts
ESB Container 2
ESB Container 1
Domain Manager
Message Broker
Sonic MQ and ESB
SOA-18 Sonic ESB Application Deployment using SDM
5Deployment The ESB part
What do I deploy?
- 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
SOA-18 Sonic ESB Application Deployment using SDM
6Introduction
What do I deploy?
- ESB Artifacts need to be placed on an MQ platform
ep1
ESB Services
ep3
ep4
ep2
q1
MQ Broker
q2
q3
q4
SOA-18 Sonic ESB Application Deployment using SDM
7Agenda
Sonic ESB Application Deployment using SDM
- Introduction
- Deployment Procedure
- using ESB Deployment tools
- using Sonic Deployment Manager
- Demo
- using Sonic Deployment Manager
- Comparison
SOA-18 Sonic ESB Application Deployment using SDM
8ESB Deployment
Steps Involved in ESB Deployment
Import Tailored Archive into Target Domain
Edit Map Parameters for Target Domain
Check Import Log File
Create Export Archive
Produce Analysis Report
Check Map Log File
Create Map from Export Archive
Apply Map to Export Archive
Create Custom Tailoring Rules
SOA-18 Sonic ESB Application Deployment using SDM
9ESB Deployment
Tools Involved with 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
SOA-18 Sonic ESB Application Deployment using SDM
10ESB Deployment
What is NOT in XAR
- Messaging Infrastructure
- JMS Destinations
- MF Containers
- Brokers
- Clusters
- DRA Configuration
- ...
- XAR only deals with ESB artifacts
SOA-18 Sonic ESB Application Deployment using SDM
11ESB Deployment
Including development environment artefacts
- Exclude required artefacts (e.g. dev.CBR) from
ignore list - by modifying default ExportProperties.xml
- Export using ESBAdmin
- ESBAdmingt export archive c\Projects\Sales\salesde
v.xar C\Projects\Sales\ExportProperties.xml
SOA-18 Sonic ESB Application Deployment using SDM
12Agenda
Sonic ESB Application Deployment using SDM
- Introduction
- Deployment Procedure
- using ESB Deployment tools
- using Sonic Deployment Manager
- Demo
- using Sonic Deployment Manager
- Comparison
SOA-18 Sonic ESB Application Deployment using SDM
13What is SDM?
SDM
14Sonic Deployment Manager
What is it?
- Software tool to perform
- Installation
- Configuration
- Deployment
SOA-18 Sonic ESB Application Deployment using SDM
15Sonic Deployment Manager
What is a model?
SOA-18 Sonic ESB Application Deployment using SDM
16Sonic 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
17Sonic Deployment Manager
How do I use it?
- 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.
SOA-18 Sonic ESB Application Deployment using SDM
18Sonic Deployment Manager
Levels of Configuration
- Domain Configuration
- Domain Manager
- Base Configuration
- Message Brokers
- Clusters
- Acceptors
- ESB Configuration
- ESB Containers
- ESB XAR File(s)
- Event Monitor
SOA-18 Sonic ESB Application Deployment using SDM
19Sonic Deployment Manager
Whats left
- 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)
SOA-18 Sonic ESB Application Deployment using SDM
20Other deployment tasks
Approach
- Incremental Deployment! Also via SDM!
- CleanInstallation
- UpdateInstallation
- Version the involved model file(s)!
- Version Control
SOA-18 Sonic ESB Application Deployment using SDM
21The Deployment Model
Domain Configuration
- Model.xml
- ltGeneralConfiggt
- ltDSReferencegt
- ltDSHostgt
- ltMQBasegt
- ltESBBasegt
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
22The Deployment Model
Domain Configuration
SOA-18 Sonic ESB Application Deployment using SDM
23The Deployment Model
Base Configuration
- Model.xml
- ltBrokergt
- ltClustergt
Describes the Broker and MF Container to create
for messaging
Describes the Cluster containing the Broker(s)
SOA-18 Sonic ESB Application Deployment using SDM
24The Deployment Model
Base Configuration Sample
SOA-18 Sonic ESB Application Deployment using SDM
25The Deployment Model
ESB Configuration
- Model.xml
- ltESBArchivegt
- ltESBContainergt
Describes the XAR to import
Describes the ESB Container to create
SOA-18 Sonic ESB Application Deployment using SDM
26The Deployment Model
ESB Configuration
SOA-18 Sonic ESB Application Deployment using SDM
27Agenda
Sonic ESB Application Deployment using SDM
- Introduction
- Deployment Procedure
- using ESB Deployment tools
- using Sonic Deployment Manager
- Demo
- using Sonic Deployment Manager
- Comparison
SOA-18 Sonic ESB Application Deployment using SDM
28Demo
SOA-18 Sonic ESB Application Deployment using SDM
29Summary Roles of Tools
ESB Export/ Import
ESB Container 2
ESB Container 1
S D M
Domain Manager
Message Broker
Sonic MQ and ESB
SOA-18 Sonic ESB Application Deployment using SDM
30Summary - 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
31For 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
32?
Questions
SOA-18 Sonic ESB Application Deployment using SDM
33Thank You
SOA-18 Sonic ESB Application Deployment using SDM
34SOA-18 Sonic ESB Application Deployment using SDM