Tag Archives: HOWTO

PowerCLI Mastery, Volume 3

Phew, Volume 1 and Volume 2 down, lets wrap this monster up. See, I told you I wasn’t going to leave you hanging for weeks to nail through all this.
So, picking up right from where we left off. We need to perform a configuration operation on an ESX host. Of the available properties we’re looking [...]

Posted in Uncategorized | Also tagged , | Comments closed

PowerCLI Mastery, Volume 2

Thought I was going to drag this out in some scandalous attempt to keep the viewers coming back week after week? Actually, wish I had thought of that before just now. Anyways, let’s continue. If you haven’t read Volume 1 in the series, go do so now. I’ll wait for you.
So continuing on, let’s use [...]

Posted in Uncategorized | Also tagged , | Comments closed

PowerCLI Mastery, Volume 1

OK, this one has been a looooooooooong time coming. I’ve been meaning to take a shot at conveying the advanced features of the VI SDK as applied to PowerShell for quite some time now. When Carter corrected me some months ago with regards to what is and isn’t possible with PowerCLI (in the first statelesx [...]

Posted in Uncategorized | Also tagged , | Comments closed

Statelesx Initiator Script

In all our anxiousness to get the statelesx 1.0.0 appliance out, we totally forgot to post up the client initiator script! So here it is:
#!/usr/bin/pythonimport socketimport sysimport re#Open esx.conf, read onlyesxconf = open(“/etc/vmware/esx.conf”, “r”)#Define regular expressionsgetUUID = re.compile (“/system/uuid.=.(.*)”)#Search esx.conf for matchesfor line in esxconf.readlines():        UUID = getUUID.findall(line)        for uuid in UUID:                uuid = uuid.strip(‘”‘)#Close esx.confesxconf.close()#Define statelesx server [...]

Posted in Uncategorized | Also tagged | Comments closed

PowerShell – Create X Number of VM’s per Datastore

We all love the ’shell, and the VI Toolkit for Windows even more. When i finish up with some other stuff, I’ll surely be pointing my C# skills at some cmdlets for that.
Anyway, there are a load of “create VM” scripts out there, I thought I’d show you one with a useful twist – create [...]

Posted in Uncategorized | Also tagged | Comments closed

How a stateless ESXi infrastructure might work

Yep, it’s Sunday afternoon, and thus time for another installment of Sunday Afternoon Architecture and Philosophy! Advance Warning: Get your reading specs, this post is a big ‘un.
I’ve mused several times on the whole stateless thing, especially with regards to ESXi, today I’m going to take it a bit further in the hope that someone [...]

Posted in Uncategorized | Also tagged , | Comments closed

Get rid of that pesky VMware Tools update notification…

I have enough issues with the “VMware Tools out of date” notification appearing in the VI client every time an ESX patch is applied… it’s almost useless information, as generally there are no support issues with running the RTM version of Tools regardless of the patch level of the host.
But even more annoying is the [...]

Posted in Uncategorized | Also tagged | Comments closed
  • I wrote a book! Well, some of it…