For another personal project (that I can’t talk about for the moment ;-)), I wanted to have a Changelog file to get a better following of the infrastructure evolution (configuration management, scripts…all under git). Of course the documentation is very important, but when you do not write it at the same time you’re building the infrastructure, it may be complex to remember each little things you’ve done. That’s why a Changelog can help to understand how the infrastructure has been built step by step.
For my company, I recently had to find a good solution to make Snapshots from Instance IDs or from tags on AWS. I made several searches but unfortunately didn’t find what I was searching for. That’s why I started to make a tool to do this kind of job. It’s written in Python and requires the Boto library. Here is what you can do with Simple EC2 snapshots: Hot snapshots (by default) and Cold snapshots Multiple instances snapshot in one line Detection of doubles Filters by tags (allowing wildcards) or by instance IDs Credentials file multiple with profiles Limit the number of snapshots Restrict snapshots to data disks only The tool is open source and can be downloaded on GitHub :-).
One of my ex-boss talked to me about Coursera a year ago. It’s a website where you can freely learn several things from high graduated school. Most ofter, it’s technology related and I wanted to test it to learn Java. I subscribed to 2 sessions. One for the java basics and the other one for the object oriented aspect (in french). I’ve started it a few weeks ago the first part and what I can say is, it’s very good.
You may remember the first introduction of that tool here. I’ve made changes to support tables’ partition, to avoid a big lock on huge tables. The solution is to rebuild every partition one by one instead of rebuilding the whole table. This is smoother and less stressing Galera. I hope you’ll enjoy this new version (v0.2). Note: I still got issues on MariaDB 10 with such thing, I’m working on it.
I’ll talk about things that may frustrate you with Sphinxdoc and ReadTheDocs. ReadTheDocs has a beautiful theme and you certainly want to use it with Sphinxdoc. However the size of the main text may be too small for you. Or you noticed that when you try to generate a version locally you’ll see it works like a charm but when it’s compiled on Readthedocs, it will fail. Here is a solution on how to make it work both locally and on Readthedocs:
I already heard of Sphinxdoc a year ago and see some of my colleges are using it for professional or personal usages. With my friend Sebastien Tardif (Teka101), we decided to rebuild a complete documentation for MySecureShell in a more fashion way as the old doculentation starts looking ugly. Even if it’s more an oriented Python solution, it can be used for any other kind of project and we decided to use SphinxDoc to make a newer documentation.
You may know that I really like LXC and the major problem when you want to use that solution in production is: how do you monitor memory and CPU? Regarding the CPU side, I do not have an easy answer for the moment :-(. However regarding the memory, I’ve made a Nagios/Naemon check which will check the memory (RAM) and SWAP of a container. Here is how to use it:
- OLDER POSTS
- page 1 of 8