SlideShare ist ein Scribd-Unternehmen logo
1 von 46
Deploying FuseMQ in enterprise using Fuse
Fabric




Dejan Bosanac
FuseSource


1   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Presenter: Dejan Bosanac


     Senior Software Engineer at FuseSource -
      http://fusesource.com
     Apache ActiveMQ committer and PMC member
     Co-author of ActiveMQ in Action
     Blog:
       • http://www.nighttale.net/


     Twitter:
       • http://twitter.com/dejanb




2      © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Agenda




     Problems of large enterprise deployments
     Fuse Fabric in nutshell
     FuseMQ and Fuse Fabric
       • Creating brokers
       • Connecting
       • Topologies
     Fuse Management Console




3      © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Problems of large deployments




                                                              Integrate Everything
4   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Problems – Deploying and maintenance



     Main problems
       • Installing brokers on multiple hosts
                       o ssh, untar, set directories and environment
       • Setting configuration manually for every broker
                       o copying xml config, tweaking, testing
       • Updating configuration across cluster
       • Upgrading brokers




           It’s very tedious and error-prone process


5     © 2012 FuseSource Corp. All rights reserved.                     FuseSource Confidential
Problems – Traditional best-practice tips



     Keep XML as a template and configure node-specific
      details through properties
     Keep configuration in SVC system (git, svn, ...)
     Keep configuration separate from installation for easier
      upgrades



    Deployment with Fuse Fabric moves it to the next level



6      © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Problems - Clients



       Topology is very “static”
       Clients need to be aware of topology
       Clients need to know broker locations
       Changes are not easy as clients need to be updated
       Adding new resources (brokers) requires client updates
       Not suitable for “cloud” deployments


            Fuse Fabric makes deployments more “elastic”


7       © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Fuse Fabric in a nutshell




                                                              Integrate Everything
8   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Fuse Fabric in a nutshell


     How Fabric can help?

       • It provides centralized distributed broker configuration
       • It provides centralized distributed broker registry
       • Uses OSGi and Apache Karaf for easy spawning new broker
         instances
       • It provides additional tools for centralized configuration and
         monitoring (Fuse Management Console)




9      © 2012 FuseSource Corp. All rights reserved.      FuseSource Confidential
Fuse Fabric in a nutshell


  Installation
     • Features and bundle versions centrally stored and managed
     • Easy installation and upgrade
  Configuration
     • Stored in one place
     • Versioned
  Discovery
     • All brokers registered in central registry
     • Allows clients to connect without knowing broker locations
     • Allows easy creation of advanced topologies




10   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Fuse Fabric Architecture


  Zookeeper



     •    Replicated in-memory tree
     •    Similar to file system
     •    Highly-available
     •    Distributed
     •    Support network split
     •    Proven track record


     Ideal for distributed configuration and locking


11   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Fuse Fabric Architecture


  Containers
     • Apache Karaf instances provisioned through central registry (Zookeeper)




12   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Fuse Fabric Architecture


  Profiles:

     • Zookeeper nodes with conventional names
     • OSGi configuration for the node (so we know what features and
       bundles should be used)
     • Other configuration (centralized broker configuration)
     • Versioned




13   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Fuse Fabric - Profile

 FuseFabric:karaf@root> profile-display default
 Profile id: default
 Version : 1.0
 Parents :
 Associated Containers :

 Container settings
 ----------------------------
 Repositories :
                mvn:org.fusesource.fabric/fuse-fabric/7.0-SNAPSHOT/xml/features

 Features :
               fabric-agent
               karaf
               fabric-jaas
               fabric-core




14    © 2012 FuseSource Corp. All rights reserved.                    FuseSource Confidential
Fuse Fabric - Profile

 Agent Properties :
             org.ops4j.pax.url.mvn.repositories =
           http://repo1.maven.org/maven2,
           http://repo.fusesource.com/nexus/content/repositories/releases,
           http://repo.fusesource.com/nexus/content/groups/ea,
           http://repository.springsource.com/maven/bundles/release,
           http://repository.springsource.com/maven/bundles/external,
           http://scala-tools.org/repo-releases
             org.ops4j.pax.url.mvn.defaultRepositories =
           file:${karaf.home}/${karaf.default.repository}@snapshots,
           file:${karaf.home}/local-repo@snapshots



 Configuration details
 ----------------------------
 PID: org.fusesource.fabric.zookeeper
   zookeeper.url ${zk:root/ip}:2181




