Thanks for that. Whilst I understand _what_ that's showing me I don't
understand how it's updated or how timely the updates are. Could you
explain? At the moment I'm looking at writing a shell script to handle
the output from ec2_listhosts. Would using /etc/aws/hosts/app/ be as
reliable?

TIA.

On Jun 1, 9:22 pm, brandonlee <[email protected]> wrote:
> see /etc/aws/hosts/app/ directory
>
> On Jun 1, 10:20 pm, "[email protected]"
>
>
>
> <[email protected]> wrote:
> > Hi,
>
> > Is there any way of retrieving a list of app instances within a given
> > farm from a shell script? I want to rsync files from a central server
> > to each instance of my app within the farm, obviously as the farm
> > scales and grows it will be necessary to sync to more instances.
>
> > Could anyone advise whether this is possible? I guess it must be
> > possible somehow because the www role must "detect" which app roles
> > are available to load balance to them, I essentially want to do the
> > same thing with rsync. It's probably a custom role in its own right
> > for my uses.
>
> > TIA.
--~--~---------~--~----~------------~-------~--~----~
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