users@glassfish.java.net

Re: What is "HTTP Load Balancers" node and what is relation with sun java web server?

From: Legolas Woodland <legolas.w_at_gmail.com>
Date: Tue, 17 Apr 2007 14:10:14 +0330

Thank you very much for reply.

Right now i think i have setup a cluster and a load balancer according
to your very good weblog.
I have sun java web server 7.u1 and latest blassfish installed.
What i want to know is:
I have one DAS, And a web server which according to your weblog will balance
the load between any instance that we add in loadbalancer.xml .

I have two questions and one problem.

problem:
I tried several time to create load balancer in glassfish application server
and then apply it to my web server, but it just return an error without any
stack trance, error say: Can not connect to server.
My web server and glassfish both works on the same machine, so i tried:
127.0.0.1, localhost and my lan ip address none of them worked.
the port that i can access my web server administration console is 8989 and
i used this port in HTTP Load Balancers node of glassfish administration
console when i trid to create the load balancer.

IS there anything specific to change in order to make it possible to apply
changes to web server load balancer from glassfish console?

Now my question:

-what kind of glassfish i should setup in some other machines to add them to
the cluster? can they be normal domains or there are some specific ways to
create domains to add them to cluster?
can you give me the steps?

-I find that we can have several instance in a server? what is relation of
domains with instances? why we should have several instance in a domain?



Thanks.


On 4/17/07, Pankaj Jairath <Pankaj.Jairath_at_sun.com> wrote:
>
> Hello Legolas,
>
> If I understood your question, you are referring to the UI element "HTTP
> Load Balancers" element of the GlassFish V2 Application Server. If so
> let me give a brief.
>
> GlassFish V2 provides the HTTP Load Balancer which can then be deployed
> onto the supported WebServer - for GlassFish V2 it's the Sun Java System
> WebServer 6.1 / 7.0. When defining the High Availability deployment
> topology of a Java EE deployment, administrator would define a cluster
> of application servers instances and install and configure the HTTP Load
> Balancer to take care of load balancing and failover of the HTTP requests.
> To do this administrative configuration steps, the end-user can use the
> Admin Console (GUI) or the CLI commands to define the cluster, it's
> configuration and associate a HTTP Load Balancer with this
> configuration. This association defines the cluster configuration and
> other Load Balancer configurable parameters, which the HTTP Load
> Balancer uses to perform its HA functionality. The administrator can use
> the Admin Console to generate this HTTP Load Balancer configuration and
> even push the configuration over the wire to the deployed HTTP Load
> Balancer on a given Sun Java System WebServer.
>
> Refer to the documents provided earlier for further details on how to
> use the Domain Administrative Server (DAS) Admin Console (GUI) or CLI to
> administer the HTTP Load Balancer.
>
> regards
> Pankaj
>
> legolas wood wrote:
>
> > Hi
> > Thank you for reading my post.
> > What is relation of "HTTP Load Balancers" in administration console
> > with using sun java web server as load balancer?
> >
> > Thanks
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> > For additional commands, e-mail: users-help_at_glassfish.dev.java.net
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>