I have a need to run two different app roles at the same time in the
same farm; app and app-rails. I would like some advice on the way to
approach this. I have searched the web and this group, but did not
find anything on running both of these roles at the same time. I may
have missed such information, though.

Currently, I maintain Scalr.net farms for my customers and they run
with www/app/mysqllvm. I have not brought up a production site with an
app-rails role, yet.

Most of my pre-scalr.net experience has been with Apache/PHP/Perl/Bash/
C++/MySQL Linux systems administration. I have performed some scripted
edits to /etc/nginx/nginx.conf on a www role to serve media files out
of S3.

I started up www/app/app-rails/mysqllvm in a scalr.net farm, then had
a look at /etc/nginx/app-servers.include, but this did not
differentiate between the two roles. I see that /etc/aws/hosts does
contain app and app-rails. I could write a bash or Perl script to
update nginx.conf upon changes in /etc/aws/hosts (or the host up/down
events), yet I am not sure if this is an acceptable approach for
scalability.

The project will contain PHP focused sites and some Rails focused
sites. Outside of Scalr.net, I have run threaded Apache 2.2, Phusion
Passenger, and PHP5-CGI in FastCGI. The site was primarily a Rails
site with a few items performed by PHP. This project will have
significant functionality in Rails and in PHP 5, so I believe it would
be best to use two different servers.

Can anyone offer some advice or some web resources that I could read?

--~--~---------~--~----~------------~-------~--~----~
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