• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

�how to clustering with OC4J?

 
carolina espinoza
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi:
I need configuration for a clustering with OC4J, in windows 2000. Please...if to me help.

Sorry for my english....
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34686
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carolina,
Welcome to JavaRanch!

This article from Oracle walks you through the steps.
 
carolina espinoza
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks for the Link... but I have another doubt... Se can make
cluster with OC4J without using a node that works like load
balancer?

Beforehand thank you very much
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34686
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carolina,
From the link:
With EJB clustering there is no separate load balancing process. Instead each application client discovers, either statically or dynamically, which OC4J instances are involved in the cluster. Once the application client has a list of available instances it randomly chooses one to connect to. In the event of an application failure the client application will automatically use another instance. OC4J will take care of any state and data replication that is required.

So you definitely don't need a load balancer. If this is a web application, a plugin file on the webserver can do the load balancing. If it is some other type of client, you need to give the client a list of possible nodes.
 
carolina espinoza
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What I need to do is to have 2 servants where is running the
application OC4J, then that the client does not know that there are
2 servants, that is to say, that is totally transparent; that it is
connected to a URL I specify.
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34686
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carolina,
Are you using a web server?
 
carolina espinoza
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
no...
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34686
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since you are not using a web server and want the clients to not know about the cluster, you will need a load balancer after all.
 
carolina espinoza
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have installed Windows 2000 and ORACLE9iAS and must make
cluster to increase the concurrence to the OC4j, and the idea is
that the clients do not know that they are several servants, but that
thinks that he is a single servant, but not like beginning.... from
already thank you very much
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34686
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carolina,
I'm sorry I don't understand what the question is.
 
carolina espinoza
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If it had a Web server, Could make cluster without using a load
balancer?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34686
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by carolina espinoza:
If it had a Web server, Could make cluster without using a load
balancer?

Yes. In effect the web server would be functioning an a very lightweight load balancer. This is transparent to everybody though, so from your point of view there is no need for a load balancer.

[edited to fix spelling error]
[ November 13, 2004: Message edited by: Jeanne Boyarsky ]
 
carolina espinoza
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
But that is better, to use a load examiner of accounts or no?
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34686
367
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Carolina,
My personal preference is to use the web server. But that is just a personal preference. I'm not sure if it is a best practice.
 
carolina espinoza
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Jeanne:

You could give your email me to be able question?

From already, thank you very much
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic