Category Archives: Linux

Linux Cluster with #DRBD replication: solving “HA LVM requires Only one logical volume per volume group” issue

By | April 24, 2017

I have a RHEL 6 Linux cluster setup where the main database storage is replicated on a remote site using DRBD. In case of a failure of the primary site the decision is taken to move operations on the remote site. When the production site is back online sometimes the administrator is too eager to… Read More: Linux Cluster with #DRBD replication: solving “HA LVM requires Only… »

Solving “HA LVM: Improper setup detected * initrd image needs to be newer than lvm.conf”

By | April 24, 2017

In a Linux HA cluster setup on RHEL 6 that involves replication between sites using DRBD suddenly after reboot of one of the nodes it was imposible to start any cluster service from that node. Surprinsingly there was no issue to do so from the other node. While looking in the /var/log/messages on the affected… Read More: Solving “HA LVM: Improper setup detected * initrd image needs… »

Quick fix for selinux issues caused by un-tagged files

By | April 5, 2017

Sometimes weird things happen when selinux is activated and files are un-tagged or policies are missing. Because I do not want to apply the usual stupid Internet advice: “disable selinux” I am trying to fix it if possible. Two simple steps to alleviate some of the “issues” caused by selinux. STEP 1: Generate SELinux policy… Read More: Quick fix for selinux issues caused by un-tagged files »

#DRBD: Synchronization of sites after the failed DR (disaster recovery) site is recovered

By | April 24, 2017

This is a follow-up tutorial on the DRBD replication posts about resynchronization of sites after the failed DR site is recovered. More than a year ago I described in a long tutorial how to use DRBD in a real production environment and the challenges associated to it. See: DRBD based disk replication of a production… Read More: #DRBD: Synchronization of sites after the failed DR (disaster recovery)… »

#DRBD: Resynchronization of sites after the failed PR site is recovered (DRBD split brain recovery)

By | March 6, 2017

This is a follow-up tutorial on the DRBD replication posts about resynchronization of sites after the failed PR site is recovered (DRBD split brain recovery). More than a year ago I described in a long tutorial how to use DRBD in a real production environment and the challenges associated to it. See: DRBD based disk… Read More: #DRBD: Resynchronization of sites after the failed PR site is… »

#DRBD: Promoting the DR site as the main site when PR is failed

By | March 6, 2017

This is a follow up tutorial on the DRBD replication posts about promoting the DR site as the main site when PR is failed. More than a year ago I described in a long tutorial how to use DRBD in a real production environment and the challenges associated to it. See: DRBD based disk replication… Read More: #DRBD: Promoting the DR site as the main site when… »

#DRBD: Gracious role switching of live sites configured with DRBD replication

By | March 6, 2017

This is a follow up tutorial on the DRBD replication posts about gracious role switching of live sites configured with DRBD replication. More than a year ago I described in a long tutorial how to use DRBD in a real production environment and the challenges associated to it. See: DRBD based disk replication of a… Read More: #DRBD: Gracious role switching of live sites configured with DRBD… »