Multiple Imagr servers

73 views
Skip to first unread message

Ben Toms

unread,
May 13, 2015, 8:17:11 AM5/13/15
to imag...@googlegroups.com
Hi All,

Thought I'd post here to discuss how to deal with multiple Imagr servers.

Currently I can see 3 ways of doing this:
  1. Use a bonjour or broadcast DNS entry for server hosting both the Imagr_Config & packages etc (as in, http://imagr/imagr_config.plist)
  2. Have a workflow per site.
  3. Create an NBI for each site.
Neither scale to well, so wondered if anyone had any thoughts on an approach for this.

End result is that a client on site B would pull images etc from site B, if this was done by some automagical means then great.

Graham Gilbert

unread,
May 13, 2015, 9:11:37 AM5/13/15
to Ben Toms, imag...@googlegroups.com
My plan is to redirect on the Web server end. We do this with reposado now and it works great. 

Graham Gilbert


--
You received this message because you are subscribed to the Google Groups "imagr-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to imagr-dev+...@googlegroups.com.
To post to this group, send email to imag...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/imagr-dev/62ce7023-7daf-43f9-a37a-d68027b9e545%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Ben Toms

unread,
May 13, 2015, 1:38:39 PM5/13/15
to imag...@googlegroups.com
Can you elaborate?

Clayton Burlison

unread,
May 13, 2015, 3:20:08 PM5/13/15
to imag...@googlegroups.com
Not sure if this is what Graham is talking about but setting up a simple load balancer with Nginx is pretty straight forward. It also has the ability to use an ip_hash so that clients from site B talk to site B server. http://nginx.com/resources/admin-guide/load-balancer/ 

IMO a DNS setup with round robin for the two servers seems like an easier approach. Plus adding additional servers will just require adding an additional DNS record. 

Clayton

Graham Gilbert

unread,
May 13, 2015, 3:27:20 PM5/13/15
to Clayton Burlison, imag...@googlegroups.com
This is what I have for Reposado served with nginx. It redirects anything in /content/downloads/ to the local server when the request comes from 123.123.123.123

server {
listen 80;
server_name sus.example.com;

if ($remote_addr ~ "^123.123.123.123$"){
rewrite ^/content/downloads/(.+) http://sus.site.company.com/content/downloads/$1 redirect;
}

}

Graham Gilbert


--
You received this message because you are subscribed to the Google Groups "imagr-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to imagr-dev+...@googlegroups.com.
To post to this group, send email to imag...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages