Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Deploying JBoss A-MQ in a high availability (HA...

Deploying JBoss A-MQ in a high availability (HA) environment

Slides from webinar delivered on July 16, 2013

Scott Cranton

July 16, 2013
Tweet

More Decks by Scott Cranton

Other Decks in Technology

Transcript

  1. Red Hat JBoss A-MQ 6.0 Deploying JBoss A-MQ in a

    High Availability (HA) environment Scott Cranton July 16, 2013 – Live Webinar
  2. 2 RED HAT JBOSS A-MQ Agenda • JBoss A-MQ High

    Availability Overview • Demonstration of a fabric-based network of fault-tolerant (master/slave) brokers
  3. 4 RED HAT JBOSS A-MQ Red Hat JBoss A-MQ A

    small-footprint, high-performance, open source messaging platform
  4. 5 RED HAT JBOSS A-MQ What is JBoss A-MQ? Open

    Scalable Reliable *assuming you already know it does reliable messaging
  5. 6 RED HAT JBOSS A-MQ JBoss A-MQ :: Open •

    Open Source – Apache Software License 2.0 licensed – Based on very popular Apache ActiveMQ • Open Protocol – AMQP 1.0, MQTT, STOMP, OpenWire, … • Open Language (Polyglot) – Client native languages: Java (JMS), C/C++, .NET – STOMP clients: Ruby, JavaScript, Perl, Python, PHP, ActionScript, ...
  6. 7 RED HAT JBOSS A-MQ JBoss A-MQ :: Scalable •

    Vertical Scaling – Only limited by I/O, compute, and I/O resources, … • Horizontal Scaling – Network of Brokers (Clustering / Federation) – Fuse Fabric (https://github.com/jboss-fuse) • Central configuration management and provisioning • Client-side discovery, load balancing, and failover
  7. 9 RED HAT JBOSS A-MQ JBoss A-MQ :: Reliable •

    Persistent Messaging – Store on File system or RDBMS – Survive restart, and process failure • Master / Slave – Lock manager – Shared Storage - SAN/GFS2 or NFS v4 or RDBMS – Replicated - Block or RDBMS replication • Managed – Red Hat Cluster Suite – Shared or Replicated storage
  8. 14 RED HAT JBOSS A-MQ Client Connection URI • Static

    – tcp://<host>:<port>?<connection options> – Simple, but no reconnection on failure • Failover Transport – failover:(tcp://<host>:<port>,tcp://<host>:<port>,...) – Reconnect on failure • Fabric Discovery – discovery:(fabric://<group name>) – Reconnect of failure – Coordinates with Fabric Registry
  9. 15 RED HAT JBOSS A-MQ Red Hat High Availability Add-On

    • Smarter failure management – N+1 failover architecture – Restart on node first, then failover to back node – More sophisticated detection than just process failure • RHEL only • Complements JBoss A-MQ HA capabilities • JUDCon Boston 2013 – Resilient Messaging – http://www.jboss.org/dms/judcon/2013unitedstates/presentati ons/judcon2013_day3track3session5.pdf – http://bit.ly/18kcidy
  10. 18 RED HAT JBOSS A-MQ Demonstration Sample code and documentation

    https://github.com/FuseByExample/external-mq-fabric-client/
  11. 20 RED HAT JBOSS A-MQ Summary • JBoss A-MQ is

    a highly scalable and available open source messaging product • Many HA options to meet your needs • Links – http://www.jboss.org/products/amq – https://github.com/FuseByExample/external-mq-fabric-client/ – JUDCon Boston 2013 Presentation - http://bit.ly/18kcidy