Pacemaker Corosync Cluster Overview

Leave a comment Linux , Leave a comment

How does Pacemaker Corosync cluster operates? What is the relation between pacemaker and corosync? The functionality and concept overview has been explained here. SUSE Linux high availability and Redhat high availability using pacemaker corosync cluster majorly. Still many other flavors such as Ubuntu, Debian are using pacemaker with corosync as their high availability solution. Continue reading “Pacemaker Corosync Cluster Overview”


Password quality check for OpenLDAP

2 Comments Linux 2 Comments

Topic

1. Password quality check for OpenLDAP

2. Configure password quality check – Openldap

There is no standard OpenLDAP module for password quality check. How to make OpenLDAP server to check the strength and quality of password? How to reject the password which does not meet desired standards? There is an alternate solution available. Continue reading “Password quality check for OpenLDAP”


Linux library files

Leave a comment Linux Leave a comment

What is lib files in Linux?
A library(lib) is a file containing compiled code from various object files stuffed into a single file. It may contain a group of functions that are used in a particular context. For example, the ‘pthread’ library is used when thread related functions are to be used in the program.

Broadly, a library (or Program Library) can be of two types : Continue reading “Linux library files”


Setup Linux Dynamic DNS Server

Leave a comment Linux Leave a comment

Dynamic DNS configuration Guide

What is Dynamic DNS (DDNS)?

DNS stands for either Domain Name System or Domain Name Server. DNS used for name resolution between server hostname and IP Address. Many times there will be a change in system hostname or IP for some reason. During this time all DNS zone entries must be updated manually. Also accuracy of changes implemented to be considered. Think what happens if you have 500+ machines. Keeping them up-to-date by tracking manually is hectic. Continue reading “Setup Linux Dynamic DNS Server”


Understand SUSE Cluster Log

3 Comments Linux , 3 Comments

SUSE cluster log is a single file where you found messages of cluster engine and all of it components. For each and every operation in cluster plenty of info will be logged into log file. While cluster is in smooth operation no one care about it. What if you run into some issue? Linux OS cluster do execute number of process in a second. With simple resource monitoring command we cannot trace out the whole operation history.

Having known about various parts of messages being written in SUSE cluster log file will help much during troubleshooting. The message to be written in logs with error code is predefined already. You may also see output of Continue reading “Understand SUSE Cluster Log”


Fix Desktop Display Issue

Leave a comment Hardware Leave a comment

Fix Desktop display Issues with some simple steps

 Today morning “Powered ON” my desktop computer. But no response in monitor, it keep showing black screen. What to do? How will I play games? Did you worried and struck here? Before calling technician try these simple “TechAdminBlog” tips. It may save you few rupees also make your system available instantly. Continue reading “Fix Desktop Display Issue”


About Corosync and Heartbeat

1 Comment Linux , 1 Comment

Many of us will get confused with Corosync and Heartbeat. Have described about both corosync & heartbeat functionality.

This help you to have comparison of corosync vs heartbeat.
To get idea about where to use corosync and heartbeat?
What cluster engine been supported by corosync and heartbeat?

Corosync

The Corosync Cluster Engine is a Group Communication System with additional features for implementing high availability within applications. The project provides four C Application Programming Interface features:

• A closed process group communication model with virtual synchrony guarantees for creating replicated state machines.
• A simple availability manager that restarts the application process when it has failed.
• A configuration and statistics in-memory database that provide the ability to set, retrieve, and receive change notifications of information.
• A quorum system that notifies applications when quorum is achieved or lost.

Corosync is used as a High Availability framework by projects such as Apache Qpid and Pacemaker.

Heartbeat

Heartbeat is a daemon that provides cluster infrastructure (communication and membership) services to its clients. This allows clients to know about the presence (or disappearance!) of peer processes on other machines and to easily exchange messages with them.

In order to be useful to users, the Heartbeat daemon needs to be combined with a cluster resource manager (CRM) which has the task of starting and stopping the services (IP addresses, web servers, etc.) that cluster will make highly available. Pacemaker is the preferred cluster resource manager for clusters based on Heartbeat.

 


Resolve cib digest error

Leave a comment Linux , Leave a comment

Sometimes our cib.conf (which is pacemaker cluster configuration file) might accumulate with white spaces. With current running live file we will not see any impact. But the actual headache starts when you close and reopen the cib.conf. Which means completely stop cluster service in all nodes and start back.

During cluster service startup it calculates md5 checksum value and compare with the one available in system. Here we get mismatch error and service startup will be failed.

As a temporary fix remove white space in cib.conf using below command.

#cibadmin -Q -o configuration | sed ‘s/^\s*//’ | sed ‘s/\s*$//’ | tr -d ‘\n’ | sed ‘s/ /\\n/g’| xmllint –copy – | cibadmin -R -o configuration -p

You must recreate md5 checksum value to have safe cluster operation.