Add missing ESXi root credentials into SDDC Manager
search cancel

Add missing ESXi root credentials into SDDC Manager

book

Article ID: 388859

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer

Issue/Introduction

Purpose of the KB is to create missing root credential entries for imported ESXi hosts to the SDDC Manager Password Management by using a script.

Environment

  • VMware Cloud Foundation 5.x
  • VMware Cloud Foundation 9.0.x
  • VMware Cloud Foundation 9.1.x

Cause

The VCF Import Tool does not capture the ESXi root credentials during import or convert operations.

Resolution

  1. Take a snapshot of the SDDC Manager virtual machine (VM).
  2. Open an SSH connection to the SDDC Manager appliance and login with the vcf user.
  3. Elevate to root using su.
  4. Copy the addEsxiRoot.py script attached to this article to the /home/vcf/ directory.
  5. Run the script as root user with:
    # python addEsxiRoot.py

Additional Information

If the root credential passwords are lost, use Reset ESXi host root password with Host Profile to reset the root account and then follow above resolution steps.

Attachments

addEsxiRoot.py get_app