The Percona replication manager (PRM) is a framework using the Linux HA resource agent Pacemaker that manages replication and provides automatic failover. This covers the installation of the framework on a set of servers. The PRM framework is made of 4 components: Corosync, Pacemaker, the mysql resource agent and MySQL itself. It’s easy to setup, better if you already know how to use Pacemaker and it works like a charm. In fact it setup a master and x slaves.

Continue reading

monit is a utility for managing and monitoring processes, programs, files, directories and filesystems on a Unix system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. E.g. Monit can start a process if it does not run, restart a process if it does not respond and stop a process if it uses too much resources. You can use Monit to monitor files, directories and filesystems for changes, such as timestamps changes, checksum changes or size changes.

Continue reading

You know that I recently switched to i3. One of the first thing I wanted to change is the status bar which is not optimal for my usage. After researches, it looked like that i3blocks it the best alternative. So I contacted the creator (Vivien) and had very good exchanges with him. I’ve made pull requests and suggestions to integrate missing checks, faster one that I developed and with colorization depending of the contexts.

Continue reading

I recently needed to install an IRC bouncer as I was fed up to launch every say a ssh to connect to an external server, on which I had a tmux running a weechat to get IRC history. 2 problems here: Sometimes, I forgot to connect on it and missed some messages It was not integrated to Pidgin (what I use for any IM protocol) So I decided to setup a bounce IRC with ZNC!

Continue reading

I wanted to upgrade my Android version from Cyanogen 10 to 11M5 on my old Samsung Galaxy S2. I though it would be an easy task, but not at all. First of all, I had to be in recovery mod (bottom button + vol up + power). Then I wanted to create a /sdcard but it didn’t want to mount and I didn’t want to format my sdcard. So I mounted a tmpfs onto it:

Continue reading

NAXSI means Nginx Anti Xss & Sql Injection. Technically, it is a third party nginx module, available as a package for many UNIX-like platforms. This module, by default, reads a small subset of simple rules (naxsi_core.rules) containing 99% of known patterns involved in websites vulnerabilities. For example, ‘< ‘, ‘|’ or ‘drop’ are not supposed to be part of a URI. It’s been a while that I wanted to test NAXSI and it seams working not so bad.

Continue reading

Author's picture

Pierre Mavro / Deimosfr


Qovery Co-Founder and CTO

Paris - France