Brian's Virtually Useful Blog

Lab Manager API deployment issue

August 2, 2011

Spent the last few days troubleshooting an issue, initially, we thought it might be a fenced vs. unfenced configuration conflict, but when users try to deploy Lab Manager environments from the API tool we wrote in house, the following error was generated:

=========================================

Unable to deploy virtual machines in resource pool "LBM4".

  • DRS failed to find hosts to deploy the virtual machines on the resource pool "resgroup-32975".
    • DRS failed to find host for virtual machine "049104-DC". vCenter reported: This operation would violate a virtual machine affinity/anti-affinity rule.
      • Unable to find host for virtual machine "RuleViolation".
    • DRS failed to find host for virtual machine "049105-VCM". vCenter reported: This operation would violate a virtual machine affinity/anti-affinity rule.
      • Unable to find host for virtual machine "RuleViolation".
    • etc…..

=========================================

Since verything worked great from the Lab Manager UI, we knew it must be an API issue, it turns out the answer was that the old script from the Lab Manager 3 days was using the “Do Not Span Hosts” option.

Of course you want to span hosts in Lab Manager 4 !!

vCloud User and Resource Organization

July 25, 2011

I’ve been struggling with understanding how PvDC’s(Provider vDC), Org vDC’s(Organization vDC), Organizations all relate inside of vCD.  I drew up a graphic that helps me understand, hope it helps you as well.

vCloud

Click the picture for a full size graphic.  Thanks to our resident vCloud expert @tomralph for helping me understand

vCD (vCloud Director) Provider vDC Setup problem

July 19, 2011

You click “Add Provider vDC”, then you select your vCenter server, but the clusters you want to add do not show up in the right hand panes under “resource pool” and “VC Path”.  The reason is that you don’t have DRS setup on the clusters, Cloud Director will need that to create the resource pools while setting up the Provider vDC.

R.I.P. my first iPad2 4/4/11 to 7/8/11

July 11, 2011

broken_iPad

Oh how I barely knew you, only a little over 3 months old before you were dropped to you death by my 7 year old daughter on the tile floor.  I always assumed we'd part because you’d get stolen out of my car. Why didn't she break my old iPad1?

Luckily, the story has a happy ending, when googling to find a repair shop, I found a number of people saying that apple had replaced their iPad for free as a one-time-only courtesy.  I went down to my local apple store, they did give me a replacement iPad right there on the spot, with a warning that next time it will cost me $350 to repair it.  Thank you Apple, nice job, very classy move.  I was most likely going to go with a droid tablet next time, now the decision will start out leaning twards and iPad3.

Minimum vCM (VMware vCenter Configuration Manager) 5.4 install

July 8, 2011

What you’ll need:

1) Hardware and Software Requirements Guide

2) Copy of vCM Software

3) License File

4) SQL 2008 R2 Software

5) SQL XML SP3

6) Windows 2008 R2 Server

7) At least one Domain Service Account

8) Add local hostname & local DC’s to the “hosts” file

9) Turn off IE ESC (at least for administrators)

10) Remote Desktop On & Firewalls Off

11) turn off UAC, enable IIS AD Auth

Can’t modify-edit-save hosts file under 2008 R2

July 1, 2011 · 1 comment

Click on the windows button, then type in “notepad” in the search box, you will see the notepad icon near the top of the window.  Right click it, “run as administrator” then open the file “%windir%\System32\drivers\etc\hosts” then go ahead and edit it.

Setting google as the default search engine for IE (internet explorer)

June 19, 2011
Apparently Microsoft has decided to rule the search engine world by confusion. Now when you try to select google as your search engine, you get this huge insane page called "Internet Explorer Gallery Add-ons" that suggest betty crocker and news 6 as your search engine, google is nowhere to be found, and when you do find it, it doesn't work. I say bypass that whole mess and use this link to add google as your default search engine.

http://www.microsoft.com/windows/ie/searchguide/en-en/default.mspx

Edit: Updated URL
http://www.iegallery.com/en/addons/detail.aspx?id=813

NetApp can’t see our HP Blades and vice-versa

June 17, 2011

After much troubleshooting, we found that the Cisco MDS did not have NPIV enabled, apparently it’s required when using a HP Flex 10 with FCoE  After that we were good to go. 

Moving a vCenter server into a EVC cluster.

June 17, 2011 · 5 comments

It’s a catch 22 scenario, you want to run your vCenter server in a cluster with EVC enabled, but you can’t build/manage a cluster without vCenter running so here is how you do it.

1) Build vCenter  on ESX server 1

2) Build a cluster in vCenter, enable EVC and place ESX Server 2 in that cluster.

3) Power down vCenter Server(s),. open vSphere client, connect to ESX server 1, remove the vCenter VM(s) from inventory (DO NOT delete from disk). close vSphere client

4) Open vSphere client, connect directly to ESX server 2.  Browse the datastore for the vCenter VM(s).  Connect to them, power them up.

5) You can now connect to the vCenter and move ESX server 1 into the EVC cluster.