Recently, I upgraded a couple of VMware vSphere ESXi 5.0 servers all the way up to ESXi 6.0 U1 (quite the jump). The process itself is pretty smooth as long as you make sure all your environment compatibility levels check out.
If the ESXi servers are joined to an AD domain via Authentication Services, I’d recommend removing it and setting it back to Local Authentication before starting the upgrade. This can potentially help you avoid an issue where the ESXi server hangs in the upgrade process as it starts to look for the domain (you can always add it back later).
Another caveat that can easily slip by without warning, and the main reason for this post, is the status of the SNMP Server service. It may not start even though it is set to start up with the host. A quick look at the firewall properties will show the service stopped, and if you try to start it you’ll receive “An error occurred during host configuration” popup error:
Call “HostServiceSystem.Start” for object “serviceSystem-1974” on vCenter Server “<server_name>” failed.
The reason for this is that the snmp.xml file in the host gets corrupted during the v5.0 to v6 upgrade process.
To correct this issue I applied VMware KB2056832
cd /etc/vmware
cp snmp.xml snmp.xml.backup
vi snmp.xml
Press i key for insert mode
<?xml version=”1.0″ encoding=”ISO-8859-1″?>
<config>
<snmpSettings>
<enable>true</enable>
<port>161</port>
<syscontact></syscontact>
<syslocation></syslocation>
<EnvEventSource>indications</EnvEventSource>
<communities>public</communities>
<loglevel>info</loglevel>
<authProtocol></authProtocol>
<privProtocol></privProtocol>
</snmpSettings>
</config>
Type <Esc> key then :wq
Press <Enter>
/etc/init.d/snmpd restart
You should now have a working SNMP service!
About Anexinet
Anexinet is a leading professional consulting and services company, providing a broad range of services and solutions around digital disruption, analytics (and big data), and hybrid and private cloud strategies. Anexinet brings insight into how technology will impact how business decisions will be made and how our clients interact with their customers in the future.
Josue Molina, [email protected]
Architect, End User Computing at Anexinet
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
Cookie | Duration | Description |
---|---|---|
cookielawinfo-checbox-analytics | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics". |
cookielawinfo-checbox-functional | 11 months | The cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional". |
cookielawinfo-checbox-others | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other. |
cookielawinfo-checkbox-necessary | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary". |
cookielawinfo-checkbox-performance | 11 months | This cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance". |
viewed_cookie_policy | 11 months | The cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data. |
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.