jclouds- how to uniquely identify one node within a group of compute instances

StackOverflow https://stackoverflow.com/questions/14020966

  •  12-12-2021
  •  | 
  •  

문제

In a java app, I have started a group of virtual machines with a specific group name.

Now, I wish to identify each of the virtual machines in that group, uniquely. The code to identify a virtual machine (which is part of that group of machines) will be run within that machine itself directly. What parameter/attribute do I use to uniquely identify such a machine? As I understand "NodeMetadata" identifies each node...But which attribute from "NodeMetadata" class do I use for the purpose as described above?

도움이 되었습니까?

해결책

Answered over here in the jclouds Google Group.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top