The Linux sysadmin Russian Roulette game

Some folks enjoy playing Russian Roulette in the typical fashion, often with vodka and a gun with a single bullet (guns with magazine cartridges involve less of an element of chance, and more of a certain air of inevitability).

Linux sysadmins also have a way of playing this game, and whilst less fatal (mortally, at least), could be every bit as much as fatal to possibly their most prized possession: their beloved Linux machines, and (probably) their career(s).

Download a copy of the Linux sysadmin Russian Roulette here…


 1,080 total views

StorSimple pre-installation validation script

In order to deploy StorSimple arrays (virtual or physical, there are certain requirements and pre-requisites that need to be in order. These are defined on the documentation site and mostly pertain to having sufficient external connectivity to Azure & internet endpoints.

To simplify the process of ascertaining whether or not an environment is suitable for StorSimple, I have devised a little script that can be run on a Windows 8+ machine and checks network services & outbound connectivity to certain hosts/endpoints over the required ports.

Continue reading

 904 total views

A script to remotely connect to a StorSimple 8000 series device

The article here on the Azure Documentation site describes the process to connect to a StorSimple device using remote PowerShell.

If, however, you’d rather just run a cheeky little script and have it do everything for you, here you go!

Continue reading

 1,181 total views

Using Rsync to mirror data & synchronise filesystems (on Linux)

Rsync is a fantastic little tool, blessed with a whole raft of switches and options to allow data transfers to be customised to the sys admin’s heart’s desire.

It can run normally or as a daemon, push and/or pull data and excels at synchronising filesystems either locally on the same machine, or across long distances (internet-based, for which we ought to pay homage to Tim Berners-Lee).
Continue reading

 726 total views

A simple BASH script to randomly create directories & files (for Linux)

When testing various scenarios, it’s always useful to have some data to use. But, it may not be that easy, or desirable, to use data that exists on our laptops or existing systems.

So, I thought I’d take advantage of Linux’s inherent dd command and randomisation capabilities and produced this: a simple script that creates a user-specified number of directories, with a random number of files in each directory, with each file being a random size.

Kick this off, kick back and voila – an imperfect data landscape that mirrors the real world!

Click here to download the script from Azure BLOB storage

…Or view the script contents in text mode in a browser

 2,534 total views