9 Aralık 2023 Cumartesi

VMware / Reset ESXi Root Password with Host Profile

1. Login to the vCenter WebClient

2. Go to Home and then choose Host Profiles from Operations and Policies Section.

3. Choose > Extract profile from a host.

4. In the Extract Host Profile menu wizard > Select the host you want to update the password for.

5. Name the Host Profile and click Next and then Finish to complete the capture of the host profile template.

 - The new host profile should appear on the Host Profile Objects Field.


6. Right Click the new Host Profile or using the Actions menu choose > Edit Settings

7. In the 'Edit Host Profile' Wizard. Uncheck all boxes.

8. Then using the search filter search for > root

9. Highlight and then select the check box for > root

10. A configurable window will display the root User configuration.

11. At the Password subsection, choose > Fixed password configuration

12. Here you will fill in the new password and confirm it before proceeding.

13. Double check that all other non applicable boxes have no check marks and proceed to Finish .

14. Once the Task Completes highlight the new host profile and from the 'Actions' drop down menu choose > Attach Detach Hosts and Clusters > then Select the host in the wizard.

15. From the Action Menu select Check Host Compliance.

16.  From the Action Menu select Remediate

17. Then Check Host Compliance.

18. Remove the Host Profile from the Host.

- At this time the host password should be successfully upgraded.

https://kb.vmware.com/s/article/68079

VMware / vmfsfilelockinfo

VMware üzerinde lock durumda olan bir sanal makine ya da dosyanın hangi host üzerinde lock durumda olduğunu ve detaylarını aşağıdaki örnek komut ile sorgulayabiliriz.

[root@esxihost:~] vmfsfilelockinfo -p "/vmfs/volumes/ESXI05/VMware vCenter Server 20395099/VMware vCenter Server 20395099.vmx.lck"

vmfsfilelockinfo Version 2.0

Looking for lock owners on "VMware vCenter Server 20395099.vmx.lck"

"VMware vCenter Server 20395099.vmx.lck" is locked in Exclusive mode by host having mac address ['6c:0b:84:b7:f6                                 :e2']

Trying to use information from VMFS Heartbeat


Host owning the lock on file is 92.68.10.26, lockMode : Exclusive

Total time taken : 5.400021321999986 seconds.

Windows Server IIS üzerinden hizmet veren bir FTP servisine erişmek istediğimizde;  Internet Explorer, FileZilla vb. uygulamalar ile erişim ...