Code Monkey home page Code Monkey logo

activemqconfigurator's Introduction

This tool is used to help automate the configuration of distributed ActiveMQ queues that are used for data gathering + processing operations into intra-datacentre and inter-datacentre redundant servers.
A JSON data model is required to be set up that defines the names, IPs and server locations. The tool is then run on this JSON data object and a graphviz visualisation is produced at the end to help visualise the connections.

The terms:

A Node is a representation of a set of data. Each Node has it's own data and it does not share this data with other Nodes. Thus, a Node is a form of data segregation. In practice, most architectures will not have a concept of multiple 'Nodes' and this can be ignored.

A Node is made up of a collection of DataCentres. Each DataCentre represents a physical data centre. In practice there will be a primary data centre and a backup data centre stored on a different physical premise in case of a Fire or other natural disaster. This is a form of Inter-DataCentre redundancy.

Each DataCentre can have multiple JMS queues. This is referred to as a cluster or a network of brokers. They are a form of Intra-DataCentre redundancy.

The network of brokers in a primary datacentre are configured to pass data around the datacentre until they are ready to be consumed. To avoid data loss these should have storage configured as RAID or SAN storage. If any queue gets knocked out of action, the others will continue to operate. Secondary (or higher) DataCentres are considered backups, and are assumed to not have any consumers by default. They store and forward anything they receive back to the primary DataCentre once it is ready to handle them again.

Defining multiple nodes can also allow you to re-use another foreign node's datacentre as its backup. Email aiman.alsari at gmail for more information, as this is not a common use-case.


INSTALLATION INSTRUCTIONS

To run this, firstly take a look at example.json and use that to create your datacentre layout.
Run ant with no options, this will create an executable jar Amqcfg.jar in the dist/ directory.
Run the jar file and pass the JSON file as an argument. Follow the on-screen instructions. The visualisation can be viewed using dot and a pdf viewer.

activemqconfigurator's People

Contributors

aiman-alsari avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

diqiuche yanweiqi

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.