15    © 2012 FuseSource Corp. All rights reserved.                   FuseSource Confidential
FuseMQ and Fuse Fabric




                                                               Integrate Everything
16   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
FuseMQ features



  mq-base profile
     • Defines OSGi features and bundles to be installed
     • Defines basic broker settings
  mq-create command
     •    Helper command for creating brokers
     •    Creates an new profile based on mq-base
     •    Optionally creates new containers
     •    Assigns the profile to containers (essentially starts the broker)




17   © 2012 FuseSource Corp. All rights reserved.         FuseSource Confidential
MQ – Creating broker

FuseFabric:karaf@root> mq-create --create-container broker1 fusebroker
MQ profile fusebroker ready
Successfully created container broker1




18     © 2012 FuseSource Corp. All rights reserved.                 FuseSource Confidential
MQ Profile



     FuseFabric:karaf@root> profile-display fusebroker
     Profile id: fusebroker
     Version : 1.0
     Parents : mq-base
     Associated Containers : broker1

     Configuration details
     ----------------------------
     PID: org.fusesource.mq.fabric.server-fusebroker
       standby.pool default
       connectors openwire
       broker-name fusebroker
       data data/fusebroker
       config zk:/fabric/configs/versions/1.0/profiles/mq-base/broker.xml
       group default




19       © 2012 FuseSource Corp. All rights reserved.                       FuseSource Confidential
MQ – Assigning profile




 FuseFabric:karaf@root> container-create-ssh --host 192.168.1.106
 --user dejanb --password xxx broker1




 FuseFabric:karaf@root> mq-create --assign-container broker1 fusebroker
 MQ profile fusebroker ready
 Profile successfully assigned to broker1




20    © 2012 FuseSource Corp. All rights reserved.                  FuseSource Confidential
MQ - Benefits



  What did we achieve with this?

     • We can easily create new brokers with the same profiles
     • We can create new profile version with updated broker version
       and/or changed configuration
     • We can easily update all (or some) brokers by applying the new
       profile




21   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
MQ Profile - Management




  Create a new profile version
     • with upgraded bundles
     • and configuration changes
    Try it out on a non-production container
    Deploy to one or a few production containers
    Roll the full upgrade
    Easy rollback if anything goes wrong




22   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Broker Registry




                                                               Integrate Everything
23   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Broker Registry


  Brokers are organized in groups (clusters)
     • Cluster can have any number of brokers (with different names)
     • Put in “default” group if not specified




24   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Connecting to the Broker




  Clients need to have ZooKeeper URL
  There is a new discovery protocol (called fabric)
  Connecting is as easy as defining the group




25   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Connecting - Factory


 ActiveMQConnectionFactory factory =
       new ActiveMQConnectionFactory(“discovery:(fabric:default)”);




26    © 2012 FuseSource Corp. All rights reserved.               FuseSource Confidential
Connecting - Reconnecting



  Clients don’t need to know brokers location
  Works like a failover transport
  Supports options for tuning reconnecting options


discovery:(fabric:default)?reconnectDelay=1000&useExponentialBackOff=false




27   © 2012 FuseSource Corp. All rights reserved.                 FuseSource Confidential
Connecting - Camel




 <camelContext xmlns="http://camel.apache.org/schema/spring">
           <!– Do your magic here -->
 </camelContext>

 <bean id="activemq"
   class="org.apache.activemq.camel.component.ActiveMQComponent">
   <property name="brokerURL" value=”discovery:(fabric:discovery)"/>
 </bean>




28    © 2012 FuseSource Corp. All rights reserved.               FuseSource Confidential
Topologies




                                                               Integrate Everything
29   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Master/Slave



  Create master slave configuration by starting multiple
   brokers with the same name (in the same group)
     •    First one stared becomes a master
     •    Everyone else is a slave
     •    Locked on Zookeeper node
     •    When master dies, a first slave to get a lock becomes next master




30   © 2012 FuseSource Corp. All rights reserved.       FuseSource Confidential
Master/Slave

 FuseFabric:karaf@root> mq-create --create-container broker1 fusebroker

 FuseFabric:karaf@root> mq-create --create-container broker2 fusebroker




31    © 2012 FuseSource Corp. All rights reserved.                  FuseSource Confidential
Master/Slave




  No more relying on shared storage locking
  You’ll still need shared storage for preserving the state
   among brokers
  Easy creating non-persistent master slave configurations
  Clients again don’t need to know topology as fabric
   discovery will do that work




