SlideShare una empresa de Scribd logo
1 de 16
Descargar para leer sin conexión
InterConnect
2017
HHI-2121
Docker and IBM
Integration Bus
Geza Geleji
Development, IBM Integration Bus
1 3/29/2017
2 3/29/2017
Please note
IBM’s statements regarding its plans, directions, and intent
are subject to change or withdrawal without notice at IBM’s
sole discretion.
Information regarding potential future products is intended to
outline our general product direction and it should not be relied
on in making a purchasing decision.
The information mentioned regarding potential future products
is not a commitment, promise, or legal obligation to deliver
any material, code or functionality. Information about potential
future products may not be incorporated into any contract.
The development, release, and timing of any future features
or functionality described for our products remains at our sole
discretion.
Performance is based on measurements and projections
using standard IBM benchmarks in a controlled environment.
The actual throughput or performance that any user will
experience will vary depending upon many factors, including
considerations such as the amount of multiprogramming in
the user’s job stream, the I/O configuration, the storage
configuration, and the workload processed. Therefore, no
assurance can be given that an individual user will achieve
results similar to those stated here.
IIB Sessions at InterConnect 2017
3 3/29/2017
In case slide decks aren’t your thing…
▪ https://developer.ibm.com/integration
▪ Lots of blog entries, regular updates and links to product demo
videos! All our recent enablement material is on YouTube.
4 3/29/2017
Async Callable Flow Invoke Nodes https://youtu.be/btFcvdleDMw
Running IIB in BlueMix Container Service https://youtu.be/ybGOiPZO3sY
IIB and Kibana dashboards https://youtu.be/sCPrT2dHKSs
IIB and Hybrid Connect https://youtu.be/gWbxIooq3_g
IIB and LDAP https://youtu.be/HrqY9MyfzNs
IIB LoopBack Request node https://youtu.be/rUK_OQ5-Anw
Using IIB to integrate with MongoDB and Cloudant https://youtu.be/Is1pphngUlM
Using IIB for REST, Graphical Mapping & Salesforce https://youtu.be/XIK6QvNSHdY
IIB, Kafka and Twilio SMS https://youtu.be/7mCQ_cfGGtU
Using Kafka with IIB https://youtu.be/kYv0crxL86Y
Consuming REST APIs using the IIB REST Request node https://youtu.be/C_6gPlrCHZQ
Easy demo of an IIB App Connect node https://youtu.be/StwPbOiFKzk
Virtual Machines Containers
“Docker containers wrap a
piece of software in a complete
filesystem that contains everything
needed to run: code, runtime, system tools, system
libraries – anything that can be installed on a server.
This guarantees that the software will always run the
same, regardless of its environment.”
docker.com, retrieved 1 Dec 2016
Terminology (from docker.com):
• An image is a filesystem and parameters to use
at runtime. It doesn’t have state and never
changes.
• A container is a running instance of an image.
• A registry is a storage and content delivery
system, holding named Docker images,
available in different tagged versions.
commoditization and
simplification of
containers technology
tooling (APIs, CLIs, services,
training) to help manage the
lifecycle of containers
What is Docker?
5 3/29/2017
Sourcing profile
MQSI 10.0.0.6
/opt/ibm/iib-10.0.0.6/server
----------------------------------------
Version: '10.0.0.6'
Product: 'IBM Integration Bus'
Build Number: '197'
IE02 level: 'ie02-L20140415-1143'
IB Level: 'ib1000-L160824.197_P'
Server level: 'S1000-L160823.10129'
Toolkit level:'20160819-1112' [not installed]
----------------------------------------
----------------------------------------
Node MYNODE does not exist...
Creating node MYNODE
BIP8071I: Successful command completion.
----------------------------------------
----------------------------------------
Starting syslog
Starting node MYNODE
BIP8096I: Successful command initiation, check the system log to ensure that the
component started without problem and that it continues to run without problem.
----------------------------------------
----------------------------------------
Running - stop container to exit
At this point, we have an IIB V10 node running!
• IBM Integration Bus runs in the background, as it would
on bare metal
• We run a foreground process (iib_manage.sh)
• When this process exits, the container stops
• View port mappings:
# docker port da975f82a0e2
4414/tcp -> 0.0.0.0:32769
7800/tcp -> 0.0.0.0:32768
• Access it as you would a normal node:
• Web administration on mapped port for 4414
• Connect the toolkit
• Deploy a HTTP flow and use mapped port 7800 to
put some traffic through it
• Run mqsi commands against it:
docker exec da975f82a0e2 /bin/bash -c mqsilist
• Access the syslog:
docker exec da975f82a0e2 tail -f /var/log/syslog
Running an IIB Docker container
# docker run --name myNode -e LICENSE=accept -e NODENAME=MYNODE -P iibdemo
# docker build -t iibdemo .
https://github.com/ot4i/iib-docker
6 3/29/2017
FROM ubuntu:14.04
# [...]
# Install IIB V10 Developer edition
RUN mkdir /opt/ibm && 
curl http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/integration/10.0.0.6-
IIB-LINUX64-DEVELOPER.tar.gz 
| tar zx --exclude iib-10.0.0.6/tools --directory /opt/ibm && 
/opt/ibm/iib-10.0.0.6/iib make registry global accept license silently
# [...]
# Expose default admin port and http port
EXPOSE 4414 7800
USER iibuser
# Set entry point to run management script
ENTRYPOINT ["iib_manage.sh"]
Building an IIB Docker Image
https://github.com/ot4i/iib-docker
7 3/29/2017
• Add your own, local product binaries
• Expose more ports/explicit ports using “-p”
• Manage state using volumes
https://docs.docker.com/engine/userguide/containers/dockervolumes/
• Add in your own monitoring
• Run in the cloud! E.g. on IBM containers:
https://developer.ibm.com/integration/blog/2016/11/18/run-ibm-
integration-bus-in-bluemix-in-3-easy-steps/
• Use pre-built IIB images hosted in BlueMix
• Run as a hosted container with monitoring and access to other
BlueMix services – e.g. monitoring, logging, alerting, service discovery
IIB V10 on Docker supported in production
http://www-969.ibm.com/software/reports/compatibility/clarity-
reports/report/html/softwareReqsForProduct?deliverableId=137
6392102308&osPlatform=Linux
• Linux kernel 3.10 or above
• Image OS must be supported for IIB
• Must be able to run mqsi commands and access syslog
Futures
• Prebuilt images on IBM Containers
• V10 only
• V10 and MQ Server
• V10 and MQ Client
• More examples on the community
• Dockerfile shipped with the product
• Prebuilt images on DockerHub
Add MQ to your image
https://github.com/ibm-messaging/mq-docker
• MQ V8 is supported in Docker
• Build an MQ image
• Build your IIB image “FROM” the MQ one to use
a default queue manager
Extensibility
8 3/29/2017
HOSTIP=`ip route show 0.0.0.0/0 | grep -Eo 'via S+' | awk '{ print $2 }'`
IIBIMAGEPATH="/media/cdrom"
IIBTAG="iib-10.0.0.7"
IIBIMAGE="${IIBTAG}.tar.gz"
cd /tmp
scp ${SSHUSER}@${HOSTIP}:${IIBIMAGEPATH}/${IIBIMAGE} .
Building an IIB Docker Image From an Existing Runtime Archive
• In order to avoid creating unnecessary filesystem layers, we use SSH within a shell script to download
an image from within the local network
COPY *.sh *.mqsc id.rsa host.key /tmp/
# set up SSH access for root
mkdir -m 700 ~/.ssh
cat /tmp/host.key | sed s/localhost/${HOSTIP}/ >> ~/.ssh/known_hosts
mv /tmp/id.rsa ~/.ssh/id_rsa
chmod 644 ~/.ssh/known_hosts
chmod 600 ~/.ssh/id_rsa
rm -rf /tmp/host.key
9 3/29/2017
REPOSITORY TAG IMAGE ID CREATED SIZE
iibtk 10007 686ab9d1f704 About an hour ago 3.58 GB
iib 10006 86d5a78d95d3 9 days ago 2.68 GB
iib 10007 3e727e7c136b 2 weeks ago 2.69 GB
mq 8006 6013fa8e3e54 2 weeks ago 1.75 GB
mq 8002 cad6d603d50a 2 weeks ago 799 MB
ubuntu 14.04 b969ab9f929b 7 weeks ago 188 MB
Running an IIB Docker Container
ubuntu:14.04 mq:8002 mq:8006
iib:10007
iib:10006
iibtk:10007
10 3/29/2017
docker run
--name myNode
-e LICENSE=accept
-e QMGRNAME=QMGR1
-p 1414:1414
-v mqdata:/var/mqm
-e NODENAME=NODE1
-e SVRNAME=server1
-p 4414:4414
-p 7800:7800
-v iibdata:/var/mqsi
iib:10006
Running an IIB Docker container with MQ and volumes
11 3/29/2017
----------------------------------------
Name: WebSphere MQ
Version: 8.0.0.6
Level: p800-006-170117
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
----------------------------------------
WebSphere MQ queue manager created.
----------------------------------------
WebSphere MQ queue manager 'QMGR1' starting.
AMQ8021: Request to start WebSphere MQ listener accepted.
2 MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
[…]
10 MQSC commands read.
No commands have a syntax error.
All valid MQSC commands were processed.
[…]
Running an IIB Docker container with MQ and volumes
12 3/29/2017
----------------------------------------
Version: '10.0.0.6'
Product: 'IBM Integration Bus'
[…]
----------------------------------------
Starting syslog
----------------------------------------
Node NODE1 does not exist...
Creating node NODE1 with QMGR1 as default queue manager
BIP8071I: Successful command completion.
----------------------------------------
Starting node NODE1
BIP8096I: Successful command initiation, check the system log to ensure that the component started
without problem and that it continues to run without problem.
----------------------------------------
Configuring node NODE1...
BIP1124I: Creating integration server 'server1' on integration node 'NODE1'...
BIP1117I: The integration server was created successfully.
The integration node has initialized the integration server.
BIP8071I: Successful command completion.
[…]
BIP8096I: Successful command initiation, check the system log to ensure that the component started
without problem and that it continues to run without problem.
----------------------------------------
Running -- remove /var/lock/iib-manage.sh.lock to stop
git clone ssh://geleji@$HOSTIP/home/geleji/git/InterConnect2017.git
Building and Deploying a BAR File
• Call shell scripts from within a Dockerfile to perform build tasks in ephemeral containers
• State can be persisted to Docker shared volumes
cd ~
mkdir git
cd git
cd ~/git/InterConnect2017/Docker
ls -al
cd ~/git
xvfb-run mqsicreatebar -data ~/git/InterConnect2017/Docker/
-b ~/git/mqecho.bar -a MQEcho -deployAsSource
mqsideploy NODE1 -e server1 -a ~/git/mqecho.bar -m
13 3/29/2017
14 3/29/2017
Notices and disclaimers
Copyright © 2017 by International Business Machines Corporation (IBM).
No part of this document may be reproduced or transmitted in any form
without written permission from IBM.
U.S. Government Users Restricted Rights — use, duplication or
disclosure restricted by GSA ADP Schedule Contract with IBM.
Information in these presentations (including information relating to
products that have not yet been announced by IBM) has been reviewed
for accuracy as of the date of initial publication and could include
unintentional technical or typographical errors. IBM shall have no
responsibility to update this information. This document is distributed
“as is” without any warranty, either express or implied. In no event
shall IBM be liable for any damage arising from the use of this
information, including but not limited to, loss of data, business
interruption, loss of profit or loss of opportunity. IBM products and
services are warranted according to the terms and conditions of the
agreements under which they are provided.
IBM products are manufactured from new parts or new and used parts.
In some cases, a product may not be new and may have been previously
installed. Regardless, our warranty terms apply.”
Any statements regarding IBM's future direction, intent or product
plans are subject to change or withdrawal without notice.
Performance data contained herein was generally obtained in a
controlled, isolated environments. Customer examples are presented
as illustrations of how those customers have used IBM products and
the results they may have achieved. Actual performance, cost, savings or
other results in other operating environments may vary.
References in this document to IBM products, programs, or services
does not imply that IBM intends to make such products, programs or
services available in all countries in which IBM operates or does
business.
Workshops, sessions and associated materials may have been prepared
by independent session speakers, and do not necessarily reflect the
views of IBM. All materials and discussions are provided for informational
purposes only, and are neither intended to, nor shall constitute legal or
other guidance or advice to any individual participant or their specific
situation.
It is the customer’s responsibility to insure its own compliance with legal
requirements and to obtain advice of competent legal counsel as to
the identification and interpretation of any relevant laws and regulatory
requirements that may affect the customer’s business and any actions
the customer may need to take to comply with such laws. IBM does not
provide legal advice or represent or warrant that its services or products
will ensure that the customer is in compliance with any law.
15 3/29/2017
Notices and disclaimers
continued
Information concerning non-IBM products was obtained from the
suppliers of those products, their published announcements or other
publicly available sources. IBM has not tested those products in
connection with this publication and cannot confirm the accuracy of
performance, compatibility or any other claims related to non-IBM
products. Questions on the capabilities of non-IBM products should be
addressed to the suppliers of those products. IBM does not warrant the
quality of any third-party products, or the ability of any such third-party
products to interoperate with IBM’s products. IBM expressly disclaims
all warranties, expressed or implied, including but not limited to, the
implied warranties of merchantability and fitness for a particular,
purpose.
The provision of the information contained herein is not intended to, and
does not, grant any right or license under any IBM patents, copyrights,
trademarks or other intellectual property right.
IBM, the IBM logo, ibm.com, Aspera®, Bluemix, Blueworks Live, CICS,
Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document
Management System™, FASP®, FileNet®, Global Business Services®,
Global Technology Services®, IBM ExperienceOne™, IBM SmartCloud®,
IBM Social Business®, Information on Demand, ILOG, Maximo®,
MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower,
PureAnalytics™, PureApplication®, pureCluster™, PureCoverage®,
PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®,
PureSystems®, QRadar®, Rational®, Rhapsody®, Smarter Commerce®,
SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli® Trusteer®,
Unica®, urban{code}®, Watson, WebSphere®, Worklight®, X-Force® and
System z® Z/OS, are trademarks of International Business Machines
Corporation, registered in many jurisdictions worldwide. Other product
and service names might be trademarks of IBM or other companies. A
current list of IBM trademarks is available on the Web at "Copyright and
trademark information" at: www.ibm.com/legal/copytrade.shtml.
InterConnect
2017
Thank you!
16 3/29/2017

