I made a HAProxy build with Debian-style config file because some of the haproxy.cfg files on my servers became really big.
HAProxy has an option to include multiple config files as a command line arguent, like this: haproxy -f haproxy.cfg -f haproxy2.cfg -f…etc.

Continue reading

Percona’s XtraBackup is really good solution for incremental backups if small or large MySQL/MariaDB databases. Mysqldump is really slow and is not downtimeless.
In our case, we need two week history of every day. Every Sunday the backup will be full and the rest of the days, backups will be incremental, based on Sunday’s full backup. The backups will be placed in a folder named current_week. Every Sunday, the folder will be renamed to last_week and new, empty current_week will be created before the full backup.

Continue reading

To work with the root user and ssh keys is a common practice in the Ansible community. Another variant is to use a “deploy” user with the same password on every machine.
Another option is to use Ansible Vault to encrypt the yaml files. or to use a password manager. It’s never a good idea to keep passwords, private keys and other sensual data to the source code repository.

Continue reading

It’s been a while since my last post here. This is my first post with the new platform - Hexo. It’s faster and simpler than Octopress and it’s not Ruby but nevermind…

The whole concept with the Certification Authorities is completely broken but we don’t have something better which is working. A world with fully encrypted web is a really a good idea since the whole internet traffic is monitored by governments and other private organizations. Let’s encrypt is an attempt for that. It’s a colaborative project between Linux foundation, EFF and some other organizations.

Continue reading

This is my first non technical post here. I’m goona explain in details my way to cook Patatnik - Bulgarian dish from the Rhodopi Mountains. It’s made of shredded potatoes, eggs, onions, cheese and some local spices. I’m not sure if this is the most authentic recipe but it’s the way I like it.

Continue reading

Let’s assume that we need to setup VirtualBox VM with Windows XP and an old version of Microsoft Office. The machine must be used from everyone on a given number of Linux workstations. The workstations may work with LDAP and NFS/Cifs. The standard installation of the VM would be extremely space consuming and it would cost a lot of the personal life of the administrator.
I made an easy hack to solve this ( this is real setup in university labs).

Continue reading

Let’s assume that we need to setup VirtualBox VM with Windows XP and an old version of Microsoft Office. The machine must be used from everyone on a given number of Linux workstations. The workstations may work with LDAP and NFS/Cifs. The standard installation of the VM would be extremely space consuming and it would cost a lot of the personal life of the administrator.
I made an easy hack to solve this ( this is real setup in university labs).

Continue reading

Blagovest Petrov

author.bio


author.job


Sofia, Bulgaria