Unmount datastore

Posted Leave a commentPosted in Script

Was at VMUGDK the other day listen to Paudie O’Riordan to one of his great session on storage troubleshooting – He was talking about how to remove datastores safely and this script that I’ve created for our storage team earlier this year came to mind.   The script reli on William Lam‘s powershell module which can be found here http://blogs.vmware.com/vsphere/2012/01/automating-datastore-storage-device-detachment-in-vsphere-5.html The script has four options; list, unmount detach and all – The first three is self explanatory and the latter simply does all three, first it unmounts the datastore, then it detaches the datastore and lastly it list the datastore to verify […]

Consolidating datacenters

Posted 1 CommentPosted in Script, VMware

There is truly many ways and approaches to do server/datacenter consolidation… What i’m sharing here is just one way to do it, for one customer. But it has been done in so many ways for other customers – simple p2v and v2v from customer site in to the datacenter and onto more advanced approaches where some of the data is mirrored in via SAN replication/mirror and the rest is p2v or v2v’ed into datacenter. Like i said there are many ways to do this… What is this project, well quite simple it’s all about moving 800 VMs from one datacenter […]

Validate/change SSH access to ESXi hosts

Posted Leave a commentPosted in Script

This is another script that I’ve posted earlier this year on twitter and pastbin.   This script is very basic, it enables you to get the SSH status of a given vCenter or change it. It takes multiple input, meaning you will be able to stop and disable the service on all host with one command – Aswell as start or view the status of the hosts.   This should cover most use cases. An example would be to stop and disable the SSH service and then list new state in order to valid it. As it can be seen […]

Enclosure Overview

Posted 1 CommentPosted in Script

This is some thing I have been using for some time now and might expand upon some day. Well what is it, basically it draws and populate “blade enclosures” in excel. So why have I made this – Simply put to give an overview of our fault domains, more specific cluster fault domains. So why is this impotent at all, well we use a lot of money on redundancy – duplication every aspect of the infrastructure, we buy software like VMware(HA), F5 etc. to make sure we get the five nines, but there seems to less of a focus on […]