Well, if you were so inclined, you could do anything you needed to in order to trip the reload flag.
Meaning, you could run a query every minute to check the status of a SeeIfIShouldReload table then fire off a cfhttp call, You could add a file to the server that told it to reload. You could set up an internal page with CFHTTP calls that hit each server. You can do whatever you want, but this is more of a problem of dealing with clusters and not so much a Model Glue problem, right? DW On Fri, Oct 1, 2010 at 2:35 PM, Roy Martin <[email protected]> wrote: > That's certainly what we do for our traditional deployments. Since the > instance is clustered the instances respond on a weighed round-robin. So I > can fire the reload=true, but it will only fire for the instance that I was > load balanced to, leaving the other instances out of date. So we are > currently pulling the instances offline and restarting them, which causes > the application to reload on startup. > > Ideally if there was a way to fire off the init=true to the instances > individually that would work, but I haven't figured out a way > to guarantee that the call would be to the specific instance. > > For a little more background the server is setup as follows: > 1. All instances are currently hosted on the same box > 2. There are 5 instances that make-up a cluster > 3. The clustered is using software weighted round-robin that is built into > ColdFusion Administrator. > > The problem specifically is how to invoke the reload=true, or equivalent of > for all of the instances to call the update. > > Thanks, > Roy > > > On Fri, Oct 1, 2010 at 11:26 AM, Dan Wilson <[email protected]> wrote: > >> What happens when you use the reload=true feature of Model Glue? >> >> >> DW >> >> On Fri, Oct 1, 2010 at 2:08 PM, Roy Martin <[email protected]> wrote: >> >>> We have a few MG applications that we are deploying to a cluster with 5 >>> instances. The problem is that every time we deploy updates we need to >>> re-initialize the application and the only way we've been able to accomplish >>> this at this point is to stop each instance and restart it. What's the best >>> way to accomplish the re-initialize (init=true) on each instance? >>> >>> Thanks, >>> Roy >>> >>> -- >>> Model-Glue Sites: >>> Home Page: http://www.model-glue.com >>> Documentation: http://docs.model-glue.com >>> Bug Tracker: http://bugs.model-glue.com >>> Blog: http://www.model-glue.com/blog >>> >>> You received this message because you are subscribed to the Google >>> Groups "model-glue" group. >>> To post to this group, send email to [email protected] >>> To unsubscribe from this group, send email to >>> [email protected]<model-glue%[email protected]> >>> For more options, visit this group at >>> http://groups.google.com/group/model-glue?hl=en >> >> >> >> >> -- >> William Osler - "We are here to add what we can to life, not to get what >> we can from life." >> >> -- >> Model-Glue Sites: >> Home Page: http://www.model-glue.com >> Documentation: http://docs.model-glue.com >> Bug Tracker: http://bugs.model-glue.com >> Blog: http://www.model-glue.com/blog >> >> You received this message because you are subscribed to the Google >> Groups "model-glue" group. >> To post to this group, send email to [email protected] >> To unsubscribe from this group, send email to >> [email protected]<model-glue%[email protected]> >> For more options, visit this group at >> http://groups.google.com/group/model-glue?hl=en > > > -- > Model-Glue Sites: > Home Page: http://www.model-glue.com > Documentation: http://docs.model-glue.com > Bug Tracker: http://bugs.model-glue.com > Blog: http://www.model-glue.com/blog > > You received this message because you are subscribed to the Google > Groups "model-glue" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected]<model-glue%[email protected]> > For more options, visit this group at > http://groups.google.com/group/model-glue?hl=en > -- William Osler - "We are here to add what we can to life, not to get what we can from life." -- Model-Glue Sites: Home Page: http://www.model-glue.com Documentation: http://docs.model-glue.com Bug Tracker: http://bugs.model-glue.com Blog: http://www.model-glue.com/blog You received this message because you are subscribed to the Google Groups "model-glue" 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/model-glue?hl=en