Más contenido relacionado

La actualidad más candente

Wmq wmb dist migration v1 030310
Wmq wmb dist migration v1 030310Wmq wmb dist migration v1 030310
Wmq wmb dist migration v1 030310
karthickmsit
 

La actualidad más candente (20)

HAM 1032 Combining the Power of IBM API Management and IBM Integration Bus
HAM 1032 Combining the Power of IBM API Management and IBM Integration BusHAM 1032 Combining the Power of IBM API Management and IBM Integration Bus
HAM 1032 Combining the Power of IBM API Management and IBM Integration Bus
 
IBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the CloudIBM InterConnect 2015 - IIB in the Cloud
IBM InterConnect 2015 - IIB in the Cloud
 
Technical Introduction to IBM Integration Bus
Technical Introduction to IBM Integration BusTechnical Introduction to IBM Integration Bus
Technical Introduction to IBM Integration Bus
 
Hia 1689-techinical introduction-to_iib
Hia 1689-techinical introduction-to_iibHia 1689-techinical introduction-to_iib
Hia 1689-techinical introduction-to_iib
 
Developing Integrations for IBM Integration Bus on Cloud
Developing Integrations for IBM Integration Bus on CloudDeveloping Integrations for IBM Integration Bus on Cloud
Developing Integrations for IBM Integration Bus on Cloud
 
Hia 1693-effective application-development_in_iib
Hia 1693-effective application-development_in_iibHia 1693-effective application-development_in_iib
Hia 1693-effective application-development_in_iib
 
Revolutionize the API Economy with IBM WebSphere Connect
Revolutionize the API Economy with IBM WebSphere ConnectRevolutionize the API Economy with IBM WebSphere Connect
Revolutionize the API Economy with IBM WebSphere Connect
 
DevOps & Continuous Test for IIB and IBM MQ
DevOps & Continuous Test for IIB and IBM MQDevOps & Continuous Test for IIB and IBM MQ
DevOps & Continuous Test for IIB and IBM MQ
 
A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix A Deep Dive into the Liberty Buildpack on IBM BlueMix
A Deep Dive into the Liberty Buildpack on IBM BlueMix
 
Iib v10 performance problem determination examples
Iib v10 performance problem determination examplesIib v10 performance problem determination examples
Iib v10 performance problem determination examples
 
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
 
IBM Datapower Gateways - Devops with UrbanCode Deploy
IBM Datapower Gateways - Devops with UrbanCode DeployIBM Datapower Gateways - Devops with UrbanCode Deploy
IBM Datapower Gateways - Devops with UrbanCode Deploy
 
IBM Message Hub: Cloud-Native Messaging
IBM Message Hub: Cloud-Native MessagingIBM Message Hub: Cloud-Native Messaging
IBM Message Hub: Cloud-Native Messaging
 
