Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Running a cluster of Apache

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


jmedina at e-dialog

Jul 3, 2008, 10:01 AM

Post #1 of 4 (171 views)
Permalink
Running a cluster of Apache

Hi,

I want to run an application in a cluster of apache servers, all of
them accessible at the same URL.

I also want to use SSL.

Is it possible to use the same ServerName for all the servers in my
cluster? Would SSL work? Or

Do I need to define a <VirtualHost> and put the certificate and key
under this host?



Thanks



-Jorge


jmedina at e-dialog

Jul 3, 2008, 10:20 AM

Post #2 of 4 (160 views)
Permalink
RE: Running a cluster of Apache [In reply to]

I think I should add more details:

Lets assume that I have a cluster of machines running Apache:
webapp0.eng.mydomain.com
webapp1.eng.mydomain.com
webapp2.eng.mydomain.com
...
webappN.eng.mydomain.com

All of those instances of Apache are front-ended by a load balancer (a switch) that redirects all requests to services.mydomain.com to a member of the cluster.

But, if the communication is HTTP over SSL, what configuration is required so that the same certificate issued to services.mydomain.com can be used by all member of the cluster? Can I use a ServerName (services.mydomain.com) that does not match the name of the server (webappX.eng.mydomain.com)? Or do I require a <VirtualHost> entry?

Thank you.

________________________________________
From: Jorge Medina [mailto:jmedina[at]e-dialog.com]
Sent: Thursday, July 03, 2008 1:01 PM
To: users[at]httpd.apache.org
Subject: [users[at]httpd] Running a cluster of Apache


Hi,
  I want to run an application in a cluster of apache servers, all of them accessible at the same URL.
  I also want to use SSL.
Is it possible to use the same ServerName for all the servers in my cluster? Would SSL work? Or
Do I need to define a <VirtualHost> and put the certificate and key under this host?

Thanks

-Jorge



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


maiolinux at gmail

Jul 3, 2008, 11:40 AM

Post #3 of 4 (160 views)
Permalink
Re: Running a cluster of Apache [In reply to]

Hey, how are you Jorge ?

I think that the Round Robin, is a good idea to solve your problem, but it's
configurate in the DNS entrys of this domain:

Look: http://en.wikipedia.org/wiki/Round_robin_DNS

Is a good Idea that the nodes on the "web cluster" access de same files, for
example, a storage, or a NFS Server, exporting the web content (is the
cheaper than storage and functional ;) )

Ask me if you have any questions...

See you



On Thu, Jul 3, 2008 at 2:20 PM, Jorge Medina <jmedina[at]e-dialog.com> wrote:

> I think I should add more details:
>
> Lets assume that I have a cluster of machines running Apache:
> webapp0.eng.mydomain.com
> webapp1.eng.mydomain.com
> webapp2.eng.mydomain.com
> ...
> webappN.eng.mydomain.com
>
> All of those instances of Apache are front-ended by a load balancer (a
> switch) that redirects all requests to services.mydomain.com to a member
> of the cluster.
>
> But, if the communication is HTTP over SSL, what configuration is required
> so that the same certificate issued to services.mydomain.com can be used
> by all member of the cluster? Can I use a ServerName (
> services.mydomain.com) that does not match the name of the server (
> webappX.eng.mydomain.com)? Or do I require a <VirtualHost> entry?
>
> Thank you.
>
> ________________________________________
> From: Jorge Medina [mailto:jmedina[at]e-dialog.com]
> Sent: Thursday, July 03, 2008 1:01 PM
> To: users[at]httpd.apache.org
> Subject: [users[at]httpd] Running a cluster of Apache
>
>
> Hi,
> I want to run an application in a cluster of apache servers, all of them
> accessible at the same URL.
> I also want to use SSL.
> Is it possible to use the same ServerName for all the servers in my
> cluster? Would SSL work? Or
> Do I need to define a <VirtualHost> and put the certificate and key under
> this host?
>
> Thanks
>
> -Jorge
>
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
> " from the digest: users-digest-unsubscribe[at]httpd.apache.org
> For additional commands, e-mail: users-help[at]httpd.apache.org
>
>


--
Att.
--
Carlos Eduardo Maiolino


torsten.foertsch at gmx

Jul 4, 2008, 1:01 AM

Post #4 of 4 (144 views)
Permalink
Re: Running a cluster of Apache [In reply to]

On Thu 03 Jul 2008, Jorge Medina wrote:
> Can I use a ServerName (services.mydomain.com) that does not match the name
> of the server

Yes, and you can of course use the same certificate for all servers.

Torsten

--
Need professional mod_perl support?
Just hire me: torsten.foertsch[at]gmx.net

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.