The randomly generated password is of 16 characters.
To reset database (DB) password;
- Identify the current password and record it for use in step 4. The current password can be retrieved by reviewing the following file.
# /usr/lib/vmware-updatemgr/bin/configvalues.txt.
For example:
db_password=ueqy&CpO|r1@}w?m
- Stop vSphere Update Manager service, running the command;
service-control --stop vmware-updatemgr
- Define a new password in the same file, for example: '1234567890abcdef'
- Run below command to change postgresql password for vumuser.
- First, run the command below to connect to DB, use password from step 1 (above).
/opt/vmware/vpostgres/current/bin/psql -U vumuser -d VCDB
- Then run the same command to change password for vumuser.
ALTER USER vumuser WITH PASSWORD '1234567890abcdef';
- Modify the password with the new vumuser credentials in the following files:
- /usr/lib/vmware-updatemgr/bin/configvalues.txt
- /usr/lib/vmware-updatemgr/bin/vci-integrity.xml
- Start vSphere Update Manager service.
service-control --start vmware-updatemgr
- Verify that vSphere Update Manager is working via vSphere web client.