CICS Transaction Gateway V9.1 Overview
CICS Transaction Gateway V9.1 OverviewCICS Transaction Gateway V9.1 Overview
CICS Transaction Gateway V9.1 Overview
 
Wmq wmb dist migration v1 030310
Wmq wmb dist migration v1 030310Wmq wmb dist migration v1 030310
Wmq wmb dist migration v1 030310
 
SHARE2016: DevOps - IIB Administration for Continuous Delivery and DevOps
SHARE2016:  DevOps - IIB Administration for Continuous Delivery and DevOpsSHARE2016:  DevOps - IIB Administration for Continuous Delivery and DevOps
SHARE2016: DevOps - IIB Administration for Continuous Delivery and DevOps
 
REST and Microservices
REST and MicroservicesREST and Microservices
REST and Microservices
 
1812 icap-v1.3 0430
1812 icap-v1.3 04301812 icap-v1.3 0430
1812 icap-v1.3 0430
 
Deploying to and Configuring WebSphere Application Server with UrbanCode Deploy
Deploying to and Configuring WebSphere Application Server with UrbanCode DeployDeploying to and Configuring WebSphere Application Server with UrbanCode Deploy
Deploying to and Configuring WebSphere Application Server with UrbanCode Deploy
 
TIBCO Latest Interview Questions with Answers by Garuda Trainings
TIBCO Latest Interview Questions with Answers by Garuda TrainingsTIBCO Latest Interview Questions with Answers by Garuda Trainings
TIBCO Latest Interview Questions with Answers by Garuda Trainings
 

Destacado

Destacado (20)

Addressing Systemic Complexity with SOA and Cloud
Addressing Systemic Complexity with SOA and CloudAddressing Systemic Complexity with SOA and Cloud
Addressing Systemic Complexity with SOA and Cloud
 
JBoss Fuse - Fuse workshop Error Handling
JBoss Fuse - Fuse workshop Error HandlingJBoss Fuse - Fuse workshop Error Handling
JBoss Fuse - Fuse workshop Error Handling
 
Improve business process with microservice integration
Improve business process with microservice integration �Improve business process with microservice integration �
Improve business process with microservice integration
 
Mail Client from Traveler to Verse On-Premises
Mail Client from Traveler to Verse On-PremisesMail Client from Traveler to Verse On-Premises
Mail Client from Traveler to Verse On-Premises
 
Riding the Enterprise Integration train
Riding the Enterprise Integration trainRiding the Enterprise Integration train
Riding the Enterprise Integration train
 
3298 microservices and how they relate to esb api and messaging - inter con...
3298   microservices and how they relate to esb api and messaging - inter con...3298   microservices and how they relate to esb api and messaging - inter con...
3298 microservices and how they relate to esb api and messaging - inter con...
 
Service fabric demo
Service fabric demoService fabric demo
Service fabric demo
 
J1 2015 "Building a Microservice Ecosystem: Some Assembly Still Required"
J1 2015 "Building a Microservice Ecosystem: Some Assembly Still Required"J1 2015 "Building a Microservice Ecosystem: Some Assembly Still Required"
J1 2015 "Building a Microservice Ecosystem: Some Assembly Still Required"
 
