ConfigMgr

VMware, Azure and Automation

VxRail Cluster Health Monitoring disabled

11 mei 2023 Solutions VMware

A while ago I had to change a disk in a vSAN disk group and for some reason, the Physical Health view in vCenter showed the information of the old disk. A closer look told me that Health Monitoring was not enabled so I selected the cluster and looked at Configure, VxRail, Health Monitoring. Health Monitoring was indeed disabled. So I enabled it.

But after a few moments, I noticed that it was disabled again. Huh?

When I opened the VxRail plugin in vCenter I saw a warning that the password for the management account was expired. So I reset the password of that user in vCenter and changed the password through the interface. See this article from Dell.

But now I got a message saying the account was locked. So I unlocked it. But after a few moments… locked again. So for some reason, the password was not updated.

You can also change the password through the console. Open the console of the VxRail Management VM and log in as root. First, check the status of the current account.

curl --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock -X GET 'http://localhost/rest/vxm/internal/lockbox/v1/credentials?lockbox_name=SYSTEM&credential_names=management_account_vc'|jq

Expired is not good so I wanted to change the password. The command for changing the password needs a password that is Base64 encoded. So run this command:

echo -n 'Type plain text PW here' | base64

And finally, change the password with this command:

curl -X PUT --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock -H "accept: application/json" -H "Content-Type: application/json" -d '{"lockbox_name":"SYSTEM","credentials":[{"credential_name":"management_account_vc","username":"VC management account user name","password":"Insert encoded PW here"}]}' 'http://localhost/rest/vxm/internal/lockbox/v1/credentials [localhost]';

You can use the first command again to check the account status. After the change, I did restart vmware-marvin and runjars (systemctl restart) but when I enabled Health Monitoring it stays enabled. And, more importantly, the disk information is now up-to-date.

healthmonitoringvxrail

Handy one-liners

VxRail Console Commands

Recent Posts

  • Using API for Aria OPS Chargeback
  • Unable to set reservation on Org VDC
  • Veeam Tweaks
  • VCF Anyone? Get your license for free…
  • Configure Entra ID as Cloud Director IdP

Recent Comments

Geen reacties om te tonen.

Archives

  • april 2025
  • maart 2025
  • november 2024
  • oktober 2024
  • januari 2024
  • november 2023
  • oktober 2023
  • september 2023
  • juni 2023
  • mei 2023
  • april 2023
  • november 2022
  • maart 2021
  • februari 2021
  • januari 2021
  • november 2020
  • oktober 2020
  • september 2020
  • juli 2020
  • juni 2020
  • april 2020
  • maart 2020
  • februari 2020
  • oktober 2019
  • september 2019
  • juli 2019
  • juni 2019
  • mei 2019
  • maart 2019
  • februari 2019
  • januari 2019
  • december 2018
  • november 2018
  • april 2018
  • januari 2018
  • juli 2017
  • juni 2017
  • mei 2017

Categories

  • AnyLinq
  • Azure
  • Cloud Director
  • ConfigMgr
  • DIY
  • HomeAssistant
  • Microsoft
  • PowerCli
  • Powershell
  • SCCM
  • Script
  • Solutions
  • System Center
  • Veeam
  • VMware
  • vRealize Automation
  • vRealize Orchestrator
Proudly powered by WordPress | Theme: Doo by ThemeVS.