Skip to main content

Understanding Linux Cluster

Hello

Thanks for visiting RvKmR's blogs.

So, What means of clusters and why we need them. Cluster is set of servers or say computers working together to achieve single goal or a task. Now you may have idea why we need cluster. 

Types of Cluster:
  • High Availability Cluster / HA Cluster
    •  HA Cluster again grouped in two types.
      1. Active-Active Cluster
      2. Active-Passive Cluster
In Active-Active Cluster Service is running on all nodes in cluster. That means all nodes serving independently.
In Active-Passive Cluster Service is running on one of node from cluster and other nodes in passive state. If primary node fails then only other node in cluster will start service.  
  • Storage Cluster
In this cluster type, all members provides a single cluster file system that can be accessed by different servers. These file system can be used to read-write data simultaneously. EX: GFS2 


OK, Then what is High Availability. This type of cluster provides high availability of service which is hosted on cluster even one of server from cluster is down or not serving requests for hosted service. Not clear yet, OK, lets consider cluster of two nodes A and B. For now lets say Service is running on Node A, but suddenly node A stopped responding. In that case Node B will detect that Node A is not serving, and now its time to start service on Node B.  
High availability cluster known as Fail-over cluster. \

Below are some of important points that we need to understand before starting configuring.

  • Resource and Resources Group
  • Fencing
  • Shared Storage
  • Quorum  


We will discuss those topics in next blogs.

Comments

Popular posts from this blog

Reset Multiple Linux server Password

Hello, Thanks for visiting RvKmR.blogspot.in . In this blog, I am going to explain about my script “Reset multiple Linux server password” written in bash. To understand this script you must be familiar with Bash scripting and Linux environment. Q   :  I have 100 's Linux server, I need to reset these Linux server password on weekly.  I know procedure to reset password of single server i.e. Login in to target server and reset password with utility “passwd”.  But here is issue : What if I have 100 's of server ?  it is not efficient way to login to each server and the reset password. Ans :     Written an bash script to automate this task. Details are mentioned below. There are some prerequisites needed before running this script. We need know targeted Linux server IP address and current password of server. Create a file “server_details”  at same location where is your main script located and write IP address and password like : "<I...

Installing Jenkins in ubuntu

Hello, Thanks for visiting RvKmR.blogspot.in In this blog post, I am explaining about installing Jenkins in the ubunut system. Ubuntu release that I am working on is as below DISTRIB_ID=Ubuntu DISTRIB_RELEASE=17.04 DISTRIB_CODENAME=zesty DISTRIB_DESCRIPTION="Ubuntu 17.04" I will explain working on Jenkins in another post, for now, we will discuss how to install Jenkins in Ubuntu system. To run Jenkins successfully we need a web server. I am familiar with nginx, so I am going with it. Jenkins by default works on 8080 port. Install Jenkins with below command  sudo apt-get install nginx Jenkins is written in Java, so we need Java to be installed on our system. Adding repo to install jdk sudo add-apt-repository ppa : openjdk -r/ ppa sudo apt-get update Install jdk now. sudo apt-get install openjdk -8- jdk Add Jenkins key and update source list to install Jenkins. wget https://jenkins-ci.org/debian/jenkins-ci.org.key sudo apt-key add jenki...

Wheel Users in Linux

Hello, Thanks for visiting RvKmR.blogspot.in In this blog post, I am explaining about Wheel users in Linux. Red Hat release that I am working on is as below.  [ravi@localhost vagrant]$ cat /etc/redhat-release CentOS release 6.9 (Final) An Linux system can have many users like System users, normal users, and admin (root) user. Its common sens that we have is not to share root user credentials with other user, but here is case that we wish to run administrative command by normal user. In that case we need to aware about wheel users group. Let's first understand what is wheel user in Linux and why we needed it. Wheel is one of Linux user group that allow members of that group to run administrative commands those need root access of system, Wheel user facilitate to do that with sudo (superuser do ) privileges. Lets do it on terminal : Add an user and set password [root@localhost vagrant]# useradd ravi [root@localhost vagrant]# passwd rav...