A month ago a customer asked me to help him with his server monitoring. My first step was to evaluate what servers were running what services, so I turned to the customer’s developers for a list of services per host. Long story short – there wasn’t any kind of server documentation. So a second task emerged: Write a server documentation. Why not kill two birds with one stone? Continue reading
I’m having this problem with my local dev ceph cluster where the clocks on all my nodes would get heavily skewed after a while so rather than researching what’s going on here with virtualbox I just hit the problem with the unix hammer. So, were the guest tools installed? I don’t even know nor care.
Virtualbox is usually not my first choice with vagrant but https://github.com/ceph/ceph-ansible didn’t work out of the box with the vmware-fusion provider so I’m sticking with it for now.
Found a great article with great links: http://blog.codinghorror.com/primary-keys-ids-versus-guids/
Found a nice tutorial on adding custom modules to nginx without sacrificing the benefits of apt-get install:
Don’t forget to turn off updates for your self-compiled nginx with:
sudo apt-mark hold nginx-full.
You have to repeat the process for every update.
I recently ran into a problem with a compile-on-filesystem-change application on boot2docker. Due to the layered structure of boot2docker (Host->VM->docker) the mechanics required for inotify are not working.
Luckily there exists a solution: https://github.com/brikis98/docker-osx-dev
I use docker-compose – so after installing docker-osx-dev, just run it in the folder containing the docker-compose.yml and docker-osx-dev finds the correct folders to watch.
How to handle text localization without going insane?
Every application has those embedded texts: You need to display an error message, have some basic text, etc. When you want to use the same strings for both your iOS and android applications you typically have to do some nice and frustrating copy/pasting.
At least I did.
Migrating gitlab from mysql to postgres using omnibus is rather straight forward, thanks to the magnificent documentation. However, having the benefit of a brain dump helps most of the times. That’s what this post is for. If you went into troubles migrating gitlab, read on.