Wednesday 16 November 2011

How to Find Virtual Center IP from ESX Host


Guys Sometime we forget the VC IP but we know the IP of ESX/ESXi, such situations generally occurs when we are working in large distributed IT infrastructure or if we are working as newly hired for client and do not have adequate knowledge transfer sessions. Even I did this First time and was not aware of this before untill someone asked me to know "how to fetch this info"..





CASE SCENARIO: My VC IP is 192.168.131.20 ( and I do not know about this) and some how I know the ESX IP or name ( ESX IP is 192.168.131.9)




>I chose any one of ESX\ESXi for which I'm looking for VC IP\Name

>log in to ESX\ESXi as root




> type below command:



grep "Manager IP" /var/log/vmware/vpx/vpxa.log



Output :
in above output Manager IP communicating to port 902 using vpxa agent is IP of your VC


~ #
~ # [2011-11-16 13:33:27.094 0x764e2ab0 info 'App'] [VpxaInvtHost] Manager IP: 192.168.131.20:902   Host IP: 192.168.131.9 Preserve IPs: false

~ #
~ #




Wooo !! Looks Good to me now !!!

No comments:

Post a Comment