The greatest challenge to any thinker is stating the problem in a way that will allow a solution

Bertrand Russell

Welcome to vBlog, a personal record of my techy tinkerings and particular ponderings.

I tend to focus on VMware virtualisation, and the interaction/automation of it using PowerCLI (VMware's PowerShell Snapin), but anything that I happen to stumble across that seems like it might be of use at a later date, may well get recorded here.

I also maintain vWiki, which was a predecessor to this blog. Wiki's are great for quickly recording snippets of info, but tend not to look that great; Blog's are better looking things, but seem to require more effort so that the posts/articles are accessible in their own right. As a result I tend to update both interchangeably as available time, and depth of thought, permit.

If you happen to find anything of use, or in need of correction please leave a comment. Knowing that my ramblings are of some use is a great reward; and similarly I'd hate to waste anybody's time by feeding them duff info.

See these pages for me info about me, and my vBlog, and below for my recent posts...

16 May 2012

Tech Notes

1 comment

This is a quick follow-up post on restoring a saved config for a Vyatta router.  I recently created a PowerShell script that checks my Vyatta routers and takes a backup of the config if its new than any existing backup (see Backup Vyatta Router configs with PowerShell).

Taking backups is all well and good, but its of little use if you don’t know how to restore… Continue reading →

I manage a number of Vyatta routers, for which the config changes irregularly.  And whilst I do keep an offline copy of their configs, I do this in a manual fashion, which means its not done reliably, which means its not a reliable backup solution.

Hence I crafted a simple PowerShell script which takes a backup of the routers config if its changed since the last backup… Continue reading →

28 Mar 2012

PowerShell

5 comments

Catchy title, eh?

I make quite extensive use of the NAT’ing functionality of Vyatta routers, and it can be quite a pain in the task to keep track of servers’ real (local) and NAT’ed (remote) IP addresses.

Therefore I have the need to collate all the address translations into a central report, in an easy (aka scripted) fashion.  There are probably other ways of achieving this, but for me its a PowerShell script that SSH’s to each Vyatta router in order to query it… Continue reading →

While not a daily requirement, every so often I find myself needing to set-up a virtual router.  The first time I came across Vyatta was when setting up a VMware lab-in-a-box, and more recently to replicate the functionality provided by the Virtual Router in a VMware Lab Manager unfenced lab (I’ll explain later if you don’t know what that is).

The best part of a Vyatta router is, like most things in life, that it’s free (for the Core version – which provides all the routing functions that you’d normally expect from a router).

This post will take you through the basic set-up for a router, and them some configuration examples for a few useful set-ups. Continue reading →