When working with a customer recently to install NSX-v into a lab environment, we were faced with hosts which would fail when we went through the Host Preparation steps to install the NSX VIBs.
As it turns out, it wasn’t the usual problems of incorrect DNS or a firewall causing issues but rather vSphere Update Manager (VUM) which was causing the issue.
So from what I can deduce, it seems that when you Click the install button to prepare a cluster, EAM is used to install a VIB onto the ESXi hosts within that cluster, an agency is created within EAM for that specific cluster and within the cluster specific agency the following config option is set by default.
<config> <bypassVumEnabled>false</bypassVumEnabled> </config>
This field seems to indicate that if you have VUM installed in your environment, EAM will check with VUM when installing VIBs. In the case of this particular customer, the VUM server was offline due to other issues and the installation of the VIBs was failing the VUM check.
VMware has released a KB article (http://kb.vmware.com/kb/2053782) which runs through how to fix the issue, however it is not abundantly clear on all the steps. We found this out the hard way!
To resolve the issue, these were the steps we followed.
Open a browser to the EAM specific MOB at the following URL
https://vcenter_ip_address/eam/mob/
Remember to put the trailing / otherwise you will get a wierd error message
When prompted, enter the appropriate admin credentials and you should end up on a screen similar to the following:
Now in this particular lab environment I only have a single cluster defined. You can see the agency created for the cluster:
Click on the agency value which should bring you to the following screen:
To view the current configuration of the agency, click the config link. The current configuration will be displayed on the screen:
The value for bypassVumEnabled is set to false (Default). Now go back to the previous screen, and click on the Update link.A windows similar to the following will pop up. It will be significantly smaller that what I am showing here, however you can resize both the browser window & the text field.
Now this is where thing became a bit ambiguous. As this method is a update method, you only need to supply the details which you want to update. We made the mistake of editing the config in the picture above however it never worked.
So what you need to do is to delete everything in the VALUE text box, and replace it with the following:
<config> <bypassVumEnabled>true</bypassVumEnabled> </config>
Then click on Invoke Method to update the agency configuration.
If all goes well, the message Method Invocation Result: void is displayed which means it has worked (this stumped me too as initially I had thought it failed).
And now the agency config now shows the bypassVumEnabled value to be true.
Repeat the above steps for each cluster you want to run the Host Preparation on. If the agency doesn’t appear in the list yet, run through the Host Preparation steps and wait for it to fail. An agency should then be created which will then allow the agency config to be changed.
And last but not least, Host Preparation should now complete and the NSX VIBs should install onto the ESXi hosts successfully.
Thanks for the Post , It solved my issue was looking for VMware KB Article which is not clear as what needs to be done and finally your post helped me resolve the issue
Thanks a Lot.It was very useful and resolved my issue.
Nice one, help me out, thanks for the post.
This was very useful for me and I think is my issue. Unfortunately when I perform the “Invoke Method”, it states VOID, but then when I refresh the page, it still stays false.
Am I missing something?
The same for me. Did you solve the problem?
I think I ended up scrapping it all together and going a different route. We were testing some solutions and this didn’t work out.
I may be going back to double check on it. Sorry I don’t have anything at the moment.
Did you solve it Dave? i am at that point :c
bypassVumEnabled boolean “Unset”
when I perform the “Invoke Method”, it states VOID, but then when I refresh the page, it still stays Unset.
me same case did u manage to solve it
me same problem did you manage to solve it
I have same probleme, did someone solve this ? thanks