|
Replies:
7
-
Last Post:
Sep 13, 2007 4:18 AM
by: Pankaj Jairath
|
|
|
|
|
|
|
Glassfish and clustering ...
Posted:
Sep 12, 2007 8:04 AM
|
|
|
Hello,
I am a newbie to this issue. I have successfully installed a cluster on Glassfish with two servers. Two agents are running - one on each server. Now my question: With which access point can I access the web application which I deployed? In the Admin UI I only get special links to my "Hello" application (simple WAR with jps). Does Glassfish not provide a single point to access the application?
Thanks in advance.
Thomas
Diese Mitteilung ist vertraulich und ausschlie?lich an den entsprechenden Empfanger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, durfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und loschen Sie die Mitteilung sowie alle zugehorigen Anhange.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
|
|
|
|
|
|
|
Re: Glassfish and clustering ...
Posted:
Sep 12, 2007 8:51 AM
in response to: Hillger Thomas
|
|
|
Hi Hillger You need a load balancer for that purpose. The following document outlines steps to do this with Sun's webserver which has a software load balancer plugin that can direct requests among your instances.
https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html
Let us know if you have more questions.
regards Shreedhar
Hillger Thomas wrote: > Hello, > > I am a newbie to this issue. I have successfully installed a cluster on > Glassfish with two servers. Two agents are running - one on each server. > Now my question: With which access point can I access the web > application which I deployed? In the Admin UI I only get special links > to my "Hello" application (simple WAR with jps). Does Glassfish not > provide a single point to access the application? > > Thanks in advance. > > Thomas > > Diese Mitteilung ist vertraulich und ausschlie?lich an den entsprechenden Empfanger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, durfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und loschen Sie die Mitteilung sowie alle zugehorigen Anhange. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
|
|
|
|
|
|
|
|
AW: Re: Glassfish and clustering ...
Posted:
Sep 13, 2007 12:36 AM
in response to: Shreedhar Ganap...
|
|
|
Hello Shreedhar,
oh yes, I do have some more questions . I am not sure if I understand everything right. You say I need a load balancer to for taking advantage of clustering - correct? Has this always to be a Web Server? And if so has it to be a Sun Web Server? Inside our firm we have an Apache Web Server and we would like to use this server for load balancing. Have you some information about configuring the Apache Web Server?
Many thanks for your support!
Regards Thomas
-----Ursprüngliche Nachricht----- Von: Shreedhar.Ganapathy@Sun.COM [mailto:Shreedhar.Ganapathy@Sun.COM] Gesendet: Mittwoch, 12. September 2007 17:52 An: users@glassfish.dev.java.net Betreff: Re: Glassfish and clustering ...
Hi Hillger You need a load balancer for that purpose. The following document outlines steps to do this with Sun's webserver which has a software load balancer plugin that can direct requests among your instances.
https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html
Let us know if you have more questions.
regards Shreedhar
Hillger Thomas wrote: > Hello, > > I am a newbie to this issue. I have successfully installed a cluster > on Glassfish with two servers. Two agents are running - one on each server. > Now my question: With which access point can I access the web > application which I deployed? In the Admin UI I only get special links > to my "Hello" application (simple WAR with jps). Does Glassfish not > provide a single point to access the application? > > Thanks in advance. > > Thomas > > Diese Mitteilung ist vertraulich und ausschlie?lich an den entsprechenden Empfanger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, durfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und loschen Sie die Mitteilung sowie alle zugehorigen Anhange. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
Diese Mitteilung ist vertraulich und ausschließlich an den entsprechenden Empfänger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, dürfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und löschen Sie die Mitteilung sowie alle zugehörigen Anhänge.
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
|
|
|
|
|
|
|
|
Re: AW: Re: Glassfish and clustering ...
Posted:
Sep 13, 2007 1:09 AM
in response to: Hillger Thomas
|
|
|
Hillger Thomas wrote: > Hello Shreedhar, > > oh yes, I do have some more questions . I am not sure if I understand everything right. You say I need a load balancer to for taking advantage of clustering - correct? Has this always to be a Web Server? And if so has it to be a Sun Web Server? Inside our firm we have an Apache Web Server and we would like to use this server for load balancing. Have you some information about configuring the Apache Web Server? > Thomas,
http://docs.sun.com/app/docs/doc/819-3679/6n5spoggh?a=view
has Apache Web Server configuration related information.
regards sankar
> Many thanks for your support! > > Regards > Thomas > > -----Ursprüngliche Nachricht----- > Von: Shreedhar.Ganapathy@Sun.COM [mailto:Shreedhar.Ganapathy@Sun.COM] > Gesendet: Mittwoch, 12. September 2007 17:52 > An: users@glassfish.dev.java.net > Betreff: Re: Glassfish and clustering ... > > Hi Hillger > You need a load balancer for that purpose. The following document outlines steps to do this with Sun's webserver which has a software load balancer plugin that can direct requests among your instances. > > https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html > > Let us know if you have more questions. > > regards > Shreedhar > > Hillger Thomas wrote: > >> Hello, >> >> I am a newbie to this issue. I have successfully installed a cluster >> on Glassfish with two servers. Two agents are running - one on each server. >> Now my question: With which access point can I access the web >> application which I deployed? In the Admin UI I only get special links >> to my "Hello" application (simple WAR with jps). Does Glassfish not >> provide a single point to access the application? >> >> Thanks in advance. >> >> Thomas >> >> Diese Mitteilung ist vertraulich und ausschlie?lich an den entsprechenden Empfanger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, durfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und loschen Sie die Mitteilung sowie alle zugehorigen Anhange. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net >> For additional commands, e-mail: users-help@glassfish.dev.java.net >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net > > > > > Diese Mitteilung ist vertraulich und ausschließlich an den entsprechenden Empfänger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, dürfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und löschen Sie die Mitteilung sowie alle zugehörigen Anhänge. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
|
|
|
|
|
|
|
|
Re: AW: Re: Glassfish and clustering ...
Posted:
Sep 13, 2007 3:46 AM
in response to: sankara rao bhogi
|
|
|
I've been looking at the mod_loadbalancer stuff with Apache very recently with Glassfish V2, and it's worth noting the supported Apache version is 2.0.x.
If you try 2.2.x as I did, you'll get an error loading the mod_loadbalancer module with an unknown symbol 'ap_run_http_method' - because the name of this symbol has changed in Apache 2.2 I'm assuming the current mod_loadbalancer has been compiled against Apache 2.0.x).
|
|
|
|
|
|
|
|
Re: AW: Re: Glassfish and clustering ...
Posted:
Sep 13, 2007 4:18 AM
in response to: ocoro02
|
|
|
This is mentioned in the docs Installation and High Availability Administration guide under- https://glassfish.dev.java.net/javaee5/docs/DocsIndex.html#Documentation_Drafts .
Note; Apache WebServer is supported as part of Sun Application Server 9.1. Installer does specify, the version supported for Apache -2.0.x
Download 9.1 from http://java.sun.com/javaee/downloads/ea/ .
regards Pankaj
glassfish@javadesktop.org wrote: > I've been looking at the mod_loadbalancer stuff with Apache very recently with Glassfish V2, and it's worth noting the supported Apache version is 2.0.x. > > If you try 2.2.x as I did, you'll get an error loading the mod_loadbalancer module with an unknown symbol 'ap_run_http_method' - because the name of this symbol has changed in Apache 2.2 I'm assuming the current mod_loadbalancer has been compiled against Apache 2.0.x). > [Message sent by forum member 'ocoro02' (ocoro02)] > > http://forums.java.net/jive/thread.jspa?messageID=235221 > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net > >
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net For additional commands, e-mail: users-help@glassfish.dev.java.net
|
|
|
|
|
|
|
|
Re: AW: Re: Glassfish and clustering ...
Posted:
Sep 13, 2007 1:43 AM
in response to: Hillger Thomas
|
|
|
|
|
Hello Thomas,
Clustering binds the participating instances to a logical group - the backend; and the fronting component - HTTP load balancer facilitates in load balancing and failover of the HTTP requests over this group of instances. In a multi-tier deployment; WebServer is the fronting tier which receives the incoming network traffic; just like you seem to have Apache WebServer. GlassFish V2 provides HTTP Load Balancer component support only for Sun Java System WebServer 6.1 / 7.0.
In case you want to HTTP Load Balancer for Apache, you can download Sun Application Server 9.1 (Beta 2). Installer would provide you the option to choose which WebServer to install on. Sun Application Server 9.1 is based on GlassFish V2; and provides support for HTTP Load Balancer on Sun WebServer, Apache and IIS.
You can download 9.1 from http://java.sun.com/javaee/downloads/ea/ under "*Download the Components Independently" *section.
For more information on HA; you can refer to following - http://docs.sun.com/app/docs/coll/1343.4 and checkout the High Availability administration guide. Just a note, docs currently do not mention about support for Apache, which would be updated shortly to reflect this.
Hope this helps.
regards Pankaj
Hillger Thomas wrote: > Hello Shreedhar, > > oh yes, I do have some more questions . I am not sure if I understand everything right. You say I need a load balancer to for taking advantage of clustering - correct? Has this always to be a Web Server? And if so has it to be a Sun Web Server? Inside our firm we have an Apache Web Server and we would like to use this server for load balancing. Have you some information about configuring the Apache Web Server? > > Many thanks for your support! > > Regards > Thomas > > -----Ursprüngliche Nachricht----- > Von: Shreedhar.Ganapathy@Sun.COM [mailto:Shreedhar.Ganapathy@Sun.COM] > Gesendet: Mittwoch, 12. September 2007 17:52 > An: users@glassfish.dev.java.net > Betreff: Re: Glassfish and clustering ... > > Hi Hillger > You need a load balancer for that purpose. The following document outlines steps to do this with Sun's webserver which has a software load balancer plugin that can direct requests among your instances. > > https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html > > Let us know if you have more questions. > > regards > Shreedhar > > Hillger Thomas wrote: > >> Hello, >> >> I am a newbie to this issue. I have successfully installed a cluster >> on Glassfish with two servers. Two agents are running - one on each server. >> Now my question: With which access point can I access the web >> application which I deployed? In the Admin UI I only get special links >> to my "Hello" application (simple WAR with jps). Does Glassfish not >> provide a single point to access the application? >> >> Thanks in advance. >> >> Thomas >> >> Diese Mitteilung ist vertraulich und ausschlie?lich an den entsprechenden Empfanger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, durfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und loschen Sie die Mitteilung sowie alle zugehorigen Anhange. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net >> For additional commands, e-mail: users-help@glassfish.dev.java.net >> >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net > > > > > Diese Mitteilung ist vertraulich und ausschließlich an den entsprechenden Empfänger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, dürfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und löschen Sie die Mitteilung sowie alle zugehörigen Anhänge. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net > For additional commands, e-mail: users-help@glassfish.dev.java.net > >
[att1.html]
|
|
|
|
|
|
|
|
Re: AW: Re: Glassfish and clustering ...
Posted:
Sep 13, 2007 2:10 AM
in response to: Pankaj Jairath
|
|
|
|
|
Hello Thomas,
An update; there is a draft available, which is open for review, at the following location - https://glassfish.dev.java.net/javaee5/docs/DocsIndex.html#Documentation_Drafts.
Checkout the "High Availability Administration Guide" chapter "Configuring Web Servers for Load Balancing".
regards Pankaj
Pankaj Jairath wrote: > Hello Thomas, > > Clustering binds the participating instances to a logical group - the > backend; and the fronting component - HTTP load balancer facilitates > in load balancing and failover of the HTTP requests over this group of > instances. > In a multi-tier deployment; WebServer is the fronting tier which > receives the incoming network traffic; just like you seem to have > Apache WebServer. GlassFish V2 provides HTTP Load Balancer component > support only for Sun Java System WebServer 6.1 / 7.0. > > In case you want to HTTP Load Balancer for Apache, you can download > Sun Application Server 9.1 (Beta 2). Installer would provide you the > option to choose which WebServer to install on. Sun Application Server > 9.1 is based on GlassFish V2; and provides support for HTTP Load > Balancer on Sun WebServer, Apache and IIS. > > You can download 9.1 from http://java.sun.com/javaee/downloads/ea/ > under "*Download the Components Independently" *section. > > For more information on HA; you can refer to following - > http://docs.sun.com/app/docs/coll/1343.4 and checkout the High > Availability administration guide. Just a note, docs currently do not > mention about support for Apache, which would be updated shortly to > reflect this. > > Hope this helps. > > regards > Pankaj > > > Hillger Thomas wrote: >> Hello Shreedhar, >> >> oh yes, I do have some more questions . I am not sure if I understand everything right. You say I need a load balancer to for taking advantage of clustering - correct? Has this always to be a Web Server? And if so has it to be a Sun Web Server? Inside our firm we have an Apache Web Server and we would like to use this server for load balancing. Have you some information about configuring the Apache Web Server? >> >> Many thanks for your support! >> >> Regards >> Thomas >> >> -----Ursprüngliche Nachricht----- >> Von: Shreedhar.Ganapathy@Sun.COM [mailto:Shreedhar.Ganapathy@Sun.COM] >> Gesendet: Mittwoch, 12. September 2007 17:52 >> An: users@glassfish.dev.java.net >> Betreff: Re: Glassfish and clustering ... >> >> Hi Hillger >> You need a load balancer for that purpose. The following document outlines steps to do this with Sun's webserver which has a software load balancer plugin that can direct requests among your instances. >> >> https://glassfish.dev.java.net/javaee5/build/GlassFish_LB_Cluster.html >> >> Let us know if you have more questions. >> >> regards >> Shreedhar >> >> Hillger Thomas wrote: >> >>> Hello, >>> >>> I am a newbie to this issue. I have successfully installed a cluster >>> on Glassfish with two servers. Two agents are running - one on each server. >>> Now my question: With which access point can I access the web >>> application which I deployed? In the Admin UI I only get special links >>> to my "Hello" application (simple WAR with jps). Does Glassfish not >>> provide a single point to access the application? >>> >>> Thanks in advance. >>> >>> Thomas >>> >>> Diese Mitteilung ist vertraulich und ausschlie?lich an den entsprechenden Empfanger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, durfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und loschen Sie die Mitteilung sowie alle zugehorigen Anhange. >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net >>> For additional commands, e-mail: users-help@glassfish.dev.java.net >>> >>> >>> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net >> For additional commands, e-mail: users-help@glassfish.dev.java.net >> >> >> >> >> Diese Mitteilung ist vertraulich und ausschließlich an den entsprechenden Empfänger gerichtet. Wenn Sie diese Mitteilung versehentlich erhalten haben, dürfen Sie diese nicht kopieren, weitergeben oder in sonstiger Weise verbreiten. Bitte informieren Sie in einem solchen Fall den Absender und löschen Sie die Mitteilung sowie alle zugehörigen Anhänge. >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: users-unsubscribe@glassfish.dev.java.net >> For additional commands, e-mail: users-help@glassfish.dev.java.net >> >> >
[att1.html]
|
|
|
|
|