32   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Master/Slave


  Multiple master slave over the same containers
     • Resource utilization
     mq-create --create-container broker1,broker2,broker3 hq-broker
     mq-create --assign-container broker1,broker2,broker3 web-broker




33   © 2012 FuseSource Corp. All rights reserved.                  FuseSource Confidential
Networks


  Controlled through profile
  Uses fabric discovery, just as clients
mq-create --group us-east --networks us-west --create-container us-east1,us-east2 us-east

mq-create --group us-west --networks us-east --create-container us-west1,us-west2 us-west




34     © 2012 FuseSource Corp. All rights reserved.                              FuseSource Confidential
Elastic clusters




    Request-reply pattern over JMS
    Load Balance Traffic
    Non-persistent, not-connected brokers
    Elastic cluster
     • Allow adding new brokers, without updating clients
     • Allow rebalancing of clients




35   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Elastic clusters


     mq-create --create-container broker1 broker1
     mq-create --create-container broker2 broker2
     mq-create --create-container broker3 broker3




36   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Tooling




37   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Fuse Management Console



    Centralized Unified Console
    Web UI for managing and monitoring infrastructure
    Uses Fabric to discover resources
    Features
     •    Container Management
     •    Profile Management
     •    Centralized Security
     •    Centralized Monitoring




38   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
FMC – containers




39   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
FMC – Container




40   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
FMC – broker view




41   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
FMC - Profiles




42   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
FMC - Profile




43   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Future



  More things for developers
     • Make it even easier to write applications for Fuse Enterprise



  More things for operations
     • Visualization of clusters
     • Centralized logging (collect and search all logs centrally)




44   © 2012 FuseSource Corp. All rights reserved.       FuseSource Confidential
Conclusion



  Helps with complex and large deployments
  Use central registry for distributed configuration and
   locking
  Make clients location agnostic of brokers (needed for
   cloud deployments)
  Easy upgrades and updates
  Support for incremental patching
  Tools




45   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential
Questions




                                                               Integrate Everything
46   © 2012 FuseSource Corp. All rights reserved.   FuseSource Confidential

Weitere ähnliche Inhalte

Was ist angesagt?

WebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs TomcatWebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs TomcatWASdev Community
 
Apache Karaf - Building OSGi applications on Apache Karaf - T Frank & A Grzesik
Apache Karaf - Building OSGi applications on Apache Karaf - T Frank & A GrzesikApache Karaf - Building OSGi applications on Apache Karaf - T Frank & A Grzesik
Apache Karaf - Building OSGi applications on Apache Karaf - T Frank & A Grzesikmfrancis
 
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010Adrian Trenaman
 
ApacheCon EU 2014: Enterprise Development with Apache Karaf
ApacheCon EU 2014: Enterprise Development with Apache KarafApacheCon EU 2014: Enterprise Development with Apache Karaf
ApacheCon EU 2014: Enterprise Development with Apache KarafAchim Nierbeck
 
IBM Impact session CICS & java a tale of liberty
IBM Impact session CICS & java a tale of libertyIBM Impact session CICS & java a tale of liberty
IBM Impact session CICS & java a tale of libertynick_garrod
 
IBM WebSphere application server
IBM WebSphere application serverIBM WebSphere application server
IBM WebSphere application serverIBM Sverige
 
JBoss AS7 Overview
JBoss AS7 OverviewJBoss AS7 Overview
JBoss AS7 OverviewJBug Italy
 
VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2Vepsun Technologies
 
WAS vs JBoss, WebLogic, Tomcat (year 2015)
WAS vs JBoss, WebLogic, Tomcat (year 2015)WAS vs JBoss, WebLogic, Tomcat (year 2015)
WAS vs JBoss, WebLogic, Tomcat (year 2015)Roman Kharkovski
 
Managing Change
Managing ChangeManaging Change
Managing ChangeMirko Jahn
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesChris Bailey
 
WebSphere Application Server JBoss TCO analysis
WebSphere Application Server JBoss TCO analysisWebSphere Application Server JBoss TCO analysis
WebSphere Application Server JBoss TCO analysisShetal Patel
 
GlassFish in Production Environments
GlassFish in Production EnvironmentsGlassFish in Production Environments
GlassFish in Production EnvironmentsBruno Borges
 
JBoss Fuse Workshop 101 part 5
JBoss Fuse Workshop 101 part 5JBoss Fuse Workshop 101 part 5
JBoss Fuse Workshop 101 part 5Christina Lin
 
Large Scale Migration from WebLogic to JBoss
Large Scale Migration from WebLogic to JBossLarge Scale Migration from WebLogic to JBoss
Large Scale Migration from WebLogic to JBossC2B2 Consulting
 
