vCops Forced password change

Posted Leave a commentPosted in Vcops, vRops

Short after vCops 5.8 was released I upgraded, all went smooth. But then the other day, I had to restart the appliance, after waiting a while and I was still not able to login to the web gui. I open up a console to the two VMs, only to see the both VMs were stuck at boot waiting for a password change. So I typed in the old password and a new one and shortly after vCops was up and running again.   Well as it turns out had I just read the release notes properly, I would have know […]

CIM error

Posted 1 CommentPosted in Script

I was trying get some hardware info via CIM, the other day and ran into this error message:

After googling the error i found a lot of site pointing to this command –

  which needs to be run as admin. Only problem it doesn’t work on windows 7/2008+… As it turns out, it was for windows xp/2003 – So I starting looking for the same command for windows 7/2008+ and guess what I found one. Once again this needs to be run as admin in powershell this size can be changed as needed on some HP G7 […]

Batch rename of VMs

Posted 1 CommentPosted in Script

The other day a consultant came by my desk. He had a problem, the 400 VMs we just move from the customer site in to our datacenter; The backup jobs were failing for most of the VMs. He had looked into it and it turns out that Symantec Netbackup, which is what is used, is case sensitive and the VM names were all a mix of low, high and low and high cases. So the backup team had to recreate the backup jobs, but before they did that, the consultant asked if it wasn’t possible to rename all of the […]

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 […]

vCops remote DB access

Posted 2 CommentsPosted in Vcops, VMware, vRops

UPDATE: I still get hit on this blog post – So just for the record this blog post is obsolete! If you are running vCops I suggest you upgrade to vRops asap and then take a look at my blog post around the vRops API – vRops API consumed with Powershell I posted this on twitter and postbin earlier this year, but now that I’ve got the site up and running, I thought I would write it here also. This started as a wish to get some of the data out of vCops in order to do a centralized capacity management. I […]

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 […]

HP BIOS settings

Posted 5 CommentsPosted in Hardware

Over the last years I’ve see the same mistake repeated over and over again, to some extend it looks like a complete denial, and even though there have been multiple consultants looking at different performance related issues none of them had questioned whether the servers and their BIOS them self have been setup correctly. More often then not what I’ve seen is that the customer had made no effort to change any BIOS setup, sort of relying on the manufacturer some how knowing what the customer has planned to install on the server.   So hopefully the below will help correct […]

First post

Posted 3 CommentsPosted in Uncategorized

Some thoughts about why i’m here… So I’ve come to the conclusion that i do have something of value to share… It that it wasn’t easy – but one some times need a push and with is many great VMware bloggers, it can seem that theirs not a market for one more blogger, blogging about VMware.   But after much nagging Frank Brix finally got me convinced – Thanks buddy   So what i’m i going to fill this blog with – well i guess most of the work that i’m doing on a daily basis, so what is to […]