I was hoping to have a nice post here about clustering a grails app using three ubuntu 8.04 LTS boxes (using centOS now), nginx, memcached and grails. But all did not go well…
I got the first ubuntu box pretty much set up thanks to a nice tutorial from nanoTux. Of course I skipped the http server portion as well as the PHP and got Java installed. No real hassles there.
However, when I got the app deployed, sometimes it would respond and sometimes it wouldn’t. I couldn’t figure it out. The app itself started up just fine judging from the logs, but I would get no response, like it was hung. Stop, restart, same thing. Then a couple minutes later it would come alive. Then go away.
I couldn’t figure it out. I’m no linux guru and this was my first crack at using Ubuntu so maybe I didn’t have something set right, but the on and off again behavior was certainly odd. Maybe it was the iptables setup or some other networking setting? Don’t know. After spending quite some time on it, I had to dump the idea and get the app running again on a single machine back on centos.
I hope to give this another shot sometime soon. Any suggestions out there?
Don’t miss anything, subscribe!