how to create docker swarm

HI All, this document deals with how to create docker swarm. I hope you read my previous blog introduction to docker swarm. If not, read the article to get to a clear understanding of docker swarm and microservices. Setting up and managing docker swarm is easy. It not like any other orchestration tools like Kubernates etc. prerequisites * install docker engine in all the nodes. * take 2 nodes for the cluster, where one will be the manager and another one is worker node. You can add as many nodes…

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

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

apache failover using keepalived

apache

apache failover using keepalived Hi Techrunnr Readers, this document deals with configuration of apache failover using keepalived. Configuring failover helps to run a service continuously if any of the systems failed without any help of human intervention. Here we are configuring Failover for apache service using keepalived with floating IP. Floating IP will switch from master to backup server automatically when the master is unavailable. Here is the configuration to how to set up failover for apache service. Prerequisites * 2 Servers with root access * Floating IP Installation My…

Read More

how to configure apache drill cluster

how to configure apache drill cluster Hi Techrunnr Readers, this document deals with how to configure apache drill cluster Apache Drill is an open-source software framework that supports data-intensive distributed applications for interactive analysis of large-scale datasets. Drill is the open source version of Google’s Dremel system which is available as an infrastructure service called Google BigQuery. Prerequisites * Working zookeeper node, if not installed check here * Java installed and configured. Installation Step 1: Download latest Apache Drill.( Do all these steps to all the drill nodes). Step 2:…

Read More

redis cache clustering with failover

redis cache clustering with failover Hi Techrunnr Readers, Today document deals with redis cache clustering with failover. Redis is an open-source in-memory database project implementing a distributed, in-memory key-value store with optional durability. Redis is mainly used to store cache hence results in application performance. It is used as a message broker. So setting up a standalone Redis server is a single point of failure. Standalone setup is ok for the Dev Environment but when we are moving to a production environment it’s highly recommended to have a High available…

Read More

how to configure MongoDB replication

how to configure MongoDB replication Hi Techrunnr Readers, this document deals with how to configure MongoDB replication. Replication of database are necessary when we run a critical application or we give more importance to data. Replication is the process of syncing data from one location to another. This provides redundancy and high availability how does it work? MongoDB uses replication set to achieve the replication of database over servers. Replicaset is a cluster of MongoDB database servers which is configured as master-slave. There is only one primary database server in…

Read More