Webinar - Mobile Apps: Monolithic to Serverless
Webinar - Mobile Apps: Monolithic to ServerlessWebinar - Mobile Apps: Monolithic to Serverless
Webinar - Mobile Apps: Monolithic to Serverless
 
Differentiating between web APIs, SOA, & integration …and why it matters
Differentiating between web APIs, SOA, & integration…and why it mattersDifferentiating between web APIs, SOA, & integration…and why it matters
Differentiating between web APIs, SOA, & integration …and why it matters
 
Pentaho Data Integration Introduction
Pentaho Data Integration IntroductionPentaho Data Integration Introduction
Pentaho Data Integration Introduction
 
Pragmatic approach to Microservice Architecture: Role of Middleware
Pragmatic approach to Microservice Architecture: Role of MiddlewarePragmatic approach to Microservice Architecture: Role of Middleware
Pragmatic approach to Microservice Architecture: Role of Middleware
 
From SOA to MSA
From SOA to MSAFrom SOA to MSA
From SOA to MSA
 
Architecting Microservices in .Net
Architecting Microservices in .NetArchitecting Microservices in .Net
Architecting Microservices in .Net
 
Microservices Best Practices
Microservices Best Practices Microservices Best Practices
Microservices Best Practices
 
A Comprehensive Introduction to Everything SOA
A Comprehensive Introduction to Everything SOAA Comprehensive Introduction to Everything SOA
A Comprehensive Introduction to Everything SOA
 
Application Architecture: The Next Wave | MuleSoft
Application Architecture: The Next Wave | MuleSoftApplication Architecture: The Next Wave | MuleSoft
Application Architecture: The Next Wave | MuleSoft
 
Microservices: Where do they fit within a rapidly evolving integration archit...
Microservices: Where do they fit within a rapidly evolving integration archit...Microservices: Where do they fit within a rapidly evolving integration archit...
Microservices: Where do they fit within a rapidly evolving integration archit...
 
Microservices - Death of the Enterprise Service Bus (ESB)? (Update 2016)
Microservices - Death of the Enterprise Service Bus (ESB)? (Update 2016)Microservices - Death of the Enterprise Service Bus (ESB)? (Update 2016)
Microservices - Death of the Enterprise Service Bus (ESB)? (Update 2016)
 
Microservices Technology Stack
Microservices Technology StackMicroservices Technology Stack
Microservices Technology Stack
 

Similar a Docker and IBM Integration Bus

Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
sflynn073
 

Similar a Docker and IBM Integration Bus (20)

IBM MQ in containers MQTC 2017
IBM MQ in containers MQTC 2017IBM MQ in containers MQTC 2017
IBM MQ in containers MQTC 2017
 
Dockerizing Ruby Applications - The Best Practices
Dockerizing Ruby Applications - The Best PracticesDockerizing Ruby Applications - The Best Practices
Dockerizing Ruby Applications - The Best Practices
 
From dev to prod: Kubernetes on AWS (short ver.)
From dev to prod: Kubernetes on AWS (short ver.)From dev to prod: Kubernetes on AWS (short ver.)
From dev to prod: Kubernetes on AWS (short ver.)
 
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
O'Reilly Software Architecture Conference London 2017: Building Resilient Mic...
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
 
Was liberty profile and docker
Was liberty profile and dockerWas liberty profile and docker
Was liberty profile and docker
 
Docker - Der Wal in der Kiste
Docker - Der Wal in der KisteDocker - Der Wal in der Kiste
Docker - Der Wal in der Kiste
 
WebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and DockerWebSphere Application Server Liberty Profile and Docker
WebSphere Application Server Liberty Profile and Docker
 
JDD2014: Docker.io - versioned linux containers for JVM devops - Dominik Dorn
JDD2014: Docker.io - versioned linux containers for JVM devops - Dominik DornJDD2014: Docker.io - versioned linux containers for JVM devops - Dominik Dorn
JDD2014: Docker.io - versioned linux containers for JVM devops - Dominik Dorn
 
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on ContainersWSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
WSO2ConEU 2016 Tutorial - Deploying WSO2 Middleware on Containers
 
Deploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on ContainersDeploying WSO2 Middleware on Containers
Deploying WSO2 Middleware on Containers
 
Ruby microservices with Docker - Sergii Koba
Ruby microservices with Docker -  Sergii KobaRuby microservices with Docker -  Sergii Koba
Ruby microservices with Docker - Sergii Koba
 
IBM Container Service Overview
IBM Container Service OverviewIBM Container Service Overview
IBM Container Service Overview
 
DCEU 18: Building Your Development Pipeline
DCEU 18: Building Your Development PipelineDCEU 18: Building Your Development Pipeline
DCEU 18: Building Your Development Pipeline
 
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ....docker : How to deploy Digital Experience in a container, drinking a cup of ...
.docker : How to deploy Digital Experience in a container, drinking a cup of ...
 
Docker - Demo on PHP Application deployment
Docker - Demo on PHP Application deployment Docker - Demo on PHP Application deployment
Docker - Demo on PHP Application deployment
 
from Docker to Moby and back. what changed ?
from Docker to Moby and back. what changed ?from Docker to Moby and back. what changed ?
from Docker to Moby and back. what changed ?
 
