search for: balancermember

Displaying 20 results from an estimated 69 matches for "balancermember".

2007 Oct 18
0
Mongrel-users Digest, Vol 21, Issue 16
.../ cwd: /var/www/mysite/current pid_file: /var/www/mysite/tmp/pids/mongrel.pid log_file: /var/www/mysite/current/log/mongrel.log environment: production servers: 14 user: deploys group: www-data proxy balancer: ServerName my.ip.add.ress NameVirtualHost *:80 <Proxy balancer://mongrel_cluster> BalancerMember http://bomber:21000 keepalive=on max=1 retry=30 BalancerMember http://bomber:21001 keepalive=on max=1 retry=30 BalancerMember http://bomber:21002 keepalive=on max=1 retry=30 BalancerMember http://bomber:21003 keepalive=on max=1 retry=30 BalancerMember http://bomber:21004 keepalive=on max=1 retry=30...
2007 Oct 17
9
proxy errors with apache2.2.3 + mongrels
I''ve posted this to rails-deployment as well. I have to administer a medium size rails app (1''5 million requests each day), recently I''ve switched from lighttpd + fcgi to apache + mongrel. In the following lines I am going to describe the platform: All machines are running Debian Etch, with 4 gb ram and dual core intel32 processors. Web server runs debian''s
2006 Nov 08
2
Apache 2.2.3 setup woes
...DocumentRoot /var/www/approot/public <Directory "/var/www/approot/public"> Options FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> # Configure mongrel_cluster <Proxy balancer://mongrel_cluster> BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 BalancerMember http://127.0.0.1:8003 BalancerMember http://127.0.0.1:8004 BalancerMember http://127.0.0.1:8005 BalancerMember http://127.0.0.1:8006 BalancerMember http://127.0...
2013 Aug 02
2
Exporting Load Balancer Worker Resources
...doing the examples from this book: "Pro puppet". books.sysadmins.su/system/files/Pro.Puppet.pdf On page 145 from this book there is example about Exporting Load Balancer Worker Resources. I created the files inside already existing apache module. /etc/puppet/modules/apache/manifests/balancermember.pp define apache::balancermember($url) { file { "/etc/httpd/conf.d.members/worker_${name}.conf": ensure => file, owner => 0, group => 0, mode => "644", content => " Balan...
2006 Jul 05
7
multiple mongrel clusters
If this was in the docs, I''ve missed it. How can I have multiple mongrel clusters on a server? All the documentation that I am seeing seems to assume that I am only running one cluster.
2006 Sep 07
21
Multiple rails apps with Mongrel
I''m trying to set up several different Rails apps on the same domain, each one running Mongrel. After reading all of the documentation, it''s fairly clear how to use subdomains - create several Apache virtual hosts, each of which has a different ProxyPass and ProxyPassReverse command to redirect from different ports (ie, 3000, 3100), and then have each Mongrel instance (or
2013 Feb 01
3
Cannot get puppetlabs-haproxy to do what I want
...en having a mess of a time using this module, which stinks because its behavior is EXACTLY what I am looking for... whenever I bootstrap new rabbitMQ nodes I want to add them to our HAProxy instance. Here''s my relevant site.pp entries: node /^rabbit.*/ inherits basenode { @@haproxy::balancermember { $fqdn: listening_service => ''messaging00'', server_names => $::hostname, ipaddresses => $::ipaddress, ports => [''55672'', ''5672''], options => ''check'' }...
2008 Jan 23
7
Apache, Mongrel, Authentication
...yType DEFLATE text/html text/plain text/css # ... text/xml application/xml application/xhtml+xml text/javascript BrowserMatch ^Mozilla/4 gzip-only-text/html BrowserMatch ^Mozilla/4.0[678] no-gzip BrowserMatch \bMSIE !no-gzip !gzip-only-text/html <Proxy balancer://mongrel_cluster> BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 </Proxy> </VirtualHost>
2006 May 08
10
Apache 2.2, ProxyPass and HTTPS
...y httpd.conf: <VirtualHost 123.123.123.123:12345> #historic choice of random port number DocumentRoot /var/www/admin ServerName admin.example.com:12345 ProxyPass /rails balancer://proxy_group ProxyPassReverse /rails balancer://proxy_group <Proxy balancer://proxy_group> BalancerMember http://127.0.0.1:3000 BalancerMember http://127.0.0.1:3001 </Proxy> SSLEngine on ... ssl config continues ... </VirtualHost> I''ve seen in a few places [1][2] that the trailing slash is important on the ProxyPass directive but if I include that then I get a BAD CLIENT erro...
2008 Jun 16
3
Apache rewrites with mongrel
...n loadaverage about 10 :-((((( Ok so I?m using 3 mongrel-server on an mongrelcluster. The Loadbalancer ist apache I think, that my rewrites are not correct. Please can anybody check my rewrites ? That?s in my /etc/apache2/conf.d/rails.proxy_cluster.conf <Proxy balancer://mongrel_cluster> BalancerMember http://127.0.0.1:4712 BalancerMember http://127.0.0.1:4713 BalancerMember http://127.0.0.1:4714 </Proxy> that?s in my /etc/apache2/sites-enabled/000-rails RewriteEngine On # Deflate AddOutputFilterByType DEFLATE text/html text/plain text/css text/xml Bro...
2008 Aug 20
4
mod_proxy, mongrel, redirect issue
...NameVirtualHost *:80 <VirtualHost *:80> RedirectPermanent / https://emiliano #this server is only accessed internally </VirtualHost> Inside the <VirtualHost *:443> section, I have the following configuration, which seems extremely standard: <Proxy balancer://mongrel> BalancerMember http://localhost:8000 BalancerMember http://localhost:8001 BalancerMember http://localhost:8002 </Proxy> ProxyRequests Off <Proxy *> Order deny,allow Allow from all </Proxy> ProxyPass /stylesheets ! ProxyPass /javascripts ! ProxyPass /images ! ProxyPass / balance...
2007 Dec 13
1
mod_proxy_balancer mod_rewrite permission issue
...y site from a remote computer, I always got the error messages "Forbidden, You don''t have permission to access / on this server." Finally, I added the "Allow from all" property (in the vhost config file), just like this: <Proxy balancer://mongrel_cluster> BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 BalancerMember http://127.0.0.1:8003 Order allow,deny Allow from all </Proxy> then the "Forbidden" problem was solved. The "all" could not be changed to "127.0.0.1" or oth...
2007 Jun 29
3
mongrel tuning with httperf - suspicious results
...99.0%) Net I/O: 145.9 KB/s (1.2*10^6 bps) Errors: total 0 client-timo 0 socket-timo 0 connrefused 0 connreset 0 Errors: fd-unavail 0 addrunavail 0 ftab-full 0 other 0 Apache Config, Virtual Hosts section: NameVirtualHost *:80 # Configure mongrel_cluster <Proxy balancer://the-cluster> BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 BalancerMember http://127.0.0.1:8003 BalancerMember http://127.0.0.1:8004 BalancerMember http://127.0.0.1:8005 BalancerMember http://127.0.0.1:8006 BalancerMember http://127.0.0.1:8007 #[...
2006 Dec 16
5
trying to add another app
.... However, I''m trying to run another application and now when I go to app1.comit falls to app2.com and the opposite. That''s probably because I messed up somewhere with the cluster. this is the content of my conf.d/app1.proxy_cluster.conf: <Proxy balancer://mongrel_cluster> BalancerMember http://app1.com:8000 BalancerMember http://app1.com:8001 BalancerMember http://app1.com:8002 </Proxy> and this is my conf.d/app2.proxy_cluster.conf: <Proxy balancer://mongrel_cluster> BalancerMember http://app2.com:8003 BalancerMember http://app2.com:8004 </Proxy> Mayb...
2006 Jul 25
3
problem with *.foobar.com urls
I am using Apache2.2 + mod_proxy_balancer + mongrel setup and my mongrel.conf file(for apache is like this) 2 3 <Proxy balancer://mongrel_cluster> 4 BalancerMember http://127.0.0.1:9000 5 BalancerMember http://127.0.0.1:9001 6 BalancerMember http://127.0.0.1:9002 7 </Proxy> 8 9 <VirtualHost *> 10 ServerAdmin rags at fasia.com 11 ServerName *.foobar.com 12 ServerAlias foobar.com 13 Proxy...
2006 Aug 16
3
New subscriber, new question
Hi all, I?m new to the list. I''ve working with mongrel for the last week and have some quetion about mongrel cluster: Is this (being executed from the application folder): # mongrel_rails start -d -p 3001 -e production # mongrel_rails start -d -p 3002 -e production # mongrel_rails start -d -p 3003 -e production the same as: # mongrel_rails cluster::configure -e production -p 3001 -N 3
2007 Aug 20
5
byte-range requests
Hello everyone, I did some initial tests and it seems that mongrel does not support byte-range requests. Is this correct? The reason I ask is that the iPhone requires byte-range requests to work in order to stream audio or video from a web server. Thanks in advance, alan
2007 Mar 13
3
dropping lighty+fastcgi and moving to apache+mongrel in production
...fastcgi. Which I am changing this week. I want to get advice from you guys before I actually do this since this is my production env. I have installed apache on the the 2 https servers and will serve local content in app/public on them both, but in my cluster.conf file on my staging server I use: BalancerMember http://localhost:port(s) Since I have 2 app servers (separate boxes), I plan on running 10 mongrels on each.. I am assuming I just simply use: BalancerMember http://10.0.1.1:800* ... BalancerMember http://10.0.1.2:800* ... Should this be identical on both http servers? So I would have a total o...
2006 Aug 16
3
(no subject)
...ns on a single server and I''m looking for a way to use mongrel with each of them. Right now, http://testapp.com/ is being served on that machine through apache and mongrel. Here''s what a part of my apache config looks like: <Proxy balancer balancer://testappcluster> BalancerMember http://127.0.0.1:8000 BalancerMember http://127.0.0.1:8001 BalancerMember http://127.0.0.1:8002 </Proxy> <VirtualHost testapp.com:80> ServerName testapp.com ServerAlias testapp.com ProxyPass / balancer://testappcluster/ ProxyPassReverse / balancer://testappcluster/ </VirtualHost>...
2007 Jul 19
4
[mongrel_cluster] hosting multiple web sites via
Jeff try adding to your mongrel_cluster.yml :docroot: /var/radiant/domainA.com/public -- Together we can solve any issue.