Posts Tagged ‘VMware’

vChat Episode 23 – The first one for 2012

VMware

Welcome to vChat 23, in this episode David Davis, Eric Siebert and myself talk about…

  • Top Blog voting update, how it work, when we will make the announcements
  • Simon’s trip to Cisco Live UK 2012
  • VMware Partner Exchange (PEX) 2012 Plans (*Update: Unfortunately I will no longer be making it to PEX)
  • and, of course, home labs, iPads, video games, and more!

 

vChat is a regular virtualization video chat covering VMware vSphere, Cloud Computing, Virtualization News, and maybe some geeky humor. Regular contributors are 3 vExperts – Simon Seagrave (TechHead.co.uk), Eric Siebert (vSphere-Land.com), and David Davis (VMwareVideos.com).

 

You can now SUBSCRIBE TO VCHAT on iTunes!

VN:F [1.9.16_1159]
Rating: 0.0/5 (0 votes cast)

VMware Solution Exchange – the new way to shop?

VMware

VMware have recently launched a software marketplace where VMware vendors and developers can peddle their wares to VMware end users.    This new social media integrated shop front has been called the “VMware Solution Exchange” and has been designed to target VMware users from businesses of all sizes who are using either private, public or both forms of Cloud.

For this new ‘solution exchange’ VMware has a healthy eco-system of technology partners and development shops to draw on, over 2000 in fact.  Like so many online marketplaces that you find online these days the VMware ‘Solutions Exchange’ provides the ability for customers to interact and communicate with the partners and developers who pitch their product on this virtual storefront.  Customers can also provide rankings and reviews on the products thereby providing valuable feedback to others, including the vendors.

VMware Solutions Exchange

I personally am a big fan of online marketplaces and from the popularity seen in alternative marketplaces such as Apple’s AppStore I can see this mechanism of testing, reviewing, providing feedback and purchasing growing in popularity for VMware and its partners.  You can check out the VMware online marketplace here.

 

VN:F [1.9.16_1159]
Rating: 0.0/5 (0 votes cast)

Unable to connect to the MKS – VMware vSphere Console Fix

VMware

Here’s an old favourite of mine.  When trying to open a console session to a virtual machine within the VMware vSphere Client you may receive a black screen and the following error message: “Unable to connect to the MKS: Host address lookup for server”, “failed: No such host is known”.

Although there are a couple of things that can cause this error the most common reason is that the host is unable to resolve the name of the VMware ESX or ESXi host on which this VM is running.  As you’d expect this is often caused by a DNS issue or lack of an entry for the ESX/ESXi  host which is stopping the host’s name from being resolved.

VMware vSphere Host address lookup errorFirst of all you may be wondering what the ‘MKS’ part of the error message stands for, well you’ll be disappointed to know that it isn’t an acronym for something high tech and very complicated but rather is stands for; mouse, keyboard, screen.

When you go to request a console session of a VM by clicking ‘Open Console’, the client machine from which you are running the vSphere Client will receive a response back from the ESX or ESXi host providing it’s (ie: the ESX/ESXi host) name to the client machine.  At this point the client then uses the name of the ESX/ESXi host (as provided by the host) to establish communication through to the ESX/ESXi host for the purposes of viewing the VM’s console.

Of course, as you’d expect, if the client machine running the vSphere Client can’t resolve the ESX/ESXi’s host name then the console session cannot be established, hence the “Unable to connect to the MKS”, “Host address lookup” error message.

Troubleshooting & the Fix (not the drug variety):

So how do you resolve this issue I hear you say?  Well, this part is also quite straight forward as all you have to do is enable the PC/laptop running the vSphere Client to resolve the name of the ESX/ESXi host(s).  As you probably know a Windows based PC or laptop will use a local host file or DNS (also WINS with earlier versions of Windows OS) to resolve host names.

To resolve or not to resolve?  That is the question….

Your first step should be to open a command prompt (CMD) on your client and perform a ping to the name of the ESX/ESXi host.  Don’t forget to use the fully qualified domain name (FQDN) of the ESX/ESXi host if this is how the host is registered in the vSphere client.  To avoid any confusion look at the error message as this will contain the name of the ESX/ESXi host, in my example (see below) the name of my ESXi host is ‘esx5-01.domainname’.

 

Unable to connect to the MKS

The ping should, in theory, successfully resolve the ESX/ESXi’s host name to an IP address, if this doesn’t happen then you should ensure that your client PC or laptop is pointing to the correct, and working, DNS that contains an entry for the ESX/ESXi host. Hint: Your internet service provider (ISP) isn’t going to have the names of your ESX/ESXi hosts in their global DNS Smile so ensure you are running a local DNS service (eg: on a Windows Server OS VM) with the names of your ESX/ESXi host(s) entered into it or ….

… You could do the following, which is much easier for small vSphere lab environments, and will get you around needing to install a DNS service….  Note: Most people know about the local hosts file on a Windows OS, though I have included a little more detail to benefit those who weren’t aware of it.

Every modern Windows OS will have something called a local hosts file, which can be found in the following directory: C:\Windows\System32\drivers\etc

Strangely enough this file is called ‘hosts’ – the clue’s in the name. Winking smile

The contents of this hosts file will by default look like this:

VMware vSphere Unable to connect to the MKS

This local hosts file provides you with the ability to add in your own host names and associated IP addresses to your PC or laptop, which are then used by your Windows OS.  When trying to resolve a host name the Windows OS will by default look at this local hosts file first before using alternative name resolution services such as DNS to resolve a host name.

So, all you need to do is enter, and save, into this local host file the name and IP address of the ESX/ESXi host(s) in your vSphere environment.  Just to be on the safe side ensure you create an entry using the ESX/ESXi host’s FQDN and non-FQDN.  After making these changes make sure you save your changes to the local hosts file.  Here is an example of what the formatting would look like:

192.168.1.10    esxhost1
192.168.1.10    esxhost1.yourdomain

Now from a command prompt (CMD) perform a ping to the ESX/ESXi host making sure you use the same name (ie: FQDN or non-FQDN) as seen in the original error message.  Everything going well your client PC/laptop should now be able to successfully resolve the name of the ESX/ESXi host.  If not, take a closer look at your local hosts file again.  Hint:  without the correct read/write permissions set on the hosts file you can’t always save it as it is located in a Windows OS systems directory.

