Skip to main content

How to fix | ESXI Virtual SAN Health service installation


I encountered an issue with the ESXi Virtual SAN Health service installation in one of the vSAN cluster,


ESXI Virtual SAN Health service installation_error










Step 1 :
I checked whether all the ESXi hosts are running on the same version or not,
VMware ESXi 6.0.0 build-5224934 VMware ESXi 6.0.0 Update 3 on ESX1
VMware ESXi 6.0.0 build-5224934 VMware ESXi 6.0.0 Update 3 on ESX2
VMware ESXi 6.0.0 build-5224934 VMware ESXi 6.0.0 Update 3 on ESX3
VMware ESXi 6.0.0 build-5224934 VMware ESXi 6.0.0 Update 3 on ESX5
VMware ESXi 6.0.0 build-5224934 VMware ESXi 6.0.0 Update 3 on ESX4
They are in the same version so we can go check whether vSAN health VIB is installed or not.
From the KB https://kb.vmware.com/s/article/2109874,
On vSphere 6.0 Update 2 release, none of the other health checks will be conducted until all the hosts are upgraded to 6.0 Update 2 (when running the latest version, vSAN 6.2) release to avoid false alarms.  But we have all the ESXi hosts in ESXi 6.0 Update 3
"Install the vSAN Health Service VIB on all the ESXi hosts that are participating in the vSAN cluster, or update the ESXi host to the version that is indicated in the error field. "
Step 2: 
We have all the ESXi hosts in the same version so no need this option is ignored. The only available option is to check if the vSAN health service VIB installed on the host or not.
vsanhealth                6.0.0-3000000.3.0.3.58.5224738         VMware  VMwareCertified   2017-04-13   on ESX1
vsanhealth                6.0.0-3000000.3.0.3.58.5224738         VMware  VMwareCertified   2017-04-12   on ESX2
vsanhealth                6.0.0-3000000.3.0.3.58.5224738         VMware  VMwareCertified   2017-04-13   on ESX3
vsanhealth                6.0.0-3000000.3.0.3.58.5224738         VMware  VMwareCertified   2017-04-13   on ESX5
vsanhealth                6.0.0-3000000.3.0.3.58.5224738         VMware  VMwareCertified   2017-04-13   on ESX4
And the VIB is installed on all the ESXi hosts in the cluster.
Step 3 : 
So te next is to check the vsangmgtd health state on the ESXi host ESX4 where ESXi Virtual SAN Health service installation status is uknown.
[root@esx4:/var/log] /etc/init.d/vsanmgmtd status
vsanperfsvc is running
[root@esx4:/var/log] cat /var/log/vsanmgmt.log
++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2017-11-28T04:48:23Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [statsdaemon::logDaemonMemoryStats] Failed to get memory stats: Bad parameter
Traceback (most recent call last):
  File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/statsdaemon.py", line 580, in logDaemonMemoryStats
  File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/statsdaemon.py", line 593, in _checkAndLogMemoryStats
ValueError: Bad parameter
2017-11-28T04:48:28Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [cliutils::GetVSANClusterInfo] Failed to query cluster info: Failed to alloc memory for text
Traceback (most recent call last):
  File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/cliutils.py", line 69, in GetVSANClusterInfo
  File "/usr/lib/vmware/hostd/hmo/VsanInternalSystem.py", line 205, in DecodeEntry
    return eval(pyCMMDS.BinToTextPolicy(e.dataStr, True, style))
RuntimeError: Failed to alloc memory for text
2017-11-28T04:48:28Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [statsdaemon::logDaemonMemoryStats] Failed to get memory stats: Bad parameter
Traceback (most recent call last):
  File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/statsdaemon.py", line 580, in logDaemonMemoryStats
  File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/statsdaemon.py", line 593, in _checkAndLogMemoryStats
ValueError: Bad parameter
2017-11-28T04:48:33Z VSANMGMTSVC: ERROR vsanperfsvc[MainThread] [cliutils::GetVSANClusterInfo] Failed to query cluster info: Failed to alloc memory for text
Traceback (most recent call last):
  File "/build/mts/release/bora-5224738/bora/build/esx/release/vsanhealth/usr/lib/vmware/vsan/perfsvc/cliutils.py", line 69, in GetVSANClusterInfo
  File "/usr/lib/vmware/hostd/hmo/VsanInternalSystem.py", line 205, in DecodeEntry
    return eval(pyCMMDS.BinToTextPolicy(e.dataStr, True, style))
RuntimeError: Failed to alloc memory for text
++++++++++++++++++++++++++++++++++++++++++++++++++++++
[root@esx4:~] /etc/init.d/vsanmgmtd restart
watchdog-vsanperfsvc: Terminating watchdog process with PID 34190
vsanperfsvc started
After restarting the vsanmgmtd service, ESXI Virtual SAN Health service installation error has been disappeared and all the vSAN healths are available now.

ESXI Virtual SAN Health service installation_Green












In case if you want to install the health service on ESXi there are four installation options for the health VIB:
1. Enable health check plugin via vSphere web client
2. RVC, the Ruby vSphere Console
3.VUM, the VMware Update Manager. Use of VUM is outside the scope of this document and users are directed to the official vSphere documentation on how to use VUM to install VIBs.
4.Manual install at the ESXi command line. This is done using ESXCLI software VIB commands.
VMware recommends option 1 for ease of install, but the steps to install via option 2 are also covered here.

Read: https://www.vmware.com/content/dam/digitalmarketing/vmware/en/pdf/products/products/vsan/vmw-gdl-vsan-health-check.pdf ( From Page 12)

