Category Archives: Linux

#Apache #Kafka solutions going mainstream

By | February 28, 2018

I like when solutions you are excited about and are first seen as “experimental” start to go mainstream. This happened with containers (Docker, CoreOS, Kubernetes etc.) which are now the hottest topic in DevOps right now. The same is happening now for Apache Kafka which was adopted by no other than “Goldman Sachs” for their… Read More »

A solution for kswapd0 going haywire on #Linux

By | February 28, 2018

This is a common issue in the new Linux kernels discussed on many forum threads. There is a long thread here about this problem. In short the issue is that when you run out of memory “kswapd0” a kernel process than manages virtual memory will start moving “old memory entries” to swap. The “run out… Read More »

TCP keepalive: what is it, why do you need it, how to configure it on #Linux

By | November 7, 2017

As you are aware, no service runs alone on some server. You always have to take into account the communication layer between your server and client services. One of the most tricky thing a lot of people overlook is the “housekeeping” of the communication layer. In a properly setup enterprise environment your communication layer (firewalls,… Read More »

Back-up of /home of a running system using lv snapshot

By | October 21, 2017

Following is a simple and easy way to do a consistent back-up of the /home directory (usually mounted in a separate partition) on a running system. We do not have the luxury of being able to stop the operations of a server and unmount the home partition to make sure no changes are done during… Read More »

Find in Linux if your installed RAM is ECC

By | October 21, 2017

Sometimes really simple questions are hard to answer. One day I got the question from a coworker: “How do I know if some installed RAM is ECC or not”. The easiest way is to use dmidecode command that dumps in Linux all the system characteristics. But because I had no idea how to see if… Read More »

#Docker volumes and Selinux

By | September 30, 2017

When running complex environments on Docker on Linux again we face the mighty selinux. There are plenty of selinux alerts generated when I start my environment when the host machines have selinux enabled and volumes are used by the containers. Setting selinux permissions is hard and tedious and many people just prefer to disable it.… Read More »

Linux: Save a pdf presentation to individual image slides

By | May 26, 2017

There is a very simple way to save a pdf presentation to individual jpeg images of the slides using convert. convert -density 300 presentation.pdf presentation_page_%04d.jpg where: – density 300 specifies the DPI used to read the pdf. – presentation_page_%04d.jpg is a name pattern for the saved images As a result if presentation has 20 slides… Read More »

#DevOps the new hype at #DevTalks Cluj

By | May 20, 2017

It seems that now I have a name for what I have doing for the last 15 years 🙂 I attended a a DevTalks conference and the hype of the day was the DevOps idea. According to the wiki definition: DevOps (a clipped compound of “software DEVelopment” and “information technology OPerationS”) is a term used… Read More »

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 »