Some people have reported that if the line below has been un-commented (ie: there is no # in front of that line) in the local hosts file then this also causes an issue when trying to establish a console session to a VM:

“# ::1        localhost.localdomain localhost”

At this point you should now be able to open a successful console session via the vSphere Client to your VM.

Other things…

The resolution to the “Unable to connect to the MKS: Host address lookup for server”, “failed: No such host is known” as outlined above is one of the most common fixes though as with anything in IT there are other things that can cause the same or similar issue.

At this point I should also point out that having a firewall block the TCP/UDP port 902 used by the ‘console’ will also provide you with connectivity issues so double check to see if the firewall on your local PC/Laptop or any other firewall in between your client and the ESX/ESXi are blocking this port.  Check out this useful KB article from VMware for a list of all used ports

 

I hope this post has helped resolve your console connectivity issue, though if you have any alternative hints, tips or fixes for the “Unable to connect to the MKS: Host address lookup for server”, “failed: No such host is known” error then please share with others by leaving a comment below. Thanks.

 

VN:F [1.9.16_1159]
Rating: 0.0/5 (0 votes cast)

The VMware VMTN Movement…

VMware

VMware VMTNThere is a movement in the air…  No, not that sort of air movement, but rather the variety where the hearts and minds of an increasing number of people move towards a common goal or objective.  “What is this movement about?” I hear you ask.

Well, it’s all about re-instating the VMware Technology Network (VMTN) subscription, which was cancelled by VMware back in February 2007.  Although a few people have been vocal about VMware bringing back the VMTN subscription in the past, this latest campaign kicked off by well known VMware SRM author, blogger and trainer, Mike Laverick has certainly gained momentum.  Since Mike’s original post back on the 4th November and the associated VMware Community forum thread there has been an overwhelming response from the ever faithful VMware community indicating that they would appreciate the VMTN programme being reinstated again.   

VMware VMTN[7]

So what was the VMTN subscription?  The VMTN was a paid for subscription which allowed you to install and use copies of VMware products for a 1 year period.  If you are familiar with Microsoft’s TechNet or MSDN subscription think of this as the VMware equivalent.

So what are the benefits of using VMTN? Any of you who have subscribed to Microsoft’s TechNet or MSDN programme before will no doubt agree on how useful it is to have full access to Microsoft’s range of OS, application and back office software to run in your work or home lab environment when needed. At present if you want to evaluate one of VMware’s products in your lab environment for an extended period of time you will find yourself, in most instances, having to find a way to generate a new trial key, and also having to reinstall the product itself.  This can be a real hassle!  Though the good news is that …

VMware is listening…

VMware is listeningAs indicated by Duncan Epping’s post here there are signs that VMware are “investigating the option to reinstate the VMTN Subscription program” which, at this early stage, sounds positive.  This VMTN re-instatement movement is certainly building momentum so let’s hope we see a formal announcement from VMware sometime soon.  Although, as Duncan mentions “… starting a program like this does take time and the program will need a serious overhaul”.

I am feeling quietly optimistic that VMware will come through and start offering the VMTN subscription again, which I will definitely sign up for if offered, though I suspect we may have to wait a little while yet.  If/when it does happen this will be great news for all of you running your own home or work vSphere lab and/or studying for a VMware accreditation over a period of a month or two. 

I’d be interested to know your thoughts on this and whether you’d find having a VMTN subscription useful.  Why not leave me a comment below?  Smile

 

 

VN:F [1.9.16_1159]
Rating: 4.8/5 (6 votes cast)

Running VMware vSphere ESXi 5.0 on the HP Proliant Microserver

VMware

HP Proliant Microserver & VMware vSphere 5Those of you that have bought an HP Proliant Microserver for your work or home VMware vSphere lab are probably wondering whether it will work with VMware vSphere 5.0?  Well, the good news is that it does and that even the installation  process goes through without a hitch both to local internal USB pen drive or local disk.  I have tested this with the final RTM version of vSphere ESXi 5.0, not just the beta builds, and can confirm that the CPU, storage controller, memory and network card are detected without a problem meaning that you’re all set to go for when VMware make available the VMware vSphere ESXi 5.0 download available sometime soon. 

With the free downloadable version of ESXi 5.0 the amount of physical memory accessible in the host has been reduced to 8GB so this combined with the fact that the HP Microserver can only take 8GB anyway won’t leave you feeling like you’ve wasted your money on adding extra memory.  Those of you, like myself, that also have an HP Proliant ML110 G6 with 16GB will either have to look at only using 8GB of it’s memory, keep installing the eval license on a regular basis (too much hassle) or purchasing an entry level vSphere license to allow me to access the full 16GB of memory in the server.  Either way, the new exciting features (see my post here for more details) found in VMware vSphere 5.0 is too much of a temptation to leave my vSphere lab servers at vSphere 4.1.

 

HP Proliant Microserver & VMware vSphere 5 - Summary

VMware vSphere and HP Proliant - CPU

HP Proliant and VMware vSphere 5 - Memory

HP Proliant Microserver & VMware vSphere 5 - Storage Adapters

HP Prolian Microserver & VMware vSphere 5 - Network Adapters

VN:F [1.9.16_1159]
Rating: 0.0/5 (0 votes cast)