The Odd Angry Shot

Virtualisation from the trenches

Jan 6, 2019 - 2 minute read

Migrate to Hugo

With plenty of unfinished drafts growing, I thought I’d procrastinate even more by jumping on the static website bandwagon. I’ve migrated from Blogger to Hugo, and hosted on AWS with CloudFront. The process to migrate from Blogger to Hugo has been incredibly time consuming. Honestly I have no valid reason to change except for the fact that I’m curious to find out why many others seem to be migrating to static websites in droves.

Apr 24, 2017 - 1 minute read - vRB

Unable to add vCenter to vRB – invalid credentials

A lot of people have probably never tried vRealize Business. As more companies want a cloud like charging model, or to show the true cost of VMs, interest in these tools is picking up. Usually vRB is deployed with vRA or vIDM, as it will use them as an authentication source. One of the great features of vRB7.2 is that it can used in standalone mode without vRA or vIDM. This is great for a POC as it can use local accounts on the vRB appliance.

Oct 14, 2016 - 3 minute read - alarms vCenter

Faking vCenter alarms

Larger environments tend to integrate their monitoring and ticketing systems. Some also add automated workflows based on alarms. The problem when setting up these workflows is how do you test the workflow is triggered based on specific alarms? With thanks to William Lam for the tips, it’s possible to trigger specific events that make up alarms. It’s not a simple task (for someone who’s not a developer), but you can do some trial and error to work out how to trigger each event.

Sep 7, 2016 - 3 minute read - ESXi python scripting

ESXi kickstart with Python

I recently spent some time building kickstart files. Something I hadn’t done much since 2008. The most noticeable change in the process is I’m older and fatter. I re/learnt a few things, and did my first ever python script. First up, William Lam has plenty of articles on the topic, and the official vSphere installation doco is pretty good too. While testing, it’s much easier to link to a kickstart file or scripts from a webserver than directly embedded on the boot CD.

Feb 6, 2016 - 3 minute read - vExpert

2016 Australian / New Zealand vExperts

The list of 2016 vExperts was officially announced by VMware. This year sees a total of 1374 people awarded the title of vExpert. Australia / New Zealand represent 4.2% of the total vExpert numbers. This year the vExpert nomination form asked for your country, so lets hope VMware publish that info. So for now, this is a list of names we recognise as from Australia or New Zealand.

Feb 15, 2015 - 3 minute read - esxcli PowerCLI powershell storage

Combining PowerCLI & ESXCLI to change PSP on a Large Scale

Using PowerCLI you can use Set-ScsiLun -MultipathPolicy “RoundRobin” to set the PSP, but I found it quite slow using it on a large scale. It would update one datastore on one host every 5 seconds. If there were 10 ESXi hosts with 200 Datastores, that’s 2000 operations, at 5 seconds each, it adds up to 3 hours. The same can be done using ESXCLI extremely quickly, but it’s run on each host.

Feb 8, 2015 - 2 minute read - vExpert vmug

2015 Australian / New Zealand vExperts

VMware announced the list of 2015 vExperts during the week. Congratulations to all that made it. The list now contains over 1,000 vExperts. For something perhaps a bit more relevant in the A/NZ region, I’ve broken it down for us. The numbers haven’t changed that much due to the 3 selection rounds of vExperts in 2014. For the A/NZ region, the numbers increased by 3, with 4 people not renewed as vExperts (most likely because they didn’t submit an entry).

Dec 23, 2014 - 2 minute read - Office Arguments Snapshots troubleshooting

Office Arguments – Maximum VMDK size is NOT 2TB-512bytes

…if you want to use snapshots Pop Quiz Q: What’s the maximum size VMDK you could create in vSphere 5.1 or earlier? A: Most people that have studied for VCP will know the maximum VMDK size is 2TB minus 512 bytes. If you create a disk in the GUI, it allows you to choose 2TB, but it’s smart enough to minus 512 bytes. So technically that’s the maximum VMDK size, but you should NOT create it that big.

Dec 22, 2014 - 3 minute read - Office Arguments Snapshots troubleshooting vCenter

Maximum Disks Per SCSI Controller is NOT 15

 Pop Quiz Q: What’s the maximum number of disks per SCSI Controller? A: It depends.. On your VCP exam, you would have said 15. Correct. Although if you want to clone or snapshot and quiesce a VM, the maximum is 7 disks per SCSI controller. Each SCSI Controller can control 15 disks and the quiesced snapshots in Windows 2008 require one available slot per existing disk. If you have more than 7 disks, the clone / quiesce part will fail, and you’ll have the following errors in vCenter and the VM’s vmware.

Dec 19, 2014 - 1 minute read - Site Recovery Manager SRM troubleshooting

SRM – IP Customisation error

During an SRM (5.0) failover, a VM failed during the IP customisation failed at step 11. It was strange as we hadn’t seen this error in quite a while. 11. Power On Priority 3 VMs     Error – Cannot complete customization, possibly due to a scripting runtime error or invalid script parameters (Error code: -1). IP settings may have been partially applied. Looking through the SRM logs, they pointed to an error in C:WindowsTEMPvmware-imcguestcust.