Enterprise Datacenter Management Voodoo
Rails and other web services on the same box
The Sumavisor is built on top of xCAT. The Sumavisor is a rails application, with lots of xCAT plugins that sit on top of the base xCAT. One thing we had to work out was having a web server host a rails application (the Sumavisor) and allow xCAT to install nodes via HTTP. The solution is quit trivial thanks to my friend Ben. You simply add one line in the directories you don’t want Passenger to run in. So for xCAT, you put in /etc/httpd/conf.d/xcat.conf
<Directory “/tftpboot”>
Options Indexes +FollowSymLinks +Includes MultiViews
AllowOverride None
PassengerEnabled off
Order allow,deny
Allow from all
</Directory>
<Directory “/install”>
Options Indexes +FollowSymLinks +Includes MultiViews
AllowOverride None
PassengerEnabled off
Order allow,deny
Allow from all
</Directory>
That makes it so my code all runs very nice
| Print article | This entry was posted by Vallard on April 27, 2010 at 5:36 pm, and is filed under Uncategorized. Follow any responses to this post through RSS 2.0. Both comments and pings are currently closed. |
Comments are closed.