Concierge - Bringing OSGi (back) to Embedded Devices
Concierge - Bringing OSGi (back) to Embedded DevicesConcierge - Bringing OSGi (back) to Embedded Devices
Concierge - Bringing OSGi (back) to Embedded DevicesJan S. Rellermeyer
 

Was ist angesagt? (20)

WebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs TomcatWebSphere App Server vs JBoss vs WebLogic vs Tomcat
WebSphere App Server vs JBoss vs WebLogic vs Tomcat
 
Apache Karaf - Building OSGi applications on Apache Karaf - T Frank & A Grzesik
Apache Karaf - Building OSGi applications on Apache Karaf - T Frank & A GrzesikApache Karaf - Building OSGi applications on Apache Karaf - T Frank & A Grzesik
Apache Karaf - Building OSGi applications on Apache Karaf - T Frank & A Grzesik
 
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
OSGi for real in the enterprise: Apache Karaf - NLJUG J-FALL 2010
 
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško VukmanovićJavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
JavaCro'14 - WebLogic-GlassFish-JaaS Strategy and Roadmap – Duško Vukmanović
 
ApacheCon EU 2014: Enterprise Development with Apache Karaf
ApacheCon EU 2014: Enterprise Development with Apache KarafApacheCon EU 2014: Enterprise Development with Apache Karaf
ApacheCon EU 2014: Enterprise Development with Apache Karaf
 
OSGi & Blueprint
OSGi & BlueprintOSGi & Blueprint
OSGi & Blueprint
 
IBM Impact session CICS & java a tale of liberty
IBM Impact session CICS & java a tale of libertyIBM Impact session CICS & java a tale of liberty
IBM Impact session CICS & java a tale of liberty
 
IBM WebSphere application server
IBM WebSphere application serverIBM WebSphere application server
IBM WebSphere application server
 
JBoss AS7 Overview
JBoss AS7 OverviewJBoss AS7 Overview
JBoss AS7 Overview
 
VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2VMware Advance Troubleshooting Workshop - Day 2
VMware Advance Troubleshooting Workshop - Day 2
 
WAS vs JBoss, WebLogic, Tomcat (year 2015)
WAS vs JBoss, WebLogic, Tomcat (year 2015)WAS vs JBoss, WebLogic, Tomcat (year 2015)
WAS vs JBoss, WebLogic, Tomcat (year 2015)
 
Managing Change
Managing ChangeManaging Change
Managing Change
 
WebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination FeaturesWebSphere Technical University: Top WebSphere Problem Determination Features
WebSphere Technical University: Top WebSphere Problem Determination Features
 
WebSphere Application Server JBoss TCO analysis
WebSphere Application Server JBoss TCO analysisWebSphere Application Server JBoss TCO analysis
WebSphere Application Server JBoss TCO analysis
 
GlassFish in Production Environments
GlassFish in Production EnvironmentsGlassFish in Production Environments
GlassFish in Production Environments
 
JBoss AS 7
JBoss AS 7JBoss AS 7
JBoss AS 7
 
JBoss Fuse Workshop 101 part 5
JBoss Fuse Workshop 101 part 5JBoss Fuse Workshop 101 part 5
JBoss Fuse Workshop 101 part 5
 
Large Scale Migration from WebLogic to JBoss
Large Scale Migration from WebLogic to JBossLarge Scale Migration from WebLogic to JBoss
Large Scale Migration from WebLogic to JBoss
 
Ausoug glassfish perth
Ausoug glassfish perthAusoug glassfish perth
Ausoug glassfish perth
 
Concierge - Bringing OSGi (back) to Embedded Devices
Concierge - Bringing OSGi (back) to Embedded DevicesConcierge - Bringing OSGi (back) to Embedded Devices
Concierge - Bringing OSGi (back) to Embedded Devices
 

Ähnlich wie Deploying FuseMQ with Fuse Fabric

OSGi made simple - Fuse Application Bundles
OSGi made simple - Fuse Application BundlesOSGi made simple - Fuse Application Bundles
OSGi made simple - Fuse Application BundlesRob Davies
 
2014 OpenSuse Conf: Protect your MySQL Server
2014 OpenSuse Conf: Protect your MySQL Server2014 OpenSuse Conf: Protect your MySQL Server
2014 OpenSuse Conf: Protect your MySQL ServerGeorgi Kodinov
 
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...MongoDB
 
