Tuesday, April 4, 2023

Check TCP/UDP port connectivity from ESXi host

Run below command from esxi shell:

For TCP Port:

nc -vz x.x.x.x/name Port

example: if you want to check connectivity from esxi to 10.10.10.10 and TCP port (8000).

nc -vz  10.10.10.10 8000

Connection to 10.10.10.10 8000 port [tcp/*] succeeded!

For UDP Port:

nc -vz -u x.x.x.x/name Port

example: if you want to check connectivity from esxi to Syslog server (10.10.10.10) and UDP port (514).

nc -vz -u 10.10.10.10 514

Connection to 10.10.10.10 514 port [udp/*] succeeded!




VMware Appliances Reset Forget|Expired passwords

To check current password policy:

chage -l root


To change password expiry policy to never expire you can use below command:


chage -M -1 root


vROPS

————


vROPS Admin Account:


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


vROPS root Account:


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


Unlock Admin Account 


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



vRLI

————

vRLI root Account:


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


vRLI admin Account:


https://docs.vmware.com/en/vRealize-Log-Insight/8.2/com.vmware.log-insight.administration.doc/GUID-48C871F8-6289-406C-9C9A-59E4EA1AF2E5.html


vCenter:

—————


vCenter Root Account:


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



vCenter Administrator@vsphere.local Account:


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



vRA

—————


How to reset administrator@vsphere.local account password in vRA 7.x. (2150055)


https://kb.vmware.com/s/article/2150055#:~:text=Navigate%20to%20vRA%20Settings%20%3E%20SSO,Save%20settings


vRA root password


https://docs.vmware.com/en/vRealize-Automation/8.8/Administering/GUID-1BC4BD89-73C5-4C2A-875D-B8787418EE85.html#:~:text=At%20the%20root%20%5B%2F%5D%23,and%20press%20the%20Enter%20key



SRM 


SRM Appliance root pass


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