users@glassfish.java.net

Re: Cluster on Different Machines

From: Bob Treacy <bobtreacy_at_yahoo.com>
Date: Wed, 6 Feb 2008 16:22:18 -0800 (PST)

I found this blog helpful:
http://blog.augmentedfragments.com/2007/11/project-part-2-glassfish-cluster.html

It shows how to use CLI to create a node agent on the
second machine that talks to the domain admin server
on the first machine, then create an instance which
uses that nodeagent to join the cluster on the first
machine and then start the node agent



--- "Asleson, Ryan" <asleson_at_BIWORLDWIDE.com> wrote:

>
> Hello,
>
> My company currently uses Weblogic 8.1 and we're
> considering moving to
> Glassfish. I'm charged with investigating Glassfish
> and its
> capabilities.
>
> Our current Weblogic production environment is
> clustered so that
> instances of Weblogic *running on different physical
> servers* are
> grouped together as clusters with memory replication
> enabled. I'm
> attempting to do the same for Glassfish.
>
> I have an instance of Glassfish on my local
> computer. I have it running
> and have been working in the admin console as well
> as using the CLI.
>
> I used the online admin console to make the domain
> cluster available. I
> was then able to create a cluster and add instances
> to the cluster.
> However, all of the instances in the cluster reside
> on my local machine,
> in fact they all live under
> ${glassfish.home}/nodeagents/${computer.name}/.
>
> I want to add server instances that are running *on
> a different physical
> machine* (namely, another developer's computer) to
> the cluster. I can't
> figure out how to do this from the online admin
> console, as it seems to
> only allow instances that are on the same physical
> computer.
>
> Can somebody tell me how to set up a cluster in
> which the instances in
> the cluster reside on a different computer? I'm
> sure it can be done,
> I'm just not sure how (and if it can't be done, then
> Glassfish is
> unusable for us).
>
> Thank you, and keep up the great work!!!
>
> -Ryan
>
>
>
> This e-mail message is being sent solely for use by
> the intended recipient(s) and may contain
> confidential information. Any unauthorized review,
> use, disclosure or distribution is prohibited. If
> you are not the intended recipient, please contact
> the sender by phone or reply by e-mail, delete the
> original message and destroy all copies. Thank you.