Vsicm51 m02 virtualization_intro_
Vsicm51 m02 virtualization_intro_Vsicm51 m02 virtualization_intro_
Vsicm51 m02 virtualization_intro_VCAP5_wordpress
 
Cisco Data Center Orchestration Solution
Cisco Data Center Orchestration SolutionCisco Data Center Orchestration Solution
Cisco Data Center Orchestration SolutionCisco Canada
 
Presentation v mware v-cloud director technical overview
Presentation   v mware v-cloud director technical overviewPresentation   v mware v-cloud director technical overview
Presentation v mware v-cloud director technical overviewsolarisyourep
 
CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014Hortonworks
 
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...Jitendra Bafna
 
Get Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryGet Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryLucinda Davidson
 
Building microservice for api with helidon and cicd pipeline
Building microservice for api with helidon and cicd pipelineBuilding microservice for api with helidon and cicd pipeline
Building microservice for api with helidon and cicd pipelineDonghuKIM2
 
Mulesoftmeetup Thiruvanathapuram #4
Mulesoftmeetup Thiruvanathapuram #4Mulesoftmeetup Thiruvanathapuram #4
Mulesoftmeetup Thiruvanathapuram #4Anurag Dwivedi
 
Presentation deploying oracle database 11g securely on oracle solaris
Presentation    deploying oracle database 11g securely on oracle solarisPresentation    deploying oracle database 11g securely on oracle solaris
Presentation deploying oracle database 11g securely on oracle solarisxKinAnx
 
Creating Secure Applications
Creating Secure Applications Creating Secure Applications
Creating Secure Applications guest879f38
 
Building and Customizing CoreOS
Building and Customizing CoreOSBuilding and Customizing CoreOS
Building and Customizing CoreOS雄也 日下部
 
How to build a cloud adapter
How to build a cloud adapterHow to build a cloud adapter
How to build a cloud adapterMaarten Smeets
 

Ähnlich wie Deploying FuseMQ with Fuse Fabric (20)

OSGi made simple - Fuse Application Bundles
OSGi made simple - Fuse Application BundlesOSGi made simple - Fuse Application Bundles
OSGi made simple - Fuse Application Bundles
 
2014 OpenSuse Conf: Protect your MySQL Server
2014 OpenSuse Conf: Protect your MySQL Server2014 OpenSuse Conf: Protect your MySQL Server
2014 OpenSuse Conf: Protect your MySQL Server
 
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
Securing MongoDB to Serve an AWS-Based, Multi-Tenant, Security-Fanatic SaaS A...
 
VMware
VMwareVMware
VMware
 
Vsicm51 m02 virtualization_intro_
Vsicm51 m02 virtualization_intro_Vsicm51 m02 virtualization_intro_
Vsicm51 m02 virtualization_intro_
 
Cisco Data Center Orchestration Solution
Cisco Data Center Orchestration SolutionCisco Data Center Orchestration Solution
Cisco Data Center Orchestration Solution
 
Presentation v mware v-cloud director technical overview
Presentation   v mware v-cloud director technical overviewPresentation   v mware v-cloud director technical overview
Presentation v mware v-cloud director technical overview
 
CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014
 
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
MuleSoft Surat Virtual Meetup#35 - Setting up MuleSoft Runtime and Anypoint C...
 
Cf intro aug_2012_raja
Cf intro aug_2012_rajaCf intro aug_2012_raja
Cf intro aug_2012_raja
 
Get Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud FoundryGet Started on Platform as a Service: Learn Cloud Foundry
Get Started on Platform as a Service: Learn Cloud Foundry
 
Building microservice for api with helidon and cicd pipeline
Building microservice for api with helidon and cicd pipelineBuilding microservice for api with helidon and cicd pipeline
Building microservice for api with helidon and cicd pipeline
 
How to configure esx to pass an audit
How to configure esx to pass an auditHow to configure esx to pass an audit
How to configure esx to pass an audit
 
Mulesoftmeetup Thiruvanathapuram #4
Mulesoftmeetup Thiruvanathapuram #4Mulesoftmeetup Thiruvanathapuram #4
Mulesoftmeetup Thiruvanathapuram #4
 
Presentation deploying oracle database 11g securely on oracle solaris
Presentation    deploying oracle database 11g securely on oracle solarisPresentation    deploying oracle database 11g securely on oracle solaris
Presentation deploying oracle database 11g securely on oracle solaris
 
Creating Secure Applications
Creating Secure Applications Creating Secure Applications
Creating Secure Applications
 
