Hi Nathan, Consider using QueryEnv Scalr API to do this (more details at http://code.google.com/p/scalr/wiki/QueryEnv). "list-roles" query response contains indexes for every instance within a role.
Nick On Mar 13, 4:18 am, Nathan Palmer <[email protected]> wrote: > I'm trying to setup a script for my app role that will connect to the > gluster server that was created on the master role. I can start the > gluster server based on the %instance_index% = 1 but each additional > node that is started needs to get the IP address of the master node in > order to setup it's gluster configuration. Is there a way to do this? > > Thanks, > > Nathan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "scalr-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/scalr-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
