Wednesday, September 28, 2011

Ghost VMkernel Adapter

I came across a strange issue recently when configuring a new vDS in vSphere 5.  I had already configured two VMkernel adapters but for some reason one of them half created.  Only one was visible when viewing the vDS settings on the host:

image

When attempting to create a new one I’d receive a message stating that one already existed (apologies I don’t have the screen shot as I fixed it before creating this post).  I was unable to locate this within vCenter or even when connecting directly to the host.  Only way I could resolve it was to enable and connect to the host via SSH and list all VMkernel adapters with the following command:

esxcli network ip interface list

image

Now I could see the offending adapter.  Next option was to remove it:

esxcli network ip interface remove –i <Adapter name>

image

Now when listing the adapters again it was successfully remove and could be re-added again within vCenter.

Wednesday, August 10, 2011

Book Review - vSphere Clustering - Technical Deepdive

Duncan Epping and Frank Denneman have done it again.  Following the success of HA and DRS - Technical Deepdive for vSphere 4.1 they have released vSphere Clustering - Technical Deepdive for vSphere 5

The book is available in Black and White, Colour and also for the Kindle.  I opted for the full fat colour version which I ordered from the USA as it wasn't available in the UK.  The full colour version doesn't disappoint due to the sheer amount of diagrams used to explain some of the concepts.

Chapters 1 through 9 go through vSphere High Availability (HA) and also go in depth over the changes in HA with vSphere 5.  No longer do we have the concept of primary and secondary nodes and the issues that can arise in the event of losing all primary nodes. vSphere 5 HA was completely re-written and uses FDM (Fault Domain Manager) which has the concept of master and slave nodes within a cluster.  The book also goes in depth about the new HA datastore heartbeat which can be used in the event of loss of the management network.  HA is one of those features that people take for granted since it can pretty much be configured with a few clicks and "just works".  These chapters go into the inner workings of HA and are a must for anyone designing vSphere environments.

Chapters 10 through 19 go in depth, and I mean really in depth, in the changes to Distributed Resource Scheduler DRS within vSphere 5.  Once again, DRS is one of those technologies than can be enabled with a few clicks and pretty much forgotten about.  These chapters explain every inch of DRS and how it goes about making the decisions that ultimately affect where a VM is migrated or a host is powered down to save power consumption.  Some of the concepts can be quite difficult to follow but nearly all discussions are followed up with flow diagrams that further explain the theory.  I found myself having a read some sections a couple of times to let the information sink in and then the flow diagrams reinforced it.

Chapters 20 through to 26 explain about the new vSphere Storage DRS (SDRS).  This is a new feature in vSphere 5 that allows monitoring of datastores for disk space and disk latency and either make recommendations or, in automatic mode, perform the actual recommendation.  SDRS will ensure all datastores are load balanced for disk IO and space as best it can whilst also taking into consideration any affinity or anti affinity rules you have.  The chapters explain all setting (including advanced) that you have at your disposal and how certain decisions can affect others.

Once again, the guys have produced an excellent technical resource that just shows that HA, DRS and SDRS are extremely useful and advanced features of vSphere that all production environments should utilize.

Tuesday, July 5, 2011

UK North East vBeers

Interested in VMware?
Live in/or near the North East of England?
Like beer?

Then why not join the UK North East vBeers first meeting:

http://www.vbeers.org/2011/06/27/vbeers-%E2%80%93-north-east-england/

Time to start blogging again...

I've been pretty slack recently in blogging and I'm going to try and change going forward.  Work's been pretty hectic over the last few months with an Exchange 2003 to Exchange 2010 migrations (Which is nearly finished) and various other projects.  I now have a bit of time free to concentrate on rebuilding my home vSphere lab.  I'm planning on rebuilding the entire environment including all VM's due to the various changes that have been made to the over the years.  I'll hopefully keep you updated.

Saturday, December 18, 2010

vCenter Alarms not triggering

I’ve recently just finished upgrading our vSphere environment from ESX4.0 to ESXi4.0 and encountered a strange issue with alarms.  We have custom alarms for when a datastore is overprovisioned and when a snapshot exists.  When building our two new vCenter 4.1 servers I configured these alarms so they were ready for when I connected the ESX hosts ready to rebuild.  Once I connected all our ESX hosts and add the VM’s to the inventory none of the alarms would trigger.  I knew we had datastore’s that were overprovisioned and I also created a snapshot for a VM to see if the alarm would trigger.  None of the custom alarms would trigger.  In order to resolve this I had to go into the alarm definition, disable the alarm, OK the command and then re-enable:

image

Obviously this had something to do with me creating the alarms before having any VM to apply it to.  Just something to watch out for.

Tuesday, November 16, 2010

SRM 4.1 Installation Error – XML Document is Empty

After installing and configuring the array manager in SRM 4.1 I received the following error message:

image

I had installed SRM 4.1 and the EMC MirrorView Site Recovery Adapter version 1.4.01 as we have two EMC CX4-240 SAN’s.  After looking at the installed software on our current SRM 4.0 installation is looks like I needed the Solutions Enabler software from the EMC PowerPath site.  I uninstalled the EMC SRA and installed the x64bit version of the Solutions Enabler, reinstalled the SRA and restated the SRM service.  After this I was still receiving the error message listed above.  I noticed that the SRA was x86 so I installed the x86 version of the Solutions Enabler and this worked successfully.

Friday, November 5, 2010

Book Review – Maximum vSphere by Eric Siebert

I’ve just finished reading the excellent Maximum vSphere book by Eric Siebert.
image

The book is 14 chapters long with 363 pages and contains information regarding vSphere (mainly 4.0 but also references 4.1).  I found this book an extremely thorough and found a lot of information that I previously didn’t know.  I was extremely impressed with Chapter 7 which contains information on monitoring performance within vSphere.
Simon Seagrave also produced some content for the book which I think was Chapter 14 which was how to go about building your own vSphere lab.  Once again, another excellent chapter which contained a wealth of information.