HPC Cloud Burst Using Docker
HPC Cloud Burst Using DockerHPC Cloud Burst Using Docker
HPC Cloud Burst Using Docker
 
Docker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-ITDocker and Cloud - Enables for DevOps - by ACA-IT
Docker and Cloud - Enables for DevOps - by ACA-IT
 
'DOCKER' & CLOUD: ENABLERS For DEVOPS
'DOCKER' & CLOUD:  ENABLERS For DEVOPS'DOCKER' & CLOUD:  ENABLERS For DEVOPS
'DOCKER' & CLOUD: ENABLERS For DEVOPS
 

Último

%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 

Último (20)

Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
MarTech Trend 2024 Book : Marketing Technology Trends (2024 Edition) How Data...
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdfPayment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
Payment Gateway Testing Simplified_ A Step-by-Step Guide for Beginners.pdf
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT  - Elevating Productivity in Today's Agile EnvironmentHarnessing ChatGPT  - Elevating Productivity in Today's Agile Environment
Harnessing ChatGPT - Elevating Productivity in Today's Agile Environment
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
WSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go PlatformlessWSO2CON2024 - It's time to go Platformless
WSO2CON2024 - It's time to go Platformless
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 

Docker and IBM Integration Bus

  • 1. InterConnect 2017 HHI-2121 Docker and IBM Integration Bus Geza Geleji Development, IBM Integration Bus 1 3/29/2017
  • 2. 2 3/29/2017 Please note IBM’s statements regarding its plans, directions, and intent are subject to change or withdrawal without notice at IBM’s sole discretion. Information regarding potential future products is intended to outline our general product direction and it should not be relied on in making a purchasing decision. The information mentioned regarding potential future products is not a commitment, promise, or legal obligation to deliver any material, code or functionality. Information about potential future products may not be incorporated into any contract. The development, release, and timing of any future features or functionality described for our products remains at our sole discretion. Performance is based on measurements and projections using standard IBM benchmarks in a controlled environment. The actual throughput or performance that any user will experience will vary depending upon many factors, including considerations such as the amount of multiprogramming in the user’s job stream, the I/O configuration, the storage configuration, and the workload processed. Therefore, no assurance can be given that an individual user will achieve results similar to those stated here.
  • 3. IIB Sessions at InterConnect 2017 3 3/29/2017
  • 4. In case slide decks aren’t your thing… ▪ https://developer.ibm.com/integration ▪ Lots of blog entries, regular updates and links to product demo videos! All our recent enablement material is on YouTube. 4 3/29/2017 Async Callable Flow Invoke Nodes https://youtu.be/btFcvdleDMw Running IIB in BlueMix Container Service https://youtu.be/ybGOiPZO3sY IIB and Kibana dashboards https://youtu.be/sCPrT2dHKSs IIB and Hybrid Connect https://youtu.be/gWbxIooq3_g IIB and LDAP https://youtu.be/HrqY9MyfzNs IIB LoopBack Request node https://youtu.be/rUK_OQ5-Anw Using IIB to integrate with MongoDB and Cloudant https://youtu.be/Is1pphngUlM Using IIB for REST, Graphical Mapping & Salesforce https://youtu.be/XIK6QvNSHdY IIB, Kafka and Twilio SMS https://youtu.be/7mCQ_cfGGtU Using Kafka with IIB https://youtu.be/kYv0crxL86Y Consuming REST APIs using the IIB REST Request node https://youtu.be/C_6gPlrCHZQ Easy demo of an IIB App Connect node https://youtu.be/StwPbOiFKzk
  • 5. Virtual Machines Containers “Docker containers wrap a piece of software in a complete filesystem that contains everything needed to run: code, runtime, system tools, system libraries – anything that can be installed on a server. This guarantees that the software will always run the same, regardless of its environment.” docker.com, retrieved 1 Dec 2016 Terminology (from docker.com): • An image is a filesystem and parameters to use at runtime. It doesn’t have state and never changes. • A container is a running instance of an image. • A registry is a storage and content delivery system, holding named Docker images, available in different tagged versions. commoditization and simplification of containers technology tooling (APIs, CLIs, services, training) to help manage the lifecycle of containers What is Docker? 5 3/29/2017
  • 6. Sourcing profile MQSI 10.0.0.6 /opt/ibm/iib-10.0.0.6/server ---------------------------------------- Version: '10.0.0.6' Product: 'IBM Integration Bus' Build Number: '197' IE02 level: 'ie02-L20140415-1143' IB Level: 'ib1000-L160824.197_P' Server level: 'S1000-L160823.10129' Toolkit level:'20160819-1112' [not installed] ---------------------------------------- ---------------------------------------- Node MYNODE does not exist... Creating node MYNODE BIP8071I: Successful command completion. ---------------------------------------- ---------------------------------------- Starting syslog Starting node MYNODE BIP8096I: Successful command initiation, check the system log to ensure that the component started without problem and that it continues to run without problem. ---------------------------------------- ---------------------------------------- Running - stop container to exit At this point, we have an IIB V10 node running! • IBM Integration Bus runs in the background, as it would on bare metal • We run a foreground process (iib_manage.sh) • When this process exits, the container stops • View port mappings: # docker port da975f82a0e2 4414/tcp -> 0.0.0.0:32769 7800/tcp -> 0.0.0.0:32768 • Access it as you would a normal node: • Web administration on mapped port for 4414 • Connect the toolkit • Deploy a HTTP flow and use mapped port 7800 to put some traffic through it • Run mqsi commands against it: docker exec da975f82a0e2 /bin/bash -c mqsilist • Access the syslog: docker exec da975f82a0e2 tail -f /var/log/syslog Running an IIB Docker container # docker run --name myNode -e LICENSE=accept -e NODENAME=MYNODE -P iibdemo # docker build -t iibdemo . https://github.com/ot4i/iib-docker 6 3/29/2017
  • 7. FROM ubuntu:14.04 # [...] # Install IIB V10 Developer edition RUN mkdir /opt/ibm && curl http://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/integration/10.0.0.6- IIB-LINUX64-DEVELOPER.tar.gz | tar zx --exclude iib-10.0.0.6/tools --directory /opt/ibm && /opt/ibm/iib-10.0.0.6/iib make registry global accept license silently # [...] # Expose default admin port and http port EXPOSE 4414 7800 USER iibuser # Set entry point to run management script ENTRYPOINT ["iib_manage.sh"] Building an IIB Docker Image https://github.com/ot4i/iib-docker 7 3/29/2017
  • 8. • Add your own, local product binaries • Expose more ports/explicit ports using “-p” • Manage state using volumes https://docs.docker.com/engine/userguide/containers/dockervolumes/ • Add in your own monitoring • Run in the cloud! E.g. on IBM containers: https://developer.ibm.com/integration/blog/2016/11/18/run-ibm- integration-bus-in-bluemix-in-3-easy-steps/ • Use pre-built IIB images hosted in BlueMix • Run as a hosted container with monitoring and access to other BlueMix services – e.g. monitoring, logging, alerting, service discovery IIB V10 on Docker supported in production http://www-969.ibm.com/software/reports/compatibility/clarity- reports/report/html/softwareReqsForProduct?deliverableId=137 6392102308&osPlatform=Linux • Linux kernel 3.10 or above • Image OS must be supported for IIB • Must be able to run mqsi commands and access syslog Futures • Prebuilt images on IBM Containers • V10 only • V10 and MQ Server • V10 and MQ Client • More examples on the community • Dockerfile shipped with the product • Prebuilt images on DockerHub Add MQ to your image https://github.com/ibm-messaging/mq-docker • MQ V8 is supported in Docker • Build an MQ image • Build your IIB image “FROM” the MQ one to use a default queue manager Extensibility 8 3/29/2017
  • 9. HOSTIP=`ip route show 0.0.0.0/0 | grep -Eo 'via S+' | awk '{ print $2 }'` IIBIMAGEPATH="/media/cdrom" IIBTAG="iib-10.0.0.7" IIBIMAGE="${IIBTAG}.tar.gz" cd /tmp scp ${SSHUSER}@${HOSTIP}:${IIBIMAGEPATH}/${IIBIMAGE} . Building an IIB Docker Image From an Existing Runtime Archive • In order to avoid creating unnecessary filesystem layers, we use SSH within a shell script to download an image from within the local network COPY *.sh *.mqsc id.rsa host.key /tmp/ # set up SSH access for root mkdir -m 700 ~/.ssh cat /tmp/host.key | sed s/localhost/${HOSTIP}/ >> ~/.ssh/known_hosts mv /tmp/id.rsa ~/.ssh/id_rsa chmod 644 ~/.ssh/known_hosts chmod 600 ~/.ssh/id_rsa rm -rf /tmp/host.key 9 3/29/2017
  • 10. REPOSITORY TAG IMAGE ID CREATED SIZE iibtk 10007 686ab9d1f704 About an hour ago 3.58 GB iib 10006 86d5a78d95d3 9 days ago 2.68 GB iib 10007 3e727e7c136b 2 weeks ago 2.69 GB mq 8006 6013fa8e3e54 2 weeks ago 1.75 GB mq 8002 cad6d603d50a 2 weeks ago 799 MB ubuntu 14.04 b969ab9f929b 7 weeks ago 188 MB Running an IIB Docker Container ubuntu:14.04 mq:8002 mq:8006 iib:10007 iib:10006 iibtk:10007 10 3/29/2017
  • 11. docker run --name myNode -e LICENSE=accept -e QMGRNAME=QMGR1 -p 1414:1414 -v mqdata:/var/mqm -e NODENAME=NODE1 -e SVRNAME=server1 -p 4414:4414 -p 7800:7800 -v iibdata:/var/mqsi iib:10006 Running an IIB Docker container with MQ and volumes 11 3/29/2017 ---------------------------------------- Name: WebSphere MQ Version: 8.0.0.6 Level: p800-006-170117 BuildType: IKAP - (Production) Platform: WebSphere MQ for Linux (x86-64 platform) ---------------------------------------- WebSphere MQ queue manager created. ---------------------------------------- WebSphere MQ queue manager 'QMGR1' starting. AMQ8021: Request to start WebSphere MQ listener accepted. 2 MQSC commands read. No commands have a syntax error. All valid MQSC commands were processed. […] 10 MQSC commands read. No commands have a syntax error. All valid MQSC commands were processed. […]
  • 12. Running an IIB Docker container with MQ and volumes 12 3/29/2017 ---------------------------------------- Version: '10.0.0.6' Product: 'IBM Integration Bus' […] ---------------------------------------- Starting syslog ---------------------------------------- Node NODE1 does not exist... Creating node NODE1 with QMGR1 as default queue manager BIP8071I: Successful command completion. ---------------------------------------- Starting node NODE1 BIP8096I: Successful command initiation, check the system log to ensure that the component started without problem and that it continues to run without problem. ---------------------------------------- Configuring node NODE1... BIP1124I: Creating integration server 'server1' on integration node 'NODE1'... BIP1117I: The integration server was created successfully. The integration node has initialized the integration server. BIP8071I: Successful command completion. […] BIP8096I: Successful command initiation, check the system log to ensure that the component started without problem and that it continues to run without problem. ---------------------------------------- Running -- remove /var/lock/iib-manage.sh.lock to stop
  • 13. git clone ssh://geleji@$HOSTIP/home/geleji/git/InterConnect2017.git Building and Deploying a BAR File • Call shell scripts from within a Dockerfile to perform build tasks in ephemeral containers • State can be persisted to Docker shared volumes cd ~ mkdir git cd git cd ~/git/InterConnect2017/Docker ls -al cd ~/git xvfb-run mqsicreatebar -data ~/git/InterConnect2017/Docker/ -b ~/git/mqecho.bar -a MQEcho -deployAsSource mqsideploy NODE1 -e server1 -a ~/git/mqecho.bar -m 13 3/29/2017
  • 14. 14 3/29/2017 Notices and disclaimers Copyright © 2017 by International Business Machines Corporation (IBM). No part of this document may be reproduced or transmitted in any form without written permission from IBM. U.S. Government Users Restricted Rights — use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM. Information in these presentations (including information relating to products that have not yet been announced by IBM) has been reviewed for accuracy as of the date of initial publication and could include unintentional technical or typographical errors. IBM shall have no responsibility to update this information. This document is distributed “as is” without any warranty, either express or implied. In no event shall IBM be liable for any damage arising from the use of this information, including but not limited to, loss of data, business interruption, loss of profit or loss of opportunity. IBM products and services are warranted according to the terms and conditions of the agreements under which they are provided. IBM products are manufactured from new parts or new and used parts. In some cases, a product may not be new and may have been previously installed. Regardless, our warranty terms apply.” Any statements regarding IBM's future direction, intent or product plans are subject to change or withdrawal without notice. Performance data contained herein was generally obtained in a controlled, isolated environments. Customer examples are presented as illustrations of how those customers have used IBM products and the results they may have achieved. Actual performance, cost, savings or other results in other operating environments may vary. References in this document to IBM products, programs, or services does not imply that IBM intends to make such products, programs or services available in all countries in which IBM operates or does business. Workshops, sessions and associated materials may have been prepared by independent session speakers, and do not necessarily reflect the views of IBM. All materials and discussions are provided for informational purposes only, and are neither intended to, nor shall constitute legal or other guidance or advice to any individual participant or their specific situation. It is the customer’s responsibility to insure its own compliance with legal requirements and to obtain advice of competent legal counsel as to the identification and interpretation of any relevant laws and regulatory requirements that may affect the customer’s business and any actions the customer may need to take to comply with such laws. IBM does not provide legal advice or represent or warrant that its services or products will ensure that the customer is in compliance with any law.
  • 15. 15 3/29/2017 Notices and disclaimers continued Information concerning non-IBM products was obtained from the suppliers of those products, their published announcements or other publicly available sources. IBM has not tested those products in connection with this publication and cannot confirm the accuracy of performance, compatibility or any other claims related to non-IBM products. Questions on the capabilities of non-IBM products should be addressed to the suppliers of those products. IBM does not warrant the quality of any third-party products, or the ability of any such third-party products to interoperate with IBM’s products. IBM expressly disclaims all warranties, expressed or implied, including but not limited to, the implied warranties of merchantability and fitness for a particular, purpose. The provision of the information contained herein is not intended to, and does not, grant any right or license under any IBM patents, copyrights, trademarks or other intellectual property right. IBM, the IBM logo, ibm.com, Aspera®, Bluemix, Blueworks Live, CICS, Clearcase, Cognos®, DOORS®, Emptoris®, Enterprise Document Management System™, FASP®, FileNet®, Global Business Services®, Global Technology Services®, IBM ExperienceOne™, IBM SmartCloud®, IBM Social Business®, Information on Demand, ILOG, Maximo®, MQIntegrator®, MQSeries®, Netcool®, OMEGAMON, OpenPower, PureAnalytics™, PureApplication®, pureCluster™, PureCoverage®, PureData®, PureExperience®, PureFlex®, pureQuery®, pureScale®, PureSystems®, QRadar®, Rational®, Rhapsody®, Smarter Commerce®, SoDA, SPSS, Sterling Commerce®, StoredIQ, Tealeaf®, Tivoli® Trusteer®, Unica®, urban{code}®, Watson, WebSphere®, Worklight®, X-Force® and System z® Z/OS, are trademarks of International Business Machines Corporation, registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at: www.ibm.com/legal/copytrade.shtml.