multiple apache instances load balancing tomcat

2004-02-03 Thread Pete Stokes
Hi.

I've finally got Apache load balancing with Tomcat, but want to provide 
redundancy to the Apache instance, is there a way to do this so if one 
goes down the second one takes over seamlessly / works concurrently ?

Thanks,
Pete.
***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread johncoyle
Pete,
For redundancy in apache the following options are open to you :
1) Use a http sprayer in front of the apache webservers
2) Use a load balancing software such as Stonebeat Webcluster
3) Manual failover. This is where you have two instances of apache
configured and running using the same ip, but only have one of the
up. When your primary node fails down its interface and up the
secondary.

John

 Hi.

 I've finally got Apache load balancing with Tomcat, but want to provide
 redundancy to the Apache instance, is there a way to do this so if one
 goes down the second one takes over seamlessly / works concurrently ?

 Thanks,
 Pete.


 ***
 This email and any files transmitted with it are confidential and intended
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error please notify the system manager.
 This footnote also confirms that this email message has been swept by
 MIMEsweeper for the presence of computer viruses.
 ***
 For any information on the Quinn Group of Companies please visit :-

 http://www.quinn-group.com


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple apache instances load balancing tomcat

2004-02-03 Thread Pete Stokes
Hi John.

Investigating cost of point 2.
For point 3, I'd assume that all users would then lose their sessions? 
I'd be after sticky sessions, so I guess I'd need memory-memory 
replication between the two apache's, is this possible?

Tx.
Pete.
[EMAIL PROTECTED] wrote:

Pete,
For redundancy in apache the following options are open to you :
1) Use a http sprayer in front of the apache webservers
2) Use a load balancing software such as Stonebeat Webcluster
3) Manual failover. This is where you have two instances of apache
configured and running using the same ip, but only have one of the
up. When your primary node fails down its interface and up the
secondary.
John


Hi.

I've finally got Apache load balancing with Tomcat, but want to provide
redundancy to the Apache instance, is there a way to do this so if one
goes down the second one takes over seamlessly / works concurrently ?
Thanks,
Pete.
***
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread johncoyle
Pete,
Unfortuantly I haven't come accross memory-memory replication between
two apaches as I've always run them on seperate machines and took the
hit on the loss of sessions, better to loose a session than a service.

John

 Hi John.

 Investigating cost of point 2.
 For point 3, I'd assume that all users would then lose their sessions?
 I'd be after sticky sessions, so I guess I'd need memory-memory
 replication between the two apache's, is this possible?

 Tx.
 Pete.


 [EMAIL PROTECTED] wrote:

 Pete,
 For redundancy in apache the following options are open to you :
 1) Use a http sprayer in front of the apache webservers
 2) Use a load balancing software such as Stonebeat Webcluster
 3) Manual failover. This is where you have two instances of apache
 configured and running using the same ip, but only have one of the
 up. When your primary node fails down its interface and up the
 secondary.

 John


Hi.

I've finally got Apache load balancing with Tomcat, but want to provide
redundancy to the Apache instance, is there a way to do this so if one
goes down the second one takes over seamlessly / works concurrently ?

Thanks,
Pete.


***
This email and any files transmitted with it are confidential and
 intended
solely for the use of the individual or entity to whom they are
 addressed.
If you have received this email in error please notify the system
 manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 ***
 This email and any files transmitted with it are confidential and intended
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error please notify the system manager.
 This footnote also confirms that this email message has been swept by
 MIMEsweeper for the presence of computer viruses.
 ***
 For any information on the Quinn Group of Companies please visit :-

 http://www.quinn-group.com


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: multiple apache instances load balancing tomcat

2004-02-03 Thread David Rees
Pete Stokes wrote, On 2/3/2004 8:09 AM:
 [EMAIL PROTECTED] wrote:
 For redundancy in apache the following options are open to you :
 1) Use a http sprayer in front of the apache webservers
 2) Use a load balancing software such as Stonebeat Webcluster
 3) Manual failover. This is where you have two instances of apache
 configured and running using the same ip, but only have one of the
 up. When your primary node fails down its interface and up the
 secondary.

For point 3, I'd assume that all users would then lose their sessions? 
I'd be after sticky sessions, so I guess I'd need memory-memory 
replication between the two apache's, is this possible?
If you're clustering multiple Tomcats instances with replicated sessions 
on different machines behind multiple Apache instances on different 
machines, if one of the Apache instances dies you won't lose any 
sessions as your Tomcat instances have not been affected.

With TC 5, you don't even need to use sticky sessions if you're using 
session replication, but I would recommend it anyway.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread Pete Stokes
David,

Problem with using the Tomcat 5 session replication, this 3rd party app 
cannot be clustered that way, it fails. Therefore my only choice is 
sticky sessions.

Pete.

David Rees wrote:

Pete Stokes wrote, On 2/3/2004 8:09 AM:
  [EMAIL PROTECTED] wrote:
  For redundancy in apache the following options are open to you :
  1) Use a http sprayer in front of the apache webservers
  2) Use a load balancing software such as Stonebeat Webcluster
  3) Manual failover. This is where you have two instances of apache
  configured and running using the same ip, but only have one of the
  up. When your primary node fails down its interface and up the
  secondary.
 
For point 3, I'd assume that all users would then lose their sessions? 
I'd be after sticky sessions, so I guess I'd need memory-memory 
replication between the two apache's, is this possible?


If you're clustering multiple Tomcats instances with replicated sessions 
on different machines behind multiple Apache instances on different 
machines, if one of the Apache instances dies you won't lose any 
sessions as your Tomcat instances have not been affected.

