Installing and Configuring DRBD for High Availability – DRBD for Apache Server

DRBD example setup and configuration

DRBD stands for Distributed Replicated Block Device. DRBD is a distributed replicated storage system for the Linux platform which is implemented as a kernel driver. The main configuration file for DRBD is /etc/drbd.conf.   include “drbd.d/global_common.conf”   include “drbd.d/*.res” DRBD configuration

Read More Installing and Configuring DRBD for High Availability – DRBD for Apache Server

Clearing the OpenShift log data using the curator pod (OpenShift 3.6)

openshift

In our test OpenShift cluster, we had this space problem with the infra node. See the numbers below. Previously: Filesystem Size Used Avail Use% Mounted on /dev/mapper/rhel-root 50G 2.0G 49G 4% / devtmpfs 7.8G 0 7.8G 0% /dev /dev/sdd2 50G

Read More Clearing the OpenShift log data using the curator pod (OpenShift 3.6)

SonarQube 6.5 Resetting admin Password on CentOS7

Install pgAdmin on centos7 (GNOME environment) – yum install pgadmin4-desktop-gnome check the config file of sonarqube – /opt/sonarqube/conf/sonar.properties – sonar.jdbc.url=jdbc:postgresql://localhost/sonar – sonar.jdbc.username=sonar – sonar.jdbc.password=Password1 start pgAdmin by simply running “pgadmin4” command OR Applications -> Programming -> pgAdmin 4 Under Quick

Read More SonarQube 6.5 Resetting admin Password on CentOS7

Adding a New User to OpenShift with HTPasswd Identity Provider

openshift

There are various identity providers that can be used with OpenShift. In this post, I will mention HTPasswd identity provider and how you can manage your users with it. First, if you don’t know which identity provider is used in your cluster

Read More Adding a New User to OpenShift with HTPasswd Identity Provider

Here is a little awk hack for linux command history

If you are using a Linux distro and you use the command line a lot,  this little awk trick will show you your most used commands so that you can create aliases for them leading to an increase in your

Read More Here is a little awk hack for linux command history


Problem Installing OpenShift-cli on MacOS Mojave

installing openshift-cli on macos

Today, after upgrading to MacOS Mojave I wanted to also upgrade my Minishift installation and OpenShift-cli. Upgrading Minishift was quite straightforward but when I tried to install OpenShift-cli using homebrew I got the following error message: brew install openshift-cli – Error: Failure while

Read More 
Problem Installing OpenShift-cli on MacOS Mojave

Magic Command to Clear All Those Annoying Pods in Your OpenShift Cluster

openshift persistent volumes

Sometimes your PODs may get stuck in UNKNOWN, PENDING, TERMINATING etc. states. These PODs seem to have the durability to live forever and contaminate your compute nodes. When you try to delete them, sometimes the command line will say that the POD

Read More Magic Command to Clear All Those Annoying Pods in Your OpenShift Cluster

The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files

If you have encountered this annoying error in Eclipse you are in luck. Here I will be telling you how to fix it! First, right-click the project in Project Explorer and click Properties: On the Properties screen type “build” and

Read More The type javax.servlet.ServletContext cannot be resolved. It is indirectly referenced from required .class files

Introduction to Persistent Storage In OpenShift

openshift persistent volumes

Not all the containers in your cluster will be non-persistent or ephemeral. Most of the time you will need persistent containers running all around the place to hold some sort of data. To store the data independent of the lifetime

Read More Introduction to Persistent Storage In OpenShift

Adding Jenkins Slaves (Linux/ CentOS7)

This is a post I have been thinking about writing for some time and I finally had the time to do that. In the beginning, it could be enough to use just a single Jenkins instance (master), but sooner or later

Read More Adding Jenkins Slaves (Linux/ CentOS7)