VMworld Hands-on Lab Review: Scripting VI-3

I’m a scripting novice. That’s why I steered clear of contributing to the new Syngress book on Scripting (released just in time for the VMworld). So I thought I would give one of these labs ago. As instructor I thought I might well do one I know zilch about.

So a couple of things – the scripting was against ESX, not VirtualCenter. I guess that was in the other lab on the SDK. Anyone serious about scripting is going to do it against VirtualCenter not an ESX host – especially we have automated VMotion in the shape of DRS – and “fault-tolerence” in the format of VMware HA. Put simply – where your VM is today, it will be somewhere else tommorow – and only VirtualCenter is going to know where your little VM’s are gonna be.

There was 4 slides – what is scripts, why script, what is com and what is perl. Now go ahead and code. Well, I guess I had unrealistic expectations – as someone who just about understands the ideas of objects, properties and attributes – and how these com libraries are “called” in a script – it was over my head. I really needed more guidence.

Fortunately, that came in the shape of my lab partner – former Scot who now works in Switzerland. He had some ADSI and vbscript experience that he was a little rusty on. Together we worked out line-by-line what was going on. Had I been on my own – I probably would have left in the first 30 mins – because it would have been “whoooosh” way over my head!!!

Comments are closed.