smart421 an innovative approach in productionising large-scale data power deployments

30
28 th September 2010 WebSphere User Group UK (WUG), Edinburgh Alan Philpott An Innovative Approach in Productionising Large-Scale DataPower Deployments Subheading goes here

Upload: smart421

Post on 14-Jan-2015

687 views

Category:

Documents


2 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Smart421   an innovative approach in productionising large-scale data power deployments

28th September 2010WebSphere User Group UK (WUG), Edinburgh

Alan Philpott

An Innovative Approach in Productionising Large-Scale DataPower DeploymentsSubheading goes here

Page 2: Smart421   an innovative approach in productionising large-scale data power deployments

Alan Philpott Lead Consultant at Smart421

Introduction

2An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

PresenterWho am I?

Page 3: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

Part 1 Introduction: DataPower Overview

Part 2 Development and Deployment

Part 3 Example Approach

Part 4 Troubleshooting

Part 5 Conclusion

3An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Page 4: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

Part 1 Introduction: DataPower Overview

Part 2 Development and Deployment

Part 3 Example Approach

Part 4 Troubleshooting

Part 5 Conclusion

4An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Page 5: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

5An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Introduction// WebSphere DataPower Appliances // DataPower Overview

Page 6: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

Part 1 Introduction: DataPower Overview

Part 2 Development and Deployment

Part 3 Example Approach

Part 4 Troubleshooting

Part 5 Conclusion

6An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Page 7: Smart421   an innovative approach in productionising large-scale data power deployments

Current approach−

Modifications made within domain completed manually as and when required−

Resource files edited and uploaded as needed−

Exporting and importing configuration into new domains to create new environments

What are the drawbacks?−

No history of changes−

No version control of resource files−

Manual change of environment specific parameters required when importing to new environments−

Performing manual updates can lead to errors

Productionising Large Scale DataPower Deployments

7An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Problem Statement: How does configuration currently work?

Page 8: Smart421   an innovative approach in productionising large-scale data power deployments

Domain configuration

Decide how domains fit architecturally

Storage of artefacts (XMLs, XSLs, XSDs etc)−

Source Control mechanism

Developer responsibilities

Productionising Large Scale DataPower Deployments

8An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Development

Page 9: Smart421   an innovative approach in productionising large-scale data power deployments

How to create deployable packages−

Methods of domain extraction

How to deploy packages into new environments?

Manipulate configuration based on Deployment Policies−

Implement within a domain−

Applied during deployment

Productionising Large Scale DataPower Deployments

9An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Deployment

Page 10: Smart421   an innovative approach in productionising large-scale data power deployments

Deployment Policies - Overview

Productionising Large Scale DataPower Deployments

10An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Deployment

Page 11: Smart421   an innovative approach in productionising large-scale data power deployments

Deployment Policies - Port Modification Example (1/4)−

Creation of XML Firewall “WUGFirewall”−

Export the configuration

Productionising Large Scale DataPower Deployments

11An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Deployment

Page 12: Smart421   an innovative approach in productionising large-scale data power deployments

Deployment Policies - Port Modification Example (2/4)−

Policy setup within target domain

Match = */WUGDemo/services/xmlfirewall?Name=WUGFirewall&Property=LocalPort

Modification Type = Change Configuration

Configuration Value = 8001

Productionising Large Scale DataPower Deployments

12An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Deployment

Page 13: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

13An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Deployment

Deployment Policies - Port Modification Example (3/4)−

Import the configuration

Page 14: Smart421   an innovative approach in productionising large-scale data power deployments

Deployment Policies - Port Modification Example (4/4)−

Imported object shows new port number

Productionising Large Scale DataPower Deployments

14An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Deployment

Page 15: Smart421   an innovative approach in productionising large-scale data power deployments

Decide an approach to handling Certificates / Keys−

Store in cert: or sharedcert: ?

Crypto files stored within sharedcert:−

Simplifies deployment−

Every domain will have access

Crypto files stored within cert:−

