LMS知識社群各系上網率圖資處首頁登入
VMware vSphere(ESX) root密碼重置
by 洪瑞展 2018-03-27 09:49:52, 回應(0), 人氣(5265)
若ESX的root密碼忘記,但已加入vCenter,則可以藉由"主機設定檔"來進行重置。

參考資料:http://blog.clearpathsg.com/blog/bid/301156/lost-your-esxi-root-password-reset-it-with-host-profiles

Create the Host Profile

1. Right click any host in your inventory (it doesn’t matter which), choose Host Profile, then Create Profile from Host.

create host vmware esxi resized 600

 

2. Name the Host Profile and give it a description. Click Next.

name host vmware esxi resized 600

 

3. Click Finish to create the Host Profile.

finish host profile vmware esxi resized 600

Configure the Host Profile

1. Open Host Profiles.

vsphere client vmware esxi host profile resized 600

 

2. Right-click the Host Profile and choose Edit Profile.

vsphere client vmware esxi edit profile resized 600


3. Expand Security Configuration, choose Administrator password

  • Choose Configure a fixed administrator password, type in the password twice, then click OK.

vsphere client vmware esxi security config resized 600

4. Right-click the Host Profile and choose Enable/Disable Profile Configuration.

vsphere client vmware esxi host profile enable disable resized 600

5. Uncheck everything in the Host Profile configuration except the Security Configuration, click OK.

enable disable profile config vsphere host client resized 600

Apply the Host Profile to the ESXi Host (or vSphere Cluster)

1. Put the ESXi host in question into Maintenance Mode.

vmware esxi host maintenance mode resized 600

2. Right click any host in your inventory, choose Host Profile, then Manage Profile.

vmware esxi host manage profile resized 600

3. Choose the Password_Reset Host Profile, click OK.

vmware esxi host password reset resized 600


4. 
Right click any host in your inventory, choose Host Profile, then Apply Profile.

vmware esxi host profile apply resized 600

5. Review the changes to be applied (the administrator password change should be the only one), click Finish.

vmware esxi host profile apply finish resized 600

 

Log In

1. Now, make sure you can log in with the new password. If the setting has been changed successfully, you should be able to log in with the new password immediately.

vmware esxi host profile login resized 600