Preferred configuration with Hardware Loadbalancer

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Preferred configuration with Hardware Loadbalancer

Alexander Diedler

Hello,

I am just planning a Application cluster for Tomcat. We have a big hardware loadbalancer (Cisco) and three virtual servers. We talked about several configurations, but it is not clear for us, how to build a Tomcat cluster, with Failover and Session-Replication, but without Loadbalancing?

E.g. the LB redirect the request to node 1. The Apache Webserver redirects the request to node2. So we have a double load-balancing, what ne would avoid.

 

Best regards

Alexander

 


smime.p7s (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Preferred configuration with Hardware Loadbalancer

Ronald Klop (Mailing List)
What do you mean by Apache Webserver? Do you mean Apache Tomcat or Apache httpd?

 And do you want Failover (active-passive) or Loadbalancing (active-active)?

 Ronald.


Op donderdag, 6 oktober 2011 10:36 schreef Alexander Diedler <[hidden email]>:

>
>  
>  
>  
>  
> Hello,  
>  
> I am just planning a Application cluster for Tomcat. We have a big hardware loadbalancer (Cisco) and three virtual servers. We talked about several configurations, but it is not clear for us, how to build a Tomcat cluster, with Failover and Session-Replication, but without Loadbalancing?  
>  
> E.g. the LB redirect the request to node 1. The Apache Webserver redirects the request to node2. So we have a double load-balancing, what ne would avoid.  
>  
>    
>  
> Best regards  
>  
> Alexander  
>  
>    
>  
>  
>  
>  
>  
>  
>
Reply | Threaded
Open this post in threaded view
|

AW: Preferred configuration with Hardware Loadbalancer

Alexander Diedler
Hello,
I mean a frontend Apache httpd and backend Tomcat server.
Loadbalancing would be done by a hardware load balancer fronted to the
Apache Webserver, so we should not balance the request two times. It should
be only a Failovercluster.



Best regards
Alexander


-----Urspr√ľngliche Nachricht-----
Von: Ronald Klop (Mailing List) [mailto:[hidden email]]
Gesendet: Donnerstag, 6. Oktober 2011 10:44
An: Tomcat Users List
Betreff: Re: Preferred configuration with Hardware Loadbalancer

What do you mean by Apache Webserver? Do you mean Apache Tomcat or Apache
httpd?

 And do you want Failover (active-passive) or Loadbalancing (active-active)?

 Ronald.


Op donderdag, 6 oktober 2011 10:36 schreef Alexander Diedler
<[hidden email]>:
>
>  
>  
>  
>  
> Hello,  
>  
> I am just planning a Application cluster for Tomcat. We have a big
hardware loadbalancer (Cisco) and three virtual servers. We talked about
several configurations, but it is not clear for us, how to build a Tomcat
cluster, with Failover and Session-Replication, but without Loadbalancing?  
>  
> E.g. the LB redirect the request to node 1. The Apache Webserver redirects
the request to node2. So we have a double load-balancing, what ne would
avoid.  

>  
>    
>  
> Best regards  
>  
> Alexander  
>  
>    
>  
>  
>  
>  
>  
>  
>

smime.p7s (6K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: AW: Preferred configuration with Hardware Loadbalancer

Ronald Klop (Mailing List)
I don't have a crystal ball to look into your setup, but I would remove httpd and set up the LB and Tomcat. Less moving parts, so it is easier to think about.

 And read this: http://tomcat.apache.org/tomcat-7.0-doc/cluster-howto.html

 Ronald.


Op donderdag, 6 oktober 2011 12:43 schreef Alexander Diedler <[hidden email]>:

>
>  
>  
>  Hello,
>  I mean a frontend Apache httpd and backend Tomcat server.
>  Loadbalancing would be done by a hardware load balancer fronted to the
>  Apache Webserver, so we should not balance the request two times. It should
>  be only a Failovercluster.
>  
>  
>  
>  Best regards
>  Alexander
>  
>  
>  -----Urspr√ľngliche Nachricht-----
>  Von: Ronald Klop (Mailing List) [mailto:[hidden email]]
>  Gesendet: Donnerstag, 6. Oktober 2011 10:44
>  An: Tomcat Users List
>  Betreff: Re: Preferred configuration with Hardware Loadbalancer
>  
>  What do you mean by Apache Webserver? Do you mean Apache Tomcat or Apache
>  httpd?
>  
>   And do you want Failover (active-passive) or Loadbalancing (active-active)?
>  
>   Ronald.
>  
>  
>  Op donderdag, 6 oktober 2011 10:36 schreef Alexander Diedler
>  <[hidden email]>:
>  >
>  >  
>  >  
>  >  
>  >  
>  > Hello,  
>  >  
>  > I am just planning a Application cluster for Tomcat. We have a big
>  hardware loadbalancer (Cisco) and three virtual servers. We talked about
>  several configurations, but it is not clear for us, how to build a Tomcat
>  cluster, with Failover and Session-Replication, but without Loadbalancing?  
>  >  
>  > E.g. the LB redirect the request to node 1. The Apache Webserver redirects
>  the request to node2. So we have a double load-balancing, what ne would
>  avoid.  
>  >  
>  >    
>  >  
>  > Best regards  
>  >  
>  > Alexander  
>  >  
>  >    
>  >  
>  >  
>  >  
>  >  
>  >  
>  >  
>  >
>  
>
>
>  
>  
>  
>
Reply | Threaded
Open this post in threaded view
|

Re: AW: Preferred configuration with Hardware Loadbalancer

Christopher Schultz-2
In reply to this post by Alexander Diedler
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander,

On 10/6/2011 6:43 AM, Alexander Diedler wrote:
> I mean a frontend Apache httpd and backend Tomcat server.
> Loadbalancing would be done by a hardware load balancer fronted to
> the Apache Webserver, so we should not balance the request two
> times. It should be only a Failovercluster.

I agree with Ronald: drop the Apache httpd and figure out how to get
your Cisco load balancer to detect failure and perform failover.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6N+pYACgkQ9CaO5/Lv0PCqcwCfeWQqDopt2un5xYuxEQezKuz3
MJIAnA/A2IERGEk8J0yRijVm4o05ZNdV
=9Ifd
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]