Generating Random Data in Linux

I’ve been fleshing out a proper Veeam Backup & Replication Demo lab at work, but doing demos on static VMs isn’t all that much fun and doesn’t really give us much. Doing scheduled backups of non-changing data is really boring.

So, in order to get some changes done on the file system on a few Linux VMs running in the environment, I came up with the following solution:

I set up a crontab entry that generates a file with random data in it a couple of times a day, just to make sure that there are some changes made to the VM. The crontab entry looks like this:

0 03,09,13,22 * * * head -c 1G </dev/urandom >/tmp/randomdata

This generates a 1 GB file called randomdata in /tmp filled with content from /dev/urandom at a couple of different times a day. This ensures that there are at least 1GB of changes for each backup cycle, and gives Veeam Backup & Replication something to work with.

#vDM30in30 progress:

HomeLabOps via Slack

Just like Lior Kamrat I’ve set up my own private Slack for messaging and alerting from various services running both in my lab and some external facing services.  It’s only been running a few days, but so far it works brilliantly and helps me keep track.

So far, I’ve set up Slack alerting and/or integrations for the following items:

I’m sure I’ll add other things to this as time passes. I plan on publishing something on how I’ve hacked some of this together,  I just need to clean up the code a bit and make it ready for publication first.

 

 

PernixData vSphere Pocketbook Blog Edition

vSphere Design BookFollowing the success of the first vSphere Design Pocketbook, PernixData has created a new version, this time dubbed “Blog Edition”.  Where the first book focused on small “tweet sized” design tips, the new one allows for more in-depth articles, lifting the first editions 200 character limit.

For some reason, I have been lucky enough to be selected as one of the contributors!

You can pick up a printed copy at the PernixData Booth (1017) at VMworld US,  or pre-order your electronic copy today.
For more details, and a complete list of contributors, check Pre-order vSphere Pocketbook Blog Edition.

Also, if you’re located in Norway, check out Arrows seminar with PernixData’s Frank Denneman on September 16th. Perhaps I’ll see you there?