Use information from previous roles when deploying new ones
Oriol Martí wrote: I want to deploy to test a web application composed for two balancer instances, two apache instances and two databases. My question is if I can pass the IP that OPenNebula is assigning to the apache, because the balancers has to know this. Also I would like to pass the MySQL IPs to the database instances.
These can be implemented:
a) Define custom variables in the VM/ROLE template to include information form previous roles
b) Use a metadata server from which a VM can retrieve information of the services it belongs to.