Damon, There are scripts under /usr/local/aws/, which handle instance initialization and configuration updates.
During www instance initialization, all app-derived instances are added to nginx upstreams list. When the new instance is up, it is added to this list. When instance is terminated, it is removed from this list. Nick 2009/9/7 damonjebb <[email protected]>: > > I am interested to understand the behaviour of a machine based on the > default scalr www role. Are there scripts that will, by default, > update the configuration of nginx to ensure it has the correct > settings for load balancing to the slave machines? If so, what do > they do and under what circumstances are they triggered? > > If not, are there examples of how one can successfully script the > management of the load balancer and its understanding of the other > members of the farm? > > Thanks > Damon > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