With TC 5, you don't even need to use sticky sessions if you're using 
session replication, but I would recommend it anyway.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread Rob Augustinus
does it fail because of placing objects in the session which lack the 
Serializable interface?

Pete Stokes wrote:

David,

Problem with using the Tomcat 5 session replication, this 3rd party 
app cannot be clustered that way, it fails. Therefore my only choice 
is sticky sessions.

Pete.

David Rees wrote:

Pete Stokes wrote, On 2/3/2004 8:09 AM:
  [EMAIL PROTECTED] wrote:
  For redundancy in apache the following options are open to you :
  1) Use a http sprayer in front of the apache webservers
  2) Use a load balancing software such as Stonebeat Webcluster
  3) Manual failover. This is where you have two instances of apache
  configured and running using the same ip, but only have one of the
  up. When your primary node fails down its interface and up the
  secondary.
 
For point 3, I'd assume that all users would then lose their 
sessions? I'd be after sticky sessions, so I guess I'd need 
memory-memory replication between the two apache's, is this possible?


If you're clustering multiple Tomcats instances with replicated 
sessions on different machines behind multiple Apache instances on 
different machines, if one of the Apache instances dies you won't 
lose any sessions as your Tomcat instances have not been affected.

With TC 5, you don't even need to use sticky sessions if you're using 
session replication, but I would recommend it anyway.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



*** 

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify 
the system manager.
This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
*** 

For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread Pete Stokes
yup, but the app developers say they will address this issue at a future 
point.

Pete.

Rob Augustinus wrote:

does it fail because of placing objects in the session which lack the 
Serializable interface?

Pete Stokes wrote:

David,

Problem with using the Tomcat 5 session replication, this 3rd party 
app cannot be clustered that way, it fails. Therefore my only choice 
is sticky sessions.

Pete.

David Rees wrote:

Pete Stokes wrote, On 2/3/2004 8:09 AM:
  [EMAIL PROTECTED] wrote:
  For redundancy in apache the following options are open to you :
  1) Use a http sprayer in front of the apache webservers
  2) Use a load balancing software such as Stonebeat Webcluster
  3) Manual failover. This is where you have two instances of apache
  configured and running using the same ip, but only have one of the
  up. When your primary node fails down its interface and up the
  secondary.
 
For point 3, I'd assume that all users would then lose their 
sessions? I'd be after sticky sessions, so I guess I'd need 
memory-memory replication between the two apache's, is this possible?




If you're clustering multiple Tomcats instances with replicated 
sessions on different machines behind multiple Apache instances on 
different machines, if one of the Apache instances dies you won't 
lose any sessions as your Tomcat instances have not been affected.

With TC 5, you don't even need to use sticky sessions if you're using 
session replication, but I would recommend it anyway.

-Dave

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



*** 

This email and any files transmitted with it are confidential and 
intended solely for the use of the individual or entity to whom they 
are addressed. If you have received this email in error please notify 
the system manager.
This footnote also confirms that this email message has been swept by 
MIMEsweeper for the presence of computer viruses.
*** 

For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



***
This email and any files transmitted with it are confidential and intended solely for 
the use of the individual or entity to whom they are addressed. If you have received 
this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by MIMEsweeper for 
the presence of computer viruses.
***
For any information on the Quinn Group of Companies please visit :-
http://www.quinn-group.com

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: multiple apache instances load balancing tomcat

2004-02-03 Thread Filip Hanik
since you haven't addressed it yet, my recommendation is that you use the
java.io.Externilizable interface instead, there is more room for
serialization optimization in there

Filip
- Original Message -
From: Pete Stokes [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 10:02 AM
Subject: Re: multiple apache instances load balancing tomcat


yup, but the app developers say they will address this issue at a future
point.

Pete.


Rob Augustinus wrote:


 does it fail because of placing objects in the session which lack the
 Serializable interface?

 Pete Stokes wrote:

 David,

 Problem with using the Tomcat 5 session replication, this 3rd party
 app cannot be clustered that way, it fails. Therefore my only choice
 is sticky sessions.

 Pete.


 David Rees wrote:

 Pete Stokes wrote, On 2/3/2004 8:09 AM:
   [EMAIL PROTECTED] wrote:
   For redundancy in apache the following options are open to you :
   1) Use a http sprayer in front of the apache webservers
   2) Use a load balancing software such as Stonebeat Webcluster
   3) Manual failover. This is where you have two instances of apache
   configured and running using the same ip, but only have one of the
   up. When your primary node fails down its interface and up the
   secondary.
  

 For point 3, I'd assume that all users would then lose their
 sessions? I'd be after sticky sessions, so I guess I'd need
 memory-memory replication between the two apache's, is this possible?




 If you're clustering multiple Tomcats instances with replicated
 sessions on different machines behind multiple Apache instances on
 different machines, if one of the Apache instances dies you won't
 lose any sessions as your Tomcat instances have not been affected.

 With TC 5, you don't even need to use sticky sessions if you're using
 session replication, but I would recommend it anyway.

 -Dave

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]







***

 This email and any files transmitted with it are confidential and
 intended solely for the use of the individual or entity to whom they
 are addressed. If you have received this email in error please notify
 the system manager.
 This footnote also confirms that this email message has been swept by
 MIMEsweeper for the presence of computer viruses.


***

 For any information on the Quinn Group of Companies please visit :-

 http://www.quinn-group.com


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]





 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]






***
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify the system manager.
This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

***
For any information on the Quinn Group of Companies please visit :-

http://www.quinn-group.com


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]