To look up the account credentials for the built-in accounts that are managed and rotated by SDDC Manager, you log in to the SDDC Manager virtual machine using the root account credentials and run the vrm-cli.sh lookup-password command using the vrm-cli tool located in the /home/vrack/bin directory.
You must have the root account credentials to log in to the SDDC Manager VM and run the vrm-cli.sh lookup-password command. See Credentials for Logging In To the SDDC Manager (vrm) Virtual Machine.
- Using the root account, connect and log in, for example by SSH, to the SDDC Manager VM.
- Change to the /home/vrack/bin directory.
- Stop the vrm-watchdogserver and vrm-tcserver services.
service vrm-watchdogserver stop service vrm-tcserver stopNote:
Even though the
./vrm-cli.sh lookup-passwordcommand can run without stopping the services, it is a best practice to stop the services before running any vrm-cli.sh command.
- Obtain the account credentials list by typing the command:
The output displays the account credentials and IP addresses for the physical and logical entities on which the vrm-cli tool operates. The username and password for each account is displayed.
- (Optional) Save the command output to a secure location so that you can access it later and use it to log in to the components as needed.
- If you are not going to run any other vrm-cli.sh commands, restart the vrm-watchdogserver service, which also restarts the vrm-tcserver service.
service vrm-watchdogserver start
If you are going to run other vrm-cli.sh commands, leave the services stopped until you are finished running those commands and then start them.