04.24
I’m just back from Dallas where I attended the Advanced Rails
Studio.-
It was really amazing. We have discussed a lot with other
developers about advanced issues such as testing, REST, security, …
I’m already more comfortable with deployment now and pretty used to
using home-made captistrano recipes.
BTW, Mike pointed us Monit to monitor Rails app’. Actually I was used
to using this tool to monitor my servers but I didn’t think about adapting
my conf especially Rails app’. Since my project is in staging mode now,
I have tweaked it and you can find the files here.
Be careful, these files have been tweaked for CentOS 4 Enterprise Linux.
Double check the paths (pids, processes, …) before running this conf! You want probably also
the timestamp on the syslog file to be longer.
By the way, here are some dummy but useful capistrano tasks:
task :monit_start do
sudo "monit"
end
task :monit_restart_services do
sudo "monit restart all"
end
task :monit_info do
sudo "monit summary"
end
task :monit_stop do
sudo "monit quit"
end
Capistrano v2.0 has been (not officially) released. Check out the website.
No Comment.
Add Your Comment