Preload before first deployment−

Restricts access

Productionising Large Scale DataPower Deployments

15An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Security Considerations

Page 16: Smart421   an innovative approach in productionising large-scale data power deployments

Creation of Build / Deployment support scripts−

Utilise the XML Management Interface−

Identify required processes

Create appropriate request files−

XML editors can make this process simple−

Utilise the schemas on the appliance to help

Productionising Large Scale DataPower Deployments

16An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// Support Scripts

Page 17: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

17An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Development and Deployment// XML Management Request / Response Example

Page 18: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

Part 1 Introduction: DataPower Overview

Part 2 Development and Deployment

Part 3 Example Approach

Part 4 Troubleshooting

Part 5 Conclusion

18An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Page 19: Smart421   an innovative approach in productionising large-scale data power deployments

Setup a repository within SVN to support the project−

Decide on a project structure−

Support for trunks, tags and branches?

Productionising Large Scale DataPower Deployments

19An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Example Approach// Example Approach Utilising Tortoise Subversion

Page 20: Smart421   an innovative approach in productionising large-scale data power deployments

ANT is an effective tool when supporting DataPower

Commands within SVN can be run using ANT

Script execution−

Start with Command Line driven implementation

Productionising Large Scale DataPower Deployments

20An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Example Approach// Apache ANT Integration

Page 21: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

Part 1 Introduction: DataPower Overview

Part 2 Development and Deployment

Part 3 Example Approach

Part 4 Troubleshooting

Part 5 Conclusion

21An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Page 22: Smart421   an innovative approach in productionising large-scale data power deployments

If deployments don't seem to be working…−

Firewall issues?

Permissions?

Productionising Large Scale DataPower Deployments

22An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Troubleshooting// Problems with Deployment?

Page 23: Smart421   an innovative approach in productionising large-scale data power deployments

If deployments don't seem to be working…−

Is the XML Management Interface is enabled?

Productionising Large Scale DataPower Deployments

23An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Troubleshooting// Problems with Deployment?

Page 24: Smart421   an innovative approach in productionising large-scale data power deployments

If deployments don't seem to be working…−

Enough free temporary space?

Productionising Large Scale DataPower Deployments

24An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Troubleshooting// Problems with Deployment?

Page 25: Smart421   an innovative approach in productionising large-scale data power deployments

If deployments don't seem to be working…−

Is the CPU being utilised heavily?

Productionising Large Scale DataPower Deployments

25An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Troubleshooting// Problems with Deployment?

Page 26: Smart421   an innovative approach in productionising large-scale data power deployments

Productionising Large Scale DataPower Deployments

Part 1 Introduction: DataPower Overview

Part 2 Development and Deployment

Part 3 Example Approach

Part 4 Troubleshooting

Part 5 Conclusion

26An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Page 27: Smart421   an innovative approach in productionising large-scale data power deployments

Identify responsibilities

Integrate with source control

Automate processes with scripts

Cryptographic considerations

Plan ahead!

Productionising Large Scale DataPower Deployments

27An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Conclusion

Page 28: Smart421   an innovative approach in productionising large-scale data power deployments

Smart421−

Website: www.smart421.com

Twitter: @smart421

Phone: 01473 421 421

Fax: 01473 421 422

Alan Philpott−

[email protected]

Contact us

28An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Datapower blog−

smart421.wordpress.com/tag/datapower

Page 29: Smart421   an innovative approach in productionising large-scale data power deployments

Smart421−

IBM Premier/Tier One Partner

Official IBM DataPower Reseller

Solution Integrator (Insurance, Finance, Telco.)

Questions

29An Innovative Approach in Productionising

Large-Scale DataPower

Deployments

| 28 September 2010

Page 30: Smart421   an innovative approach in productionising large-scale data power deployments

Copyright © 2010 Smart421. All rights reserved.A copy of this presentation is available on request

Alan PhilpottLead Consultant

www.smart421.comFor more information, please visit our website