Test Result | Result code | Result Interpretation |
---|---|---|
Pass | 0 | vCenter Management passwords cross-checked and logged in successfully |
Warning | 1 | Database entry was corrected. |
Failure | 2 | The saved passwords in the database do not match. |
Critical | 3 | This test has no critical result. |
Sometimes, VxVerify can correct mismatches between the database tables, if auto-fixes are enabled.
Each test that passes is not listed in the summary report, for ease of reading.
Examples of the health-check output are shown below:
#========================#======#=========#====================================================================#==============# | Hostname / Category |Status Dell_KB | Warnings or Failures, unless tests Passed ; Product S.N. | #========================#======#=========#====================================================================#==============# | VxRM | Warning 183455 | saved_pw: PSQL settings table password corrected | | VxRM | Failure 183455 | saved_pw: Runtime.properties user or password incorrect | | VxRM | Failure 183455 | saved_pw: PSQL settings table password incorrect |
PSQL mysticmanager: management_account PSQL mysticmanager: settings runtime.propertiesThe default password to use if there is a conflict is the PSC login from management_account.
A command that can be run on VxRM to manually reproduce this test is:
/usr/bin/psql -U postgres mysticmanager -c "select id,host,component,username,password,status from management_account"
The user and encrypted password are supposed to match the entries in the runtime properties for data.managementUsername and data.managementPassword respectively. This VxVerify test should help to show which of these is wrong and in need of updating.
localos
curl -k --user administrator@vsphere.local -X POST "https://<IP Address VxRail Manager>/rest/vxm/v1/system/update-credential" -H "accept: application/json" -H "Content-Type: application/json" -d "[{\"component\": \"psc\",\"hostname\": \"hostname\",\"username\": \"username\",\"password\": \"xxxxx\"}]"
Example:
curl -k --user administrator@vsphere.local -X POST "https://172.19.4.201/rest/vxm/v1/system/update-credential"" -H "accept: application/json" -H "Content-Type: application/json" -d "[{\"component\": \"psc\",\"hostname\": \"lab01-PSC.cork.local\",\"username\": \"vxrailmgmt\",\"password\": \"VxR@il1234\"}]"