Author Archives: admin_xor

About admin_xor

Un*x/Linux junkie, loves to program, automate, automate and automate

I am moving, again!! to GitHub pages

Hello folks, I am moving to GitHub Pages. I will continue to write there instead of here. Please visit my new home: http://soumyadipdm.github.io/

Posted in Uncategorized | Leave a comment

CFEngine Internals: How cf-agent executes a policy?

1. Start GDB [root@infra01 unixguy]# gdb /var/cfengine/bin/cf-agent GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7 Copyright (C) 2013 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html&gt; This is free software: you are free to change … Continue reading

Posted in Uncategorized | Leave a comment

Who’s killing that process? Who’s dumping prelink files in /tmp? — Linux auditd to the rescue

So on the other day at work we had some interesting issues. People started complaining that config management tool was killing application processes. Few days before that we had people complaining about /tmp getting filled up due to mysterious prelink … Continue reading

Posted in Uncategorized | Leave a comment

misc-fixed-width-6×13 font with dotted zero

So I have been experimenting with fixed-width bitmap fonts for a while, in my quest for the “perfect” bitmap font for programming and terminal app. What better bitmap font can you have than misc-fixed-width-6×13 distributed with X11. It’s undeniably crisp … Continue reading

Posted in Uncategorized | Leave a comment

Organize your movies per IMDB genre

I have a decent collection of movies that I watch when time permits. Sometimes you would like to watch action movies, sometimes horror, at times the animated ones, all depends upon what mood dictates. This was ok. But problem was, … Continue reading

Posted in Uncategorized | Leave a comment

Bootstrapping CFEngine with Cobbler Snippets and Systemd

Cobbler’s snippets are a module based approach to kickstart scripts. Without any doubt these are really handy to customize kickstart scripts without duplicating the efforts. Recently I wanted to get my hands dirty with RHEL 7 new features. So I fired … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

External Node Classification using OpenLDAP – A Scalable solution for CFEngine, Puppet, Chef

Problem: You have a huge infrastructure with thousands of machines to manage. You already have a configuration management system or looking for one now (weird!!) and weighing what scalable tools you can use to specify role of each node, or … Continue reading

Posted in Uncategorized | Leave a comment

Heavenly – A color scheme for putty, created by me

For folks who use Putty (http://www.chiark.greenend.org.uk/~sgtatham/putty/) to connect to linux/unix boxes, and code a lot, good news, you can have this awesome color scheme created by me to make your putty experience super fun. I have seen so many color … Continue reading

Posted in Uncategorized | 2 Comments

CFEngine: Here I come to get my hands dirty

So I have been learning CFEngine quite a while now. Being a Puppet guy, it was scary at first. I thought I would get lost in “Bundle”, “Body”, “promise”, “repair” and so on. But, as always, the best way to … Continue reading

Posted in Cfengine | Tagged , , , | Leave a comment

Designing a load-balancer based on OS load

This is my first post after two years. Have been in an accident recently and had some spare time to think while taking rest for a month. “Do we really consider OS load in the load-balancers?” I asked myself one-day … Continue reading

Posted in Uncategorized | Leave a comment