VMware {code} Community
ubekhet
Contributor
Contributor
Jump to solution

Knowing phisical machine through of VM IP address

Hi,

I was wondering if is capable of discover the phisical machine where our VM are installed throught IP address. Basically, I want to know my HOST machine name.

Thanks in advance!!!

0 Kudos
23 Replies
ubekhet
Contributor
Contributor
Jump to solution

Yes, finally I can executed, thanks you very much. But I have a simple question, for comproving the host name it correctly I printed the value of the final managed object reference, and the result is the ha-host I believe that this is the host name, but eventually the VMware Infrastructure client on the tab of the VM show me that the Host: is another name. And my question is: is possible get this host name as well?

Thank you

Regards

0 Kudos
akutz
Hot Shot
Hot Shot
Jump to solution

Use the host's moref to get the host's properties, they will include

the host name.

--

-a

"condensing fact from the vapor of nuance"

gpg pubkey: http://www.lostcreations.com/~akutz/akutz.gpg

lostcreations ca: http://www.lostcreations.com/lostcreations.com-ca.crt

ubekhet
Contributor
Contributor
Jump to solution

Hi akutz,

Thanks for everything, now everything it's going right!!!

Regards

0 Kudos
akutz
Hot Shot
Hot Shot
Jump to solution

Glad to hear it!

--

-a

"condensing fact from the vapor of nuance"

gpg pubkey: http://www.lostcreations.com/~akutz/akutz.gpg

lostcreations ca: http://www.lostcreations.com/lostcreations.com-ca.crt

0 Kudos