After my last post, ‘Installing VMware ESXi via PXE’, I found that I needed to do a little customisation of the kickstart script on a per host basis. This post shows how I went about that, with a simple hack to aquire the MAC address and then customise the script based on that. This is a very simple example, but you could modify this easily for your needs. Notice I have two MACs per host below, this is because the machines could PXE over either of their 2 interfaces.
We’re going down the route of virtualising our infrastructure at Timico, which means I’m having to get my hands dirty with VMWare. We’ve tried the Xen route, and not really got on with it – so it’s time to move on to something a little more polished.
In this article, I’ll outline how I plan on speeding up the provisioning of new tin to run as VM machines. The plan is to be able to plug in a new node whenever one is needed, and have it fully auto-provisioned from start to end. The first step in doing that is to automate the installation of vmware ESXi – which is done by PXE booting.
I wanted to find a way to make it easier to see when people came online with Bitlbee and Irssi. I already use a split screen with hilightwin.pl so that privmsgs and highlighted messages appear in a window at the top, so I wanted to find a way of using that.
This short guide shows how you can connect emulated routers with physical routers using GNS3 and the Ethernet NIO. This is a cheap method for expanding your home networking lab, and it is amazingly simple. Whilst I’m using Windows, the same method will work with Linux too.
I recently purchased myself a cisco 2509-RJ, which is similar to the 2509 / 2511, however rather than an octopus cable to connect to other devices, RJ45-RJ45 rollover cables are used. This article shows a full configuration example and details on the cables required. The configuration allows for reverse telneting into other devices.
I’ve been asked to help people understand subetting and CIDR a few times. In this post I give a short tutorial. Subnetting is explained in many places, with a large variety of methods. The key to working out valid subnets however is simply a matter of understanding the binary maths behind it.
This guide teaches you a simple method, suitable for the Cisco CCNA or ICND1 exam.
VERP (http://en.wikipedia.org/wiki/Variable_envelope_return_path) provides a method for handling bounced emails. This is especially useful when it comes to figuring out which emails failed to get delivered from your application/mail outs. This post covers how I got this working in symfony using swiftmailer to send the mail, and exim to deliver bounces back into symfony. The concepts shown can be applied to just about any combination of software though.
When a file is uploaded using sfForm in the admin generator, by default the filename that’s used is a random string, which can look bad in URLs. If you want to change this, it’s not immediately obvious how – but it is incredibly simple.
I needed to create a date/time widget for use in an sfForm in a symfony project I was working on, and unfortunately there’s not currently a widget that I could find to allow this. In this post I show how I solved this problem, creating a widget for selecting a date range, using the jquery date selector from sfFormExtraPlugin.