Re: Cluster configuration

2002-05-16 Thread Scott Farquhar

This document will be of help:

   http://kb.atlassian.com/content/orion/docs/http-clustering.html

Cheers,
Scott

sbpodila wrote:
 Hi all,
 
 Can anybody explain the procedure for cluster configuration in Orion 
 server for web applications.
 


-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
  Supporting YOUR J2EE World





RE: Cluster configuration

2001-07-09 Thread Gurinder Randhawa




Thanks elephatwalker :)





elephantwalker [EMAIL PROTECTED] on 07/07/2001 01:21:20 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  RE: Cluster configuration




another resend...didn't catch second time around...

-Original Message-
From: elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 11:41 PM
To: Orion-Interest
Subject: RE: Cluster configuration


resend...didn't catch the first time around...

-Original Message-
From: elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 8:43 PM
To: Orion-Interest
Subject: RE: Cluster configuration


Gurinder,

The clusters are setup just to lighten the multi-cast traffic. That is, if
every server was sharing its http sessions with every other server, you can
see how the power of e and factorial  are related. (sigma (1/n!)) == e. So
instead of the traffic being proporational e^s, where s is the number of
sessions, the traffic is proportional to s*n!, where n is the number of
servers in a cluster. If a cluster has three servers, this seems to be a
good comprimise between redundancy and multi-cast traffic.

The loadbalancing bit randomly picks servers ... not clusters. So if one
server goes down or is removed, another server in its same cluster takes
over. This is the fail-over policy.

regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gurinder
Randhawa
Sent: Friday, July 06, 2001 5:14 PM
To: Orion-Interest
Subject: Re: Cluster configuration





Thanks for the response Jeff, what i wanted was first and foremost was
if one orion instance fails another one to kick in with session
replication.
This sounds like a cluster island. I guess thats all i want.

But isn't a cluster-island used only for fault tolerance that is if one
instance
fails another one on the island picks it up with session replication ?

Can you distribute (load balance) in one cluster-island  or do u need
multiple cluster islands? I want
fault tolerance and load balancing between instances (is this multiple
cluster islands ?).

What would be the best setup for this ? Sorry i think i might be just
confusing myself more.

If you could clear this up a little it would be great.

Thanks a bunch
Gurinder





Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 02:14:04 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least 2
instances per cluster-island, and yes you install 2 separate orion
instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks
on
my cluster setup, it was more just a proof-of-concept. Is there a reason
you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do
clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com


























Re: Cluster configuration

2001-07-09 Thread Gurinder Randhawa




Another question in regards to Apache running in front of the load
balancer. How does apache send
requests via mod_proxy (ProxyPass...) to loadbalancer ? Is there any xtra
config required or do you just
specify loadbalancer port in httpd.conf file ?

Gurinder




Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 02:14:04 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least 2
instances per cluster-island, and yes you install 2 separate orion
instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks
on
my cluster setup, it was more just a proof-of-concept. Is there a reason
you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do
clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com
















Re: Cluster configuration

2001-07-09 Thread Gurinder Randhawa




I have managed to setup a cluster-island with a loadbalancer. I have a
web-app that is shared.
I am running Apache in front of Orion. I can start everything fine except
for 2nd instance of orion in
cluster i get the error:

Error starting JMS-Server: Unable to bind socket: Address already in use
Error starting RMI-Server: IO Error: Address already in use
Warning: Error reading transaction-log file
(/oracle/app/oracle/product/oas9i/Apache/j2ee_2/home/persistence/transactio
n.state) for recovery: premature end of file

Where can i change the ports for these or how would i resolve this ? Also i
 have apache running on port 80 and
i would like to run loadbalancer on another port. Would i specify this port
 in the loadbalancer.xml file or
at startup command line for loadbalancer ? Is it recommended to run
loadbalancer on port 80 ?

Cheers

Thanks

Gurinder Randhawa
Travel Underwriters
IS department
Web Programmer/Analyst




Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 02:14:04 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least 2
instances per cluster-island, and yes you install 2 separate orion
instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks
on
my cluster setup, it was more just a proof-of-concept. Is there a reason
you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do
clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com
















Re: Cluster configuration

2001-07-09 Thread Gurinder Randhawa




In regards to my last email i have changed RMI and JMS ports fine and i got
rid of Address
already in use message upon Orion instance startup.

However i still cannot shutdown the processes properly. I have also noticed
multiple Loadbalancer
processes running, I don't know how though ?

Any ideas or suggestions on starting and shutting down orion instances and
loadbalancer on same
physical host ?

Thanks

Gurinder




Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 02:14:04 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least 2
instances per cluster-island, and yes you install 2 separate orion
instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks
on
my cluster setup, it was more just a proof-of-concept. Is there a reason
you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do
clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com
















RE: Cluster configuration

2001-07-09 Thread elephantwalker


a resend...

as far as stopping orion, the usual methods apply

java -jar admin.jar
ormi://localhost:the_rmi_port_number_for_the_instance_to_shutdown admin
somepassword -shutdown force

as for the loadbalancer, kill -s 9 pid seems to be the only thing that
works.


-Original Message-
From: elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 6:21 PM
To: Orion-Interest
Subject: RE: Cluster configuration


Its not the orion port, its the ormi, or rmi port that's complaining and the
jms port that's complaining. If you set up more than one instance of orion
on the same machine, you will need to change the jms and rmi port's in their
respective config files so that there is no conflict.

I think 23791 is the rmi port by default, and 9127 is the jms port by
default. You can change these by changing the config/rmi.xml and
config/jms.xml file settings. See these links for the docs:

http://www.orionserver.com/docs/jms.xml.html
http://www.orionserver.com/docs/rmi.xml.html

regards,

the elepantwalker





-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gurinder
Randhawa
Sent: Monday, July 09, 2001 4:36 PM
To: Orion-Interest
Subject: Re: Cluster configuration





I have managed to setup a cluster-island with a loadbalancer. I have a
web-app that is shared.
I am running Apache in front of Orion. I can start everything fine except
for 2nd instance of orion in
cluster i get the error:

Error starting JMS-Server: Unable to bind socket: Address already in use
Error starting RMI-Server: IO Error: Address already in use
Warning: Error reading transaction-log file
(/oracle/app/oracle/product/oas9i/Apache/j2ee_2/home/persistence/transactio
n.state) for recovery: premature end of file

Where can i change the ports for these or how would i resolve this ? Also i
 have apache running on port 80 and
i would like to run loadbalancer on another port. Would i specify this port
 in the loadbalancer.xml file or
at startup command line for loadbalancer ? Is it recommended to run
loadbalancer on port 80 ?

Cheers

Thanks

Gurinder Randhawa
Travel Underwriters
IS department
Web Programmer/Analyst




Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 02:14:04 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least 2
instances per cluster-island, and yes you install 2 separate orion
instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks
on
my cluster setup, it was more just a proof-of-concept. Is there a reason
you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do
clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com


















RE: Cluster configuration

2001-07-07 Thread elephantwalker

another resend...didn't catch second time around...

-Original Message-
From: elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 11:41 PM
To: Orion-Interest
Subject: RE: Cluster configuration


resend...didn't catch the first time around...

-Original Message-
From: elephantwalker [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 06, 2001 8:43 PM
To: Orion-Interest
Subject: RE: Cluster configuration


Gurinder,

The clusters are setup just to lighten the multi-cast traffic. That is, if
every server was sharing its http sessions with every other server, you can
see how the power of e and factorial  are related. (sigma (1/n!)) == e. So
instead of the traffic being proporational e^s, where s is the number of
sessions, the traffic is proportional to s*n!, where n is the number of
servers in a cluster. If a cluster has three servers, this seems to be a
good comprimise between redundancy and multi-cast traffic.

The loadbalancing bit randomly picks servers ... not clusters. So if one
server goes down or is removed, another server in its same cluster takes
over. This is the fail-over policy.

regards,

the elephantwalker


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Gurinder
Randhawa
Sent: Friday, July 06, 2001 5:14 PM
To: Orion-Interest
Subject: Re: Cluster configuration





Thanks for the response Jeff, what i wanted was first and foremost was
if one orion instance fails another one to kick in with session
replication.
This sounds like a cluster island. I guess thats all i want.

But isn't a cluster-island used only for fault tolerance that is if one
instance
fails another one on the island picks it up with session replication ?

Can you distribute (load balance) in one cluster-island  or do u need
multiple cluster islands? I want
fault tolerance and load balancing between instances (is this multiple
cluster islands ?).

What would be the best setup for this ? Sorry i think i might be just
confusing myself more.

If you could clear this up a little it would be great.

Thanks a bunch
Gurinder





Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 02:14:04 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least 2
instances per cluster-island, and yes you install 2 separate orion
instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks
on
my cluster setup, it was more just a proof-of-concept. Is there a reason
you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do
clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com

















Re: Cluster configuration

2001-07-06 Thread Jeff Hubbach

There's a very nice how-to at:
http://www.orionserver.com/docs/http-clustering.html

Jeff.

Alessandro Fustini wrote:

  Hi,
 I woul like configure a Orion cluster with 2 PC.
 Is it only necessary change orion/application-deloyments/
 default/defaultWebApp/orion-web.xml file with
 cluster-config / add ??

 Thanks a lot for all help



 Alessandro Fustini
 Java Developer

 e-mail: [EMAIL PROTECTED]

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com







Re: Cluster configuration

2001-07-06 Thread Gurinder Randhawa




One other question i had was...when you setup a cluster-island
do you install 2 seperate orion instances with same cluster id in
web-site.xml ?

We are setting up 2 cluster-islands witha load balancer running behind
apache
on same host (one physical sun box) for one web-application. So to add to
my question above
for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
The documentation wasn't
clear to me on this

I have it working for a single instance of orion but need to do clustering
for scalability and
fault tolerance issues.  How does this perform ?


Thanks

Gurinder Randhawa
Travel Underwriters Group Of Companies
IS Department, Senior programmer/analyst




Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




There's a very nice how-to at:
http://www.orionserver.com/docs/http-clustering.html

Jeff.

Alessandro Fustini wrote:

  Hi,
 I woul like configure a Orion cluster with 2 PC.
 Is it only necessary change orion/application-deloyments/
 default/defaultWebApp/orion-web.xml file with
 cluster-config / add ??

 Thanks a lot for all help



 Alessandro Fustini
 Java Developer

 e-mail: [EMAIL PROTECTED]

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com
















Re: Cluster configuration

2001-07-06 Thread Jeff Hubbach

A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least 2
instances per cluster-island, and yes you install 2 separate orion instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks on
my cluster setup, it was more just a proof-of-concept. Is there a reason you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com







Re: Cluster configuration

2001-07-06 Thread Gurinder Randhawa




Thanks for the response Jeff, what i wanted was first and foremost was
if one orion instance fails another one to kick in with session
replication.
This sounds like a cluster island. I guess thats all i want.

But isn't a cluster-island used only for fault tolerance that is if one
instance
fails another one on the island picks it up with session replication ?

Can you distribute (load balance) in one cluster-island  or do u need
multiple cluster islands? I want
fault tolerance and load balancing between instances (is this multiple
cluster islands ?).

What would be the best setup for this ? Sorry i think i might be just
confusing myself more.

If you could clear this up a little it would be great.

Thanks a bunch
Gurinder





Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 02:14:04 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least 2
instances per cluster-island, and yes you install 2 separate orion
instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks
on
my cluster setup, it was more just a proof-of-concept. Is there a reason
you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2 ?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do
clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com
















Re: Cluster configuration

2001-07-06 Thread Jeff Hubbach

If you use Orion's load balancer, it will distribute between multiple
instances in the same cluster-island. So, if you use one cluster island
with multiple servers (instances) running in it, and a load balancer as a
front-end, then you will get fault tolerance if one (or more) instances of
Orion goes down, plus load balancing between the instances runnning in
that cluster-island. If you start up both the load balancer and orion
instances with debugging on (I believe the parameters to pass are in the
clustering readme), you will see all the output of both of these
operations.

Jeff.

On Fri, 6 Jul 2001 17:14:25 -0700
Gurinder Randhawa [EMAIL PROTECTED] wrote:




Thanks for the response Jeff, what i wanted was first and foremost was
if one orion instance fails another one to kick in with session
replication.
This sounds like a cluster island. I guess thats all i want.

But isn't a cluster-island used only for fault tolerance that is if one
instance
fails another one on the island picks it up with session replication ?

Can you distribute (load balance) in one cluster-island  or do u need
multiple cluster islands? I want
fault tolerance and load balancing between instances (is this multiple
cluster islands ?).

What would be the best setup for this ? Sorry i think i might be just
confusing myself more.

If you could clear this up a little it would be great.

Thanks a bunch
Gurinder





Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 02:14:04 PM

Please respond to Orion-Interest [EMAIL PROTECTED]

To:   Orion-Interest [EMAIL PROTECTED]
cc:(bcc: Gurinder Randhawa/Travel Underwriters)
Subject:  Re: Cluster configuration




A cluster-island is just a cluster, because session replication doesn't
happen between cluster-islands, just inside it. So yes, you need at least
2
instances per cluster-island, and yes you install 2 separate orion
instances
with the same cluster id in the web-site.xml. I didn't run any benchmarks
on
my cluster setup, it was more just a proof-of-concept. Is there a reason
you
want 2 cluster-islands? because they won't share session information with
eachother.

Jeff.

Gurinder Randhawa wrote:

 One other question i had was...when you setup a cluster-island
 do you install 2 seperate orion instances with same cluster id in
 web-site.xml ?

 We are setting up 2 cluster-islands witha load balancer running behind
 apache
 on same host (one physical sun box) for one web-application. So to add
to
 my question above
 for 2 cluster-islands do we need to run 4 instances of orion or just 2
?
 The documentation wasn't
 clear to me on this

 I have it working for a single instance of orion but need to do
clustering
 for scalability and
 fault tolerance issues.  How does this perform ?

 Thanks

 Gurinder Randhawa
 Travel Underwriters Group Of Companies
 IS Department, Senior programmer/analyst

 Jeff Hubbach [EMAIL PROTECTED] on 07/06/2001 07:31:33 AM

 Please respond to Orion-Interest [EMAIL PROTECTED]

 To:   Orion-Interest [EMAIL PROTECTED]
 cc:(bcc: Gurinder Randhawa/Travel Underwriters)
 Subject:  Re: Cluster configuration

 There's a very nice how-to at:
 http://www.orionserver.com/docs/http-clustering.html

 Jeff.

 Alessandro Fustini wrote:

   Hi,
  I woul like configure a Orion cluster with 2 PC.
  Is it only necessary change orion/application-deloyments/
  default/defaultWebApp/orion-web.xml file with
  cluster-config / add ??
 
  Thanks a lot for all help
 
 
 
  Alessandro Fustini
  Java Developer
 
  e-mail: [EMAIL PROTECTED]

 --
 Jeff Hubbach
 Internet Developer
 New Media Designs, Inc.
 www.nmd.com

--
Jeff Hubbach
Internet Developer
New Media Designs, Inc.
www.nmd.com