Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 192300

How to retrieve the IP address of each of the virtual machine tiers in an n-tier virtual appliance?

$
0
0

Hello,

 

 

I have built a vApp consisting of 3 virtual machine tiers, each of them running a different flavor of Linux as the guest OS. The appliance is running on a vCenter server. VMware Tools are installed in all the 3 tiers and all of them have their own IP addresses automatically assigned by the vCenter IP allocation mechanism.

 

 

I would like to know if it is possible for each of the virtual machine tiers to know the IP addresses of all the other virtual machines in the vApp. To be more specific, I would like a plain text file to be present in each of the virtual machine tiers containing the IP addresses of all the 3 virtual machine tiers. Is there any shell script or Perl script to do so? Or are there any relevant VMware Tools commands?

 

 

Any help will be highly appreciated.

 

 

Note : I have used Steve Jin's VI Java SDK to automate my virtual appliance creation process.

 

Thanks in advance.

 

-- Harshit


Viewing all articles
Browse latest Browse all 192300

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>