Comments

  1. Interesting Article. Hoping that you will continue posting an article having a useful information. Executive Health Check up tests in Sydney

    ReplyDelete
  2. Singapore & Malaysia Veg Tour Group Package from Mumbai | NFTT WORLD

    International Veg Tour Packages - Explore your dream holiday destination (Singapore, Malaysia) with your family, friends, and special ones at a discounted price by NFTT WORLD.

    For more Details Visit our Website : Himachal Manali Shimla Tour

    ReplyDelete
  3. Point Cook Health Centre

    We’re here for you with a range of services. Chiropractic, Massage, Podiatry and Homeopathy. Conveniently located at 17 Dunnings Road, Point Cook.

    For more Details Visit our Website : Point Cook Chiropractor

    ReplyDelete
  4. Hair Lost & Hair Growth Treatment For Men - Bioscor International

    What is the most effective treatment for regrowing hair and preventing hair loss? We evaluated value by testing products, studying trial results, and analysing trial results. Contact us for more information.

    ReplyDelete
  5. This comment has been removed by the author.

    ReplyDelete
  6. Chiro Thomastown

    Looking for Family Chiropractic Care in Thomas Town? The Thomas Town family chiropractors at Wellbeing provide treatment for various conditions that affect the nervous system and the musculoskeletal system.

    ReplyDelete
  7. Werribee Chiropractor

    Chiropractic Care Chiropractic care deals with a range of conditions affecting the musculoskeletal system. It involves diagnosing, treating, and preventing mechanical disorders. With many techniques used in chiropractic treatment, our Werribee Chiropractors use a number of combinations to identify the right treatment for patients in our care.

    ReplyDelete
  8. Wollert Chiropractor

    Wellbeing has a dedicated team of experienced chiropractors, known for providing research-based treatments. Having treated numerous patients requiring chiropractic care, our team of Wollert Chiropractors has helped many patients with their musculoskeletal health and injury concerns. To know more call us at (03) 9020 2072 to book your chiropractic appointment today.

    ReplyDelete
  9. Transform Your Look with Melbourne's Premier Hair Loss and Skin Clinic - Bioscor International

    Bioscor International offers a range of natural hair regrowth treatments and specialist hair loss services at our Australian Clinics in Melbourne & Perth.

    Website : https://bioscor.com.au/

    ReplyDelete
  10. Point Cook Chiropractors | Available 7 Days | Wellbeing Chiropractic

    Our dedicated team of Point Cook Chiropractors is known for offering research-based treatments that helped many patients with their musculoskeletal health and injury concerns. Call us today.

    ReplyDelete
  11. Reservoir Chiropractors | Available 7 Days | Wellbeing Chiropractic

    Our dedicated team of Reservoir chiropractors is known for offering research-based treatments that helped many patients with their musculoskeletal health and injury concerns. Call us today.

    ReplyDelete
  12. Our Services | Wellbeing Ringwood Chiropractic

    We are licensed Chiropractors in Ringwood. We offer range of services to the patient such as, massage, chiro treatment, emergency room hire and many more.

    ReplyDelete
  13. Wyndham Vale Chiropractors | Available 7 Days | Wellbeing Chiropractic

    Our dedicated team of Wyndham Vale Chiropractors is known for offering research-based treatments that helped many patients with their musculoskeletal health and injury concerns. Call us today.

    ReplyDelete
  14. Brunswick Chiropractors | Available 7 Days | Wellbeing Chiropractic

    Our dedicated team of Brunswick Chiropractors is known for offering research-based treatments that helped many patients with their musculoskeletal health and injury concerns. Call us today.

    ReplyDelete
  15. Our Services | Wellbeing Chiropractor

    Wellbeing Chiropractor provides you quality and thorough Chiropractic Services in Roxburgh Park. Schedule your appointment at Wellbeing Chiropractor today. Call (03) 90202614.

    ReplyDelete
  16. Our Services | Wellbeing Chiropractor

    Wellbeing Chiropractor provides thorough Chiropractic Services in St Albans. Call us at (03) 90202614 for appointments at Wellbeing St Albans Chiropractor.

    ReplyDelete
  17. Our Services | Wellbeing Chiropractor

    Wellbeing Chiropractor employs effective chiropractic techniques. Get a thorough examination, diagnosis, and treatment on your first visit. Call (03) 8001 4015.

    For more Details Visit our Website : Sunbury Chiropractor

    ReplyDelete
  18. Our Services | Wellbeing Chiropractor

    Wellbeing Chiropractor is your local Chiropractor in Tarneit that provides trusted chiropractic services to people of all ages. Call (03) 9020 7349 to book an appointment.

    ReplyDelete
  19. Our Services | Wellbeing Chiropractor

    Wellbeing Chiropractor provides thorough Chiropractic Services in Richmond. Call us at (03) 9021 8606 for appointments at Wellbeing St Albans Chiropractor.

    ReplyDelete
  20. About Us | Wellbeing Chiropractor

    Wellbeing Chiropractor focuses on providing you the high-quality Chiropractic Care in Manor Lakes. Call us at (03) 9008 5992 or book an appointment online now.

    ReplyDelete
  21. Rosanna Chiropractor | Wellbeing Chiropractor

    Wellbeing Chiropractor is a leading Chiropractic Centre and has been serving the Rosanna & local areas for years. Call and book an appointment at (03) 9458 3255.

    For more Details Visit our Website : Rosanna Chiropractor

    ReplyDelete
  22. The integration of virtual reality in diverse industries set the stage for vartuial's expansion https://petrogalant.com/

    ReplyDelete
  23. Thank You and I have a nifty supply: How Much Renovate House home additions near me

    ReplyDelete

Post a Comment

Please leave your valuable comment to improvise the content.