Setup RabbitMQ Cluster on Ubuntu 18.04

RabbitMQ

RabbitMQ is one of the most widely deployed open source message brokers. It is an implementation of the Advanced Message Queuing Protocol (AMQP) and Streaming Text Oriented Messaging Protocol, Message Queueing Telemetry transport and other protocols via a plugin.RabbitMQ is written in the Erlang programming language, it offers support for client interfaces and libraries for all major programming languages including Python, NodeJS, Java, PHP etc. Now let’s see how to set up a RabbitMQ Cluster on Ubuntu Server.   Prerequisites We need three Ubuntu 18.04 servers, let the IP and…

Read More

Proxy vs Reverse proxy

Hi All, this document deals with Proxy vs Reverse proxy. I know a lot of beginners won’t have an idea of what is the difference between a proxy and reverse proxy. I hope this simple piece of document will help you to clear out the confusion. Proxy Look into the below topology diagram. Proxy is a server installed with any proxy software (ex: squid ) where all the client requests will route through the proxy server. Whenever a client connects to a proxy server either by any application or network…

Read More

Ansible playbook for MongoDB Replication setup on CentOS7

Hi Techrunnr, this post is regarding mongoDB installation and replica setup with HA using ansible on CentOS7 Prerequisites: 3 servers with CentOS7 operating system Deploy 3 servers in 3 different AZ Python on 3 nodes Ansible on execution server Enable Security groups on each server to communicate with each other Create 3 servers on different AZ Lets say server A <IP1>, server B <IP2>, server C <IP3>, make sure that security groups are enable to allow traffic from each other Edit the /etc/hosts file in 3 nodes, add the IP…

Read More

dockerisation of monogdb replica and HA

Hi Techrunnr, this document is related dockerising mongodb with replication setup and HA HA (High availability) refers to improvement of system and app availability by minimising the down time for usual maintenance of system and as well as application and system crash (unplanned). This post specifically talk about the mongoDB replication setup and HA with docker, this is a master-salve architecture Master: The master node can both read and write data. When handling modified data, the op-log will synchronise the updates to all the connected slave nodes. Slave: The slave node…

Read More

different types of load balancer in AWS

Hi All, this document deals with different types of load balancer in AWS. The load balancer is one if the technology used in Computing which can distribute workload on various resources attached to the load balancer, Load balancing can be done for resources such as network links, computer cluster and many more. Implementation of load balancer increases the performances of the resource. It helps to scale the resources. Looking into AWS load balancer which Elastic load balancer was commonly known as ELB. Now there are 3 different types of elastic…

Read More

mariadb star replication

mariadb star replication Hello Techrunnr subscribers, this document deals with how to set up mariadb star replication. This type of topology requires when the application runs in a different region. And our motive is to update data in all the servers on a real-time basis. How does it work? So here we are choosing around 9 servers in a different location. Out of these, we have a server which is placed in the center. In the initial configuration, the central server is marked as the slave for all the servers,…

Read More

build highly available ELK stack-part4

build highly available ELK stack Hi Techrunnr Readers, this document deals with how to build highly available ELK stack. Here I will show you how to setup High availability for kibana with apache. Kibana is an open source data visualization plugin for Elasticsearch. It provides visualization capabilities on top of the content indexed on an Elasticsearch cluster. Users can create bar, line and scatter plots, or pie charts and maps on top of large volumes of data. Kibana 1: 192.168.10.9 kibana 2: 192.168.10.10 Apache 3: 192.168.10.11 1. Login to each…

Read More

build highly available ELK stack-part3

build highly available ELK stack Hi Techrunnr Readers, this document deals with how to build highly available ELK stack. Here I will show you how to setup High availability for Elasticsearch. Elasticsearch is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. ElasticSeach 1: 192.168.10.5 ElasticSeach 2: 192.168.10.6 ElasticSeach 3: 192.168.10.7 HAproxy for Elasticsearch: 192.168.10.8 1. Log in…

Read More

build highly available ELK stack – part2

build highly available ELK stack Hi Techrunnr Readers, this document deals with how to build highly available ELK stack. Here I will show you how to setup High availability for Logstash Logstash is an open source, server-side data processing pipeline that ingests data from a multitude of sources simultaneously transforms it, and then sends it to your favorite “stash.” (Ours is Elasticsearch, naturally.) Logstash 1: 192.168.10.2 Logstash 2: 192.168.10.3 HAproxy for Logstash: 192.168.10.4 1. Log in to each logstash server and download the logstash from the following link. 2. Extract…

Read More

build highly available ELK stack

build highly available ELK stack Hi Techrunnr Readers, this document deals with how to build highly available ELK stack. Elasticsearch Elasticsearch is a search engine based on Lucene. It provides a distributed, multitenant-capable full-text search engine with an HTTP web interface and schema-free JSON documents. Elasticsearch is developed in Java and is released as open source under the terms of the Apache License. Logstash Logstash is an open source, server-side data processing pipeline that ingests data from a multitude of sources simultaneously transforms it, and then sends it to your…

Read More