problem with multiple pods on same server.

33 views
Skip to first unread message

Hans Fase

unread,
Sep 3, 2012, 7:25:30 PM9/3/12
to diaspo...@googlegroups.com
I am trying to set up another pod on a separate domain while using the same server. 
The first pod (hfase.com) works fine. They seem to be sharing resque servers though?
So on the same machine, with both running identical configurations they can see other pods but not each other??

I thought by setting up a virtual machine I would be able to remove any conflicting resque problems however it seems this did not help. Possible only one pod per IP?

Any ideas? 

jeremy

unread,
Sep 5, 2012, 3:27:21 PM9/5/12
to diaspo...@googlegroups.com

Multiple resques should be fine, you just need to namespace them if they use the same Redis server. You can also run another Redis server on a different port.

If you want to namespace - I have done it - its documented in the resque readme but briefly:

Add to your Gemfile:

gem 'redis-namespace'

Then:

bundle install

Then add this after Redis is initialized for your environment in config/initializers/resque.rb:


Resque.redis.namespace = "resque:otherpod"







Hans Fase

unread,
Sep 8, 2012, 11:53:48 PM9/8/12
to diaspo...@googlegroups.com
Aha! Thank you!!

I think I found another problem with the SSL on the other domain that may be attributing to this also. I was wondering about the resque/redis though and you answered that well!
Reply all
Reply to author
Forward
0 new messages