2011/02/19

Cheap Host Profiles Remake

I realised that setting up the host profiles before was complex. Since I was playing around with google app engine I thought to myself, lets do a remake. The result can be found here . Since I'm using GAE, I am using google API's to authenticate. Hence you can login with your gmail account. Notice that the acode part is an activation code. Please do not bookmark this url, is it just to activate your google account. Instead use this url once your account is "activated".

Basically it is the same syntax (a complete example is available in the "help" section) but better output :). Planning on doing some better error catching but basically if you don't do anything wrong, everything should work. Also thinking about maybe generating some documentation from the XML... we will see :)

2011/02/17

More vMA fun

Show the states of a path for every lun

for disk in $(esxcfg-scsidevs -m | sed 's/^\([^:]*\).*/\1/g'); do echo "Device $disk";esxcfg-mpath -l -d $disk | grep -e "State:" -e "Target Transport Details:"; done;