Coder Social home page Coder Social logo

abhijitbonik / iimbx-multiple-cluster-instalation Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 16 KB

An automated 4 Layer Load Balancing instalation for IIMBx

Shell 100.00%
nfs-server haproxy nfs-client mysql mysql-server cluster drupal shell-script

iimbx-multiple-cluster-instalation's Introduction

IIMbx-Multiple-Cluster-Instation

This repository contains scripts for automating the installation and configuration of MySQL, IIMBx (2 instances of drupal), HAProxy. It also configures one instance of drupal as NFS Server while other has a NFS client.

The cluster_install.sh file is a shell scripting instalation file that we need to run.

Use following command to run the script.

./cluster_install.sh

The cluster_install.sh will call the required files and install and configure the clusters on multiple machines.

A brief description of scripts that will run are given below:

  1. Mysql Script (mysql.sh) : It will install the mysql server to the cloud that is allocated for it. -- Check list of Grants on mysql server using -
    select user, host from mysql.user;
    
  2. IIMBx instalation script (web.sh): This script will run on two VMs, web 1 and web 2
  3. Load balancing using HAProxy (haproxy.sh): This script configures HAProxy using roundrobin algoirthm. So, while browsing the site, web1 and web2 will be used alternately.
  4. Setting up NFS Client (nfs_client.sh): Configures web 1 as NFS client
  5. Setting up NFS Server (nfs_server.sh): Configures web 2 as NFS server

Finally, the site is accessed using the IP address of the machine on which HAProxy is configured.

iimbx-multiple-cluster-instalation's People

Contributors

abhijitbonik avatar firuza avatar

Watchers

 avatar  avatar

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.