Building and Customizing CoreOS
Building and Customizing CoreOSBuilding and Customizing CoreOS
Building and Customizing CoreOS
 
How to build a cloud adapter
How to build a cloud adapterHow to build a cloud adapter
How to build a cloud adapter
 
How to build a Oracle cloud adapter SOA, Integration & API's
How to build a Oracle cloud adapter  SOA, Integration & API'sHow to build a Oracle cloud adapter  SOA, Integration & API's
How to build a Oracle cloud adapter SOA, Integration & API's
 
2014 cf summit_clustering
2014 cf summit_clustering2014 cf summit_clustering
2014 cf summit_clustering
 

Mehr von dejanb

How is this sausage made
How is this sausage madeHow is this sausage made
How is this sausage madedejanb
 
Messaging for the cloud
Messaging for the cloudMessaging for the cloud
Messaging for the clouddejanb
 
Scaling out eclipse hono
Scaling out eclipse honoScaling out eclipse hono
Scaling out eclipse honodejanb
 
Building Open Source IoT Cloud
Building Open Source IoT CloudBuilding Open Source IoT Cloud
Building Open Source IoT Clouddejanb
 
Messaging for IoT
Messaging for IoTMessaging for IoT
Messaging for IoTdejanb
 
Advanced messaging with Apache ActiveMQ
Advanced messaging with Apache ActiveMQAdvanced messaging with Apache ActiveMQ
Advanced messaging with Apache ActiveMQdejanb
 
Apache ActiveMQ - Enterprise messaging in action
Apache ActiveMQ - Enterprise messaging in actionApache ActiveMQ - Enterprise messaging in action
Apache ActiveMQ - Enterprise messaging in actiondejanb
 

Mehr von dejanb (7)

How is this sausage made
How is this sausage madeHow is this sausage made
How is this sausage made
 
Messaging for the cloud
Messaging for the cloudMessaging for the cloud
Messaging for the cloud
 
Scaling out eclipse hono
Scaling out eclipse honoScaling out eclipse hono
Scaling out eclipse hono
 
Building Open Source IoT Cloud
Building Open Source IoT CloudBuilding Open Source IoT Cloud
Building Open Source IoT Cloud
 
Messaging for IoT
Messaging for IoTMessaging for IoT
Messaging for IoT
 
Advanced messaging with Apache ActiveMQ
Advanced messaging with Apache ActiveMQAdvanced messaging with Apache ActiveMQ
Advanced messaging with Apache ActiveMQ
 
Apache ActiveMQ - Enterprise messaging in action
Apache ActiveMQ - Enterprise messaging in actionApache ActiveMQ - Enterprise messaging in action
Apache ActiveMQ - Enterprise messaging in action
 

Kürzlich hochgeladen

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfpanagenda
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...itnewsafrica
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Hiroshi SHIBATA
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkPixlogix Infotech
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024TopCSSGallery
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...Wes McKinney
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Nikki Chapple
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Strongerpanagenda
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationKnoldus Inc.
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observabilityitnewsafrica
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesManik S Magar
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 

Kürzlich hochgeladen (20)

So einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdfSo einfach geht modernes Roaming fuer Notes und Nomad.pdf
So einfach geht modernes Roaming fuer Notes und Nomad.pdf
 
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...Zeshan Sattar- Assessing the skill requirements and industry expectations for...
Zeshan Sattar- Assessing the skill requirements and industry expectations for...
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024Long journey of Ruby standard library at RubyConf AU 2024
Long journey of Ruby standard library at RubyConf AU 2024
 
React Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App FrameworkReact Native vs Ionic - The Best Mobile App Framework
React Native vs Ionic - The Best Mobile App Framework
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024Top 10 Hubspot Development Companies in 2024
Top 10 Hubspot Development Companies in 2024
 
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
The Future Roadmap for the Composable Data Stack - Wes McKinney - Data Counci...
 
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
Microsoft 365 Copilot: How to boost your productivity with AI – Part one: Ado...
 
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better StrongerModern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
Modern Roaming for Notes and Nomad – Cheaper Faster Better Stronger
 
Data governance with Unity Catalog Presentation
Data governance with Unity Catalog PresentationData governance with Unity Catalog Presentation
Data governance with Unity Catalog Presentation
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security ObservabilityGlenn Lazarus- Why Your Observability Strategy Needs Security Observability
Glenn Lazarus- Why Your Observability Strategy Needs Security Observability
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotesMuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
MuleSoft Online Meetup Group - B2B Crash Course: Release SparkNotes
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 

Deploying FuseMQ with Fuse Fabric

  • 1. Deploying FuseMQ in enterprise using Fuse Fabric Dejan Bosanac FuseSource 1 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 2. Presenter: Dejan Bosanac  Senior Software Engineer at FuseSource - http://fusesource.com  Apache ActiveMQ committer and PMC member  Co-author of ActiveMQ in Action  Blog: • http://www.nighttale.net/  Twitter: • http://twitter.com/dejanb 2 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 3. Agenda  Problems of large enterprise deployments  Fuse Fabric in nutshell  FuseMQ and Fuse Fabric • Creating brokers • Connecting • Topologies  Fuse Management Console 3 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 4. Problems of large deployments Integrate Everything 4 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 5. Problems – Deploying and maintenance  Main problems • Installing brokers on multiple hosts o ssh, untar, set directories and environment • Setting configuration manually for every broker o copying xml config, tweaking, testing • Updating configuration across cluster • Upgrading brokers It’s very tedious and error-prone process 5 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 6. Problems – Traditional best-practice tips  Keep XML as a template and configure node-specific details through properties  Keep configuration in SVC system (git, svn, ...)  Keep configuration separate from installation for easier upgrades Deployment with Fuse Fabric moves it to the next level 6 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 7. Problems - Clients  Topology is very “static”  Clients need to be aware of topology  Clients need to know broker locations  Changes are not easy as clients need to be updated  Adding new resources (brokers) requires client updates  Not suitable for “cloud” deployments Fuse Fabric makes deployments more “elastic” 7 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 8. Fuse Fabric in a nutshell Integrate Everything 8 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 9. Fuse Fabric in a nutshell  How Fabric can help? • It provides centralized distributed broker configuration • It provides centralized distributed broker registry • Uses OSGi and Apache Karaf for easy spawning new broker instances • It provides additional tools for centralized configuration and monitoring (Fuse Management Console) 9 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 10. Fuse Fabric in a nutshell  Installation • Features and bundle versions centrally stored and managed • Easy installation and upgrade  Configuration • Stored in one place • Versioned  Discovery • All brokers registered in central registry • Allows clients to connect without knowing broker locations • Allows easy creation of advanced topologies 10 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 11. Fuse Fabric Architecture  Zookeeper • Replicated in-memory tree • Similar to file system • Highly-available • Distributed • Support network split • Proven track record Ideal for distributed configuration and locking 11 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 12. Fuse Fabric Architecture  Containers • Apache Karaf instances provisioned through central registry (Zookeeper) 12 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 13. Fuse Fabric Architecture  Profiles: • Zookeeper nodes with conventional names • OSGi configuration for the node (so we know what features and bundles should be used) • Other configuration (centralized broker configuration) • Versioned 13 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 14. Fuse Fabric - Profile FuseFabric:karaf@root> profile-display default Profile id: default Version : 1.0 Parents : Associated Containers : Container settings ---------------------------- Repositories : mvn:org.fusesource.fabric/fuse-fabric/7.0-SNAPSHOT/xml/features Features : fabric-agent karaf fabric-jaas fabric-core 14 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 15. Fuse Fabric - Profile Agent Properties : org.ops4j.pax.url.mvn.repositories = http://repo1.maven.org/maven2, http://repo.fusesource.com/nexus/content/repositories/releases, http://repo.fusesource.com/nexus/content/groups/ea, http://repository.springsource.com/maven/bundles/release, http://repository.springsource.com/maven/bundles/external, http://scala-tools.org/repo-releases org.ops4j.pax.url.mvn.defaultRepositories = file:${karaf.home}/${karaf.default.repository}@snapshots, file:${karaf.home}/local-repo@snapshots Configuration details ---------------------------- PID: org.fusesource.fabric.zookeeper zookeeper.url ${zk:root/ip}:2181 15 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 16. FuseMQ and Fuse Fabric Integrate Everything 16 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 17. FuseMQ features  mq-base profile • Defines OSGi features and bundles to be installed • Defines basic broker settings  mq-create command • Helper command for creating brokers • Creates an new profile based on mq-base • Optionally creates new containers • Assigns the profile to containers (essentially starts the broker) 17 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 18. MQ – Creating broker FuseFabric:karaf@root> mq-create --create-container broker1 fusebroker MQ profile fusebroker ready Successfully created container broker1 18 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 19. MQ Profile FuseFabric:karaf@root> profile-display fusebroker Profile id: fusebroker Version : 1.0 Parents : mq-base Associated Containers : broker1 Configuration details ---------------------------- PID: org.fusesource.mq.fabric.server-fusebroker standby.pool default connectors openwire broker-name fusebroker data data/fusebroker config zk:/fabric/configs/versions/1.0/profiles/mq-base/broker.xml group default 19 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 20. MQ – Assigning profile FuseFabric:karaf@root> container-create-ssh --host 192.168.1.106 --user dejanb --password xxx broker1 FuseFabric:karaf@root> mq-create --assign-container broker1 fusebroker MQ profile fusebroker ready Profile successfully assigned to broker1 20 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 21. MQ - Benefits  What did we achieve with this? • We can easily create new brokers with the same profiles • We can create new profile version with updated broker version and/or changed configuration • We can easily update all (or some) brokers by applying the new profile 21 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 22. MQ Profile - Management  Create a new profile version • with upgraded bundles • and configuration changes  Try it out on a non-production container  Deploy to one or a few production containers  Roll the full upgrade  Easy rollback if anything goes wrong 22 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 23. Broker Registry Integrate Everything 23 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 24. Broker Registry  Brokers are organized in groups (clusters) • Cluster can have any number of brokers (with different names) • Put in “default” group if not specified 24 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 25. Connecting to the Broker  Clients need to have ZooKeeper URL  There is a new discovery protocol (called fabric)  Connecting is as easy as defining the group 25 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 26. Connecting - Factory ActiveMQConnectionFactory factory = new ActiveMQConnectionFactory(“discovery:(fabric:default)”); 26 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 27. Connecting - Reconnecting  Clients don’t need to know brokers location  Works like a failover transport  Supports options for tuning reconnecting options discovery:(fabric:default)?reconnectDelay=1000&useExponentialBackOff=false 27 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 28. Connecting - Camel <camelContext xmlns="http://camel.apache.org/schema/spring"> <!– Do your magic here --> </camelContext> <bean id="activemq" class="org.apache.activemq.camel.component.ActiveMQComponent"> <property name="brokerURL" value=”discovery:(fabric:discovery)"/> </bean> 28 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 29. Topologies Integrate Everything 29 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 30. Master/Slave  Create master slave configuration by starting multiple brokers with the same name (in the same group) • First one stared becomes a master • Everyone else is a slave • Locked on Zookeeper node • When master dies, a first slave to get a lock becomes next master 30 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 31. Master/Slave FuseFabric:karaf@root> mq-create --create-container broker1 fusebroker FuseFabric:karaf@root> mq-create --create-container broker2 fusebroker 31 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 32. Master/Slave  No more relying on shared storage locking  You’ll still need shared storage for preserving the state among brokers  Easy creating non-persistent master slave configurations  Clients again don’t need to know topology as fabric discovery will do that work 32 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 33. Master/Slave  Multiple master slave over the same containers • Resource utilization mq-create --create-container broker1,broker2,broker3 hq-broker mq-create --assign-container broker1,broker2,broker3 web-broker 33 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 34. Networks  Controlled through profile  Uses fabric discovery, just as clients mq-create --group us-east --networks us-west --create-container us-east1,us-east2 us-east mq-create --group us-west --networks us-east --create-container us-west1,us-west2 us-west 34 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 35. Elastic clusters  Request-reply pattern over JMS  Load Balance Traffic  Non-persistent, not-connected brokers  Elastic cluster • Allow adding new brokers, without updating clients • Allow rebalancing of clients 35 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 36. Elastic clusters mq-create --create-container broker1 broker1 mq-create --create-container broker2 broker2 mq-create --create-container broker3 broker3 36 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 37. Tooling 37 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 38. Fuse Management Console  Centralized Unified Console  Web UI for managing and monitoring infrastructure  Uses Fabric to discover resources  Features • Container Management • Profile Management • Centralized Security • Centralized Monitoring 38 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 39. FMC – containers 39 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 40. FMC – Container 40 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 41. FMC – broker view 41 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 42. FMC - Profiles 42 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 43. FMC - Profile 43 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 44. Future  More things for developers • Make it even easier to write applications for Fuse Enterprise  More things for operations • Visualization of clusters • Centralized logging (collect and search all logs centrally) 44 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 45. Conclusion  Helps with complex and large deployments  Use central registry for distributed configuration and locking  Make clients location agnostic of brokers (needed for cloud deployments)  Easy upgrades and updates  Support for incremental patching  Tools 45 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential
  • 46. Questions Integrate Everything 46 © 2012 FuseSource Corp. All rights reserved. FuseSource Confidential