271 reputation
1312
bio website
location
age
visits member for 4 years, 10 months
seen Jun 24 at 19:17

Mar
17
comment Run nginx as a non-root user
let us continue this discussion in chat
Mar
17
comment Run nginx as a non-root user
Awesome. Thanks Kaji. :) How did you find out which modules were being included by the apt package? For example, SSL is an optional module, and what you listed above shows that the apt package includes it. To get to the point, where did you find that string of configure arguments?
Mar
17
comment Run nginx as a non-root user
Thanks, Kaji. Yes, I understood that. I was just wondering where I could find those compilation flags were being used - just for reference sake.
Mar
16
comment Run nginx as a non-root user
Yeah, I just checked /etc/passwd and that's the nginx user's ID. Thanks for the help. I still couldn't find where you found the compile options for the apt package. I checked PPA but I don't know what I'm looking for. Could you help me out?
Mar
16
comment Run nginx as a non-root user
I used a different username which is longer than the 8 character limit. That's why the User ID is being shown, right?
Mar
16
comment Run nginx as a non-root user
The worker process I have has an ID, not a name. Any chance that's the nginx user ID? I'm pretty new to Ubuntu. I didn't know the apt package had all these flags turned on. How'd you find that out?
Mar
16
comment Run nginx as a non-root user
Sorry, could you be more specific? I've done that already to no avail.
Mar
13
comment Ordering: 1. nginx 2. varnish 3. haproxy 4. webserver?
Thanks for this Willy. You answered my question to Arenstar above.
Mar
12
comment Ordering: 1. nginx 2. varnish 3. haproxy 4. webserver?
Awesome answer. I'm wondering what sits in front of everything? Is it HAProxy or Nginx?
Jul
29
comment Moving postgres data folder on NFS drive. Is it better to symlink, reinit cluster, or modify init.d script?
Thanks embobo for sharing. I am inclined to agree with you and fairly confident in the underlying systems. The organization here uses VMWare vSphere and have a full-time team of administrators monitoring the systems with redundancy and backups to the 9s. Admittedly, still not a 100% guarantee, but nothing really is. With that said, voretaq7, if I were to follow the recommendations in the documentation, specifically "mount NFS file systems synchronously (without caching)", would you still be concerned? Also, thanks for your help again, voretaq7. I really appreciate it.
Jul
28
comment Is it possible to configure HAProxy to choose a backend server based on a request's source IP? If so, how?
Thanks Szocske for explaining the difference to me. Appreciate it!
Jul
28
comment Is it possible to configure HAProxy to choose a backend server based on a request's source IP? If so, how?
Thanks Kyle! I actually RTFM and figured it out, but I appreciate your answer because it validates that I got it right. Thanks again! :)
Jul
28
comment Suggestions for swapping out a production server
Great. Thanks! My last concern is application session cookies, and that's only because I don't know how firewalls or proxies affect them. Is there anything I should be aware of or possible issues that I may encounter?
Jul
28
comment Suggestions for swapping out a production server
Hi Voretaq, thanks again for your help. Would say then that a proxy might be overkill if a firewall can do the same thing?
Jul
28
comment Is it possible to configure HAProxy to choose a backend server based on a request's source IP? If so, how?
Sorry, I'm not that versed with proxies and networking in general, so I'm not sure what you mean by hashed. Would either of those two, hashed or explicit, give me the desired result?
Jul
25
comment Suggestions for swapping out a production server
Ah, I see where you're going with that now. I don't intend a single request from a client to be sent to both servers. It would be just one or the other. Also, to simplify it even further, I only want a set of administrators to go to the new environment. All other requests would go to the old environment. The way I was thinking I would do this is grab the IP addresses of the few administrators who would be testing the new environment and place that in some sort of redirection rule. Does that help?
Jul
25
comment Suggestions for swapping out a production server
Thanks again Voretaq. Curious, what sorts of complexities are you referring to? I'm looking at using HAProxy and configuring it as a reverse proxy. What I'm concerned about is how proxies and the back-end servers will handle session cookies. I'm about to do a POC in my development environment, so I hope that answers my questions. The idea is to have two production environments running and distributing requests accordingly, almost like load balancing except only the set administrators would be redirected to the new environment. Also, just an FYI, I've updated my SO post with Other oddities.
Jul
25
comment Suggestions for swapping out a production server
Thanks for your response voteaq. This isn't far from what I had originally had in mind and the roll out strategy is how we typically do things here (i.e., late night deploys). What I really wanted information about is proxies as I need this requirement satisfied: " for some period, I need the old and new environment to operate in tandem, to validate that the new environment resolves the issue." Any ideas around that?
Jul
22
comment Suggestions for swapping out a production server
Ah ok. Yea, exactly what I had in mind is that only the application servers would be swapped out and the database servers remain intact, and while the two production environments are running in tandem, they'd be pointing to the same database server. I'll add this to my post.
Jul
22
comment Suggestions for swapping out a production server
No worries. :) What additional information do you need me to include about the environment? I've mentioned RHEL 5.7 and Tomcat 6.0, but I guess I should have been a little more clear about that being our server technologies. I'll update my post.