SaltStack at Home, Initial Thoughs
May 21, 2017
“Cloud servers are cattle, not pets!"
So I have been working with configuration management for a while, recently I have been switching between Ansilble and Salt Stack. After creating a Salt Stack for a previous employer in AWS (see below diagram), I have fallen for this configuration management system. As you may have noted, I am using Python based, YAML configured systems because this is where I am comfortable. These systems are easily extendable, the configuration files are easy to read for anyone and they are both awesome.
Apr 03, 2017
Back soon, just escaped a sticky situation…
Two node Redis cluster in Vagrant
Feb 12, 2017
So, I am wanting to learn a bit more about Redis. To get me started, and to run Redis as close to how it would run in production, I have created a Vagrantfile for creating a Redis Cluster.
I thought I’d share. Feel free to clone. It’s a fairly simple Vagrantfile that simply creates a Master-Slave replica for Redis.
To get started:
$ git clone https://github.com/xanmanning/vagrant-redis-cluster $ cd vagrant-redis-cluster $ vagrant up Master node: 10.
Throwback Thursday: Hacktrix*
Jan 26, 2017
It’s Thursday again, and I’m looking back on another project from days gone by.
Following on from a decision not to renew our QueueMetrics license to monitor our call volume over Asterisk, we were left in a bit of a pickle. Numerous calls were coming in but managers could not gauge the volume and in times of an outage this was a serious problem when it came to breaks and assigning overtime.
SaltStack Lab in Vagrant
Jan 19, 2017
Today I have published a really simplistic SaltStack lab for Vagrant to GitHub:
Since being subjected to CFEngine (shudder), I have been very keen to try out other configuration management offerings. I had previously tried Ansible, that’s great and all, however there are advantages to agent based systems, particularly the scalability.
Salt stands out for me, because like Ansible, configuration is done in YAML - this is fantastically easy to use!
Throwback Thursday: Thermostat
Jan 12, 2017
I’ve decided to occasionally look back on some of the weird and wonderful projects I have had over the last couple of years to remind myself of the journey I have taken.
Today I am writing about a project I created to fix a problem with a misbehaving version of our CRM software (to remain nameless).
Backstory So this tale begins when I worked as first line technical support at an internet service provider (ISP).
Chmod 0777; when permissions go bad and using the Sticky bit!
Jan 08, 2017
I recently got tested on an important piece of Linux file permissions trivia and must admit I fumbled the answer a bit.
My main reasons for not instantly getting the question right probably stems from my own personal mantra, “DO NOT 0777 ALL THE THINGS!". I like to think that I put some thought into file and directory permissions rather than applying the same permissions to user, group and others. It is something that I have (on occasion) bullied a lot of developers about during my dictatorship employment as a (junior) Linux SysAdmin.
OpenBSD 6.0: Simple NAT with pf
Dec 23, 2016
This post is more of a “note to self”, but this is a summary of a simple NAT setup between an “Internal” interface and an “External” interface on our OpenBSD server or router.
Why would we do this? Well we might have an OpenBSD machine acting as a router and so 1 public IP address on our “External” interface which is to be shared between our devices on our “Internal” network.
Salt Master on OpenBSD 6.0
Nov 21, 2016
Let’s get started with SaltStack, but let’s put a twist on it and install our Salt Master on OpenBSD 6.0.
Why OpenBSD? In the world of “Cloud Computing”, more and more data is no longer hosted on-site and on a huge scale. Security is, and should be, the biggest concern. Whilst no OS can mitigate poor code, a good secure OS out of the box helps. Our Salt Master must remain secure at all costs as it will touch on all of our infrastructure.
Oct 17, 2016
Today I have finally unboxed my brand new WASD keyboard with Cherry MX Blue switches.
This is a custom keyboard that I had partially funded by previous employer as a leaving present (aww, cheers guys).
Here’s the layout I chose:
… and this is what arrived… (apologies for the potato quality photos)