To reset the lost forgotten root password in vCenter Server Appliance 6.5:
- Take a snapshot or backup of the vCenter Server Appliance 6.5 before proceeding. (Do not skip this step.)
- Reboot the vCenter Server Appliance 6.5.
- After the OS starts, loading the Photon splash press e key to enter the GNU GRUB Edit Menu.
- Locate the line that begins with the word Linux.
- Append these entries to the end of the line:rw init=/bin/bash
The line should look like the following screenshot:

- Press F10 to continue booting.
- In the Command prompt, enter the command passwd and provide a new root password (twice for confirmation):
passwd
- Unmount the filesystem by running this command:
umount /
- Reboot the vCenter Server Appliance 6.5 by running this command:
reboot -f
- Confirm that you can access the vCenter Server Appliance 6.5 using the new root password.
- Remove the snapshot taken in Step 1 if applicable.
More information: VMware
Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.
More Posts - Website
Follow Me:


Start Profile Wizard after you have entered Maintenance Mode

– Select: Create Profile from existing host

– Select host (in maintenance mode)

– Profile details: Reset root password

– Finish the host profile creation
On the left pane select your new host profile and right-click and select edit profile:

– Select: Root password reset > Security configuration > SSH authorized key for root user
Note: check or deselect specific host profile configurations to enable or disable them. A disabled configuration will not be applied when applying the host profile and hosts will not be checked for compliance with that configuration
Now click OK and we’ll start attaching the host of which we want to reset the password. Click ‘Attach Host/Cluster’ and select the right host, click Attach and then OK.
Voila, the root account of the host has been reconfigured and you should be able to log in again. Now the only thing left is to detach the host from the profile.
Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.
More Posts - Website
Follow Me:


Today I created some new NFS volumes at a NetApp FAS2040, after I configured the datastores in vSphere I couldn’t write files and folders, warning message:
Call "FileManager.MakeDirectory" for object "FileManager" on vCenter Server "server.domain.local" failed.
Solution:
I forgot (stupid me) to configure the correct access rights, in the NetApp OnCommand System Manager:
Storage > Exports > select Export Path > add the correct rights + IP addresses for the configured VMware VMkernels:

I added the IP-addresses from the VMkernel ports with Root Access and I was able to create new files to the datastores.
Sander Daems is founder and author of this blog and working as a Lead (Sr.) Consultant by UNICA ICT Solutions. Sander has over 15 years experience in IT, primary focus: virtualization and modern worksplace.
More Posts - Website
Follow Me:


Recent Comments