That looks like it could work I'm just not sure how to use it. What
would be the easiest way to put this to use possibly in a php script?
I'm not sure how to use it in that way. I ran those commands from the
shell and got a result but I need to somehow get that information,
parse the xml and use it in a useful way. Can anyone point me to any
existing script snippets so I can see how I can apply it to my
situation?

Thanks,

Nathan

On Fri, Mar 13, 2009 at 7:43 AM, Nickolas Toursky <[email protected]> wrote:
>
> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to