How to properly reset vSphere vRealize Operations (vrops) the admin password

If you deployed vrops and associate the vlog insight, one day after you modify for security or other reasons the vrops the admin password, then the occurrence of a disaster, the first time you log in you will be prompted vrops admin the password is wrong, then you go to the next ssh login root, change the password logic in accordance with established linux to reset the admin password, this time no matter if you comply with the password rules, you will be prompted to log in when you login fails.

You may go to modify vrops of /storage/vcops/user/conf/adminuser.properties in the failed_attempts and time_last_failure by google to solve, but to be honest, to me, is invalid.

The reason is the vlog insight would have been wrong with the old password to try to sign in vrops acquisition-related logs, but you changed the password, it will lead to failed attempts he has been a direct result of vrops the admin password to lock. So just when you thought wrong password and change the password to log in again finish time will continue to fail.

The following is the official KB Solution: reset the admin password and unlock

  • The root ssh login vrops
    • vrops default root password is empty, when you first log in directly to return home empty password, you will be prompted to modify, old password is empty
  • Check to see if there have been mistakes /storage/vcops/user/conf/adminuser.properties logins and times
  • $VMWARE_PYTHON_BIN $VCOPS_BASE/vmware-vcopssuite/utilities/sliceConfiguration/bin/vcopsSetAdminPassword.py --reset
  • You will be prompted to enter a new admin password, and verification
  • 完成后会提示:Save exiting admin user credentials into backup file Removed backup of admin user credentials.Password set.

Related Links

https://docs.vmware.com/en/vRealize-Operations-Manager/7.5/com.vmware.vcom.scg.doc/GUID-E9FBD449-47A0-4FF2-A671-267D5065C597.html

https://kb.vmware.com/s/article/2078313?lang=en_US&queryTerm=vcopsSetAdminPassword&queryTerm=vcopsSetAdminPassword

Guess you like

Origin www.cnblogs.com/xddsq/p/11334845.html