Reset ESXi Root Password using VMware Host Profile

简介:

Host profile is nothing but a blueprint of configuration settings that you can apply to an ESXi host to change its configuration. You can configure one ESXi host with all the settings as per your enterprise standard and extract the profile from a host. This extracted profile will act as a blueprint and can apply to another ESXi hosts to maintain a consistent configuration across ESXi hosts in your infrastructure and also saves a lot of time in the confguring ESXi host after the build.

To Create Host profile, Login to vCenter Server using vSphere Web Client. Click on Host Profile icon on the home page of the vSphere Web Client. Click “Extracted Profile from a host” to extract a profile from ESXi host with the known root password.

reset ESXi root Password using Host Profile

Select the ESXi host from which you want to extract all the settings from. Click Next.

reset ESXi root Password using Host Profile

Specify the name and description for the host profile. Provide the description for the host profile which helps you to identify the purpose of this profile.


reset ESXi root Password using Host Profile

Once the host profile is created. Select the Host profile and  Right-click the Host profile  -> Click Edit Settings 

reset ESXi root Password using Host Profile

For quicker navigation to the Root Password settings in Host Profile, Search for Root in the search box.  Select the “Fixed Password Configuration” under Password and specify the standard root password which you want to apply to the ESXi host with forgot root password.

reset ESXi root Password using Host Profile

Deselect all other configuration such as Networking Configuration, General System settings, advanced configuration, Storage configuration, etc. of the host profile except  Security > User Configuration > root. Click Finish.


reset ESXi root Password using Host Profile

Under Actions menu ->Attach/Detach Hosts to attach the ESXi host to apply this host profile to reset the root password or you can click on the below-highlighted symbol to attach or detach host to this host profile.

reset ESXi root Password using Host Profile

Select the ESXi host(s) and click on Attach to attach to this Host profile to reset the ESXi root password. Click Finish.

reset ESXi root Password using Host Profile

Once ESXi host attached to the Host profile, we need to check the host profile compliance. Select the created Host profile -> Monitor -> Compliance tab.   Click on the below highlighted symbol (Red X and Green tick mark)  to check the host profile compliance or Click Check Host profile Compliance under Actions menu.

reset ESXi root Password using Host Profile

Compliance tab will display the host compliance with the attached host profile. I can notice one of the ESXi host which is not compliant with the attached Host profile. Not Complaint host is the ESXi host which I forgot the root password and I want to reset the ESXi root password using VMWare Host Profile.

If you click on the Not Complaint ESXi host, it will display the settings name which is non-complaint to the attached Host profile. It displays the description as ” Password in profile does not match that on the host for root”. 

So We need to remediate the ESXi host which is showing as  “Not Complaint” to reset the ESXi root password to the same password which we have specified it in the attached Host Profile. Click on Below highlighted “Tools” Symbol or Select Remediate under Actions Menu.

reset ESXi root Password using Host Profile

 

Click on Finish to start the remediation of the ESXi host based on the attached Host Profile.

reset ESXi root Password using Host Profile

Once the ESXi host remediation is completed, You can see the ESXi host is now “Complaint” with the attached Host profile.

reset ESXi root Password using Host Profile

That’s it. We have reset the ESXi root of the ESXi host(s) using VMWare Host profile without reinstalling ESXi host and losing ESXi host Configurations. I hope this article is informative for you. Thanks for Reading!!!. Be social and share it with social media, if you feel worth sharing it.

本文转自学海无涯博客51CTO博客,原文链接http://blog.51cto.com/549687/1842948如需转载请自行联系原作者


520feng2007

相关文章
|
7月前
|
存储 网络协议 虚拟化
如何操作VMware ESXi虚拟机的迁移?
如何操作VMware ESXi虚拟机的迁移?
|
7月前
|
存储 虚拟化 数据中心
如何操作VMware ESXi虚拟机的克隆?
如何操作VMware ESXi虚拟机的克隆?
|
存储 安全 Linux
如何安装VMware Esxi 6.7.0(7.x版本同样适用)
如何安装VMware Esxi 6.7.0(7.x版本同样适用)
562 0
|
11天前
|
存储 虚拟化 iOS开发
VMware ESXi 7.0 U3r 发布 - 领先的裸机 Hypervisor
VMware ESXi 7.0 U3r 发布 - 领先的裸机 Hypervisor
69 5
VMware ESXi 7.0 U3r 发布 - 领先的裸机 Hypervisor
|
11天前
|
存储 虚拟化 iOS开发
VMware ESXi 8.0U3c 发布 - 领先的裸机 Hypervisor
VMware ESXi 8.0U3c 发布 - 领先的裸机 Hypervisor
63 3
VMware ESXi 8.0U3c 发布 - 领先的裸机 Hypervisor
|
4月前
|
存储 固态存储 虚拟化
【vSAN分布式存储服务器数据恢复】VMware vSphere vSAN ESXi超融合HCI分布式存储数据恢复案例
近期,我司处理了一个由10台华为OceanStor存储组成的vSAN超融合架构,其中一台存储闪存盘出现故障,用户取下后用新的闪存盘代替,然后对该闪存盘所在的磁盘组进行重建,导致集群中一台使用0置备策略的虚拟机数据丢失。
98 6
|
7月前
|
存储 网络安全 虚拟化
VMWare ESXi 7.0的磁盘空间莫名少了120 GB?看这里!
VMWare ESXi 7.0的磁盘空间莫名少了120 GB?看这里!
|
7月前
|
Ubuntu 网络协议 安全
79.55 Gbps!已经初步测得VMWare ESXi 6.7的vSwitch转发性能
79.55 Gbps!已经初步测得VMWare ESXi 6.7的vSwitch转发性能
|
7月前
|
测试技术 网络性能优化 虚拟化
VMWare ESXi中,不同的虚拟网卡性能竟然能相差三倍!
VMWare ESXi中,不同的虚拟网卡性能竟然能相差三倍!
|
7月前
|
网络安全 文件存储 虚拟化
macOS unlocker 4.0.5 for VMware ESXi 7.0
macOS unlocker 4.0.5 for VMware ESXi 7.0