Hi,

I've created an nginx load balancer role using the role builder and added 
it to my farm. I've also created a services default configuration preset 
using the default settings provided by Scalr and attached it to the role.

I've been monitoring the load balancer while i have 2 instances of my 
application role (apache) running. All the requests i make to the LB 
are successful but the logs on the instances show that only one of them 
is receiving the requests. I figured requests coming from the same IP might 
be routed to the same instance, so i opened up a few ssh connections to 
some EC2 instances and hit the LB using curl. All the requests still went 
to the same instance.

I'm new to nginx, but i've been reading the online docs while looking 
through the nginx config on my LB and it appears to be configured ok. I've 
also monitored "/etc/nginx/app-servers.include" while launching and 
terminating app instances and confirmed that Scalr is correctly updating 
the file with instance IP's.

Can anyone suggest what i might be missing? Also, are there any better ways 
of testing a load balancer to ensure correct distribution of requests?

Thanks
Robbie




-- 
You received this message because you are subscribed to the Google Groups 
"scalr-discuss" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/scalr-discuss/-/zFbZw5WlxAQJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/scalr-discuss?hl=en.

Reply via email to