>
|
>
|
Examples Index Ant PointBase Run Examples with PointBase Samples and Tutorials
>
|
Introduction
Creating a Simple Cluster
This document contains instructions on how to set up a simple cluster. If you wish to run the WebLogic Server clustering examples, or learn more about WebLogic Server clusters, follow the steps below to create a small cluster that runs a single machine.
A WebLogic cluster is a collection of WebLogic Server instances that work together to provide a reliable, scalable environment for your applications. WebLogic Server clusters increase reliability by supporting failover; if one server instance fails, another can back it up. A WebLogic cluster always contains one Administration Server that handles all the administrative duties, for example, deploying applications and configuring your cluster. You do not deploy applications on the Administration Server, you deploy applications to the Managed Servers that make up the cluster.
Your cluster can be set up in many different ways. The only requirement is that each WebLogic Server in the cluster listens on a unique IP address/port combination. In production situations you may have each WebLogic Server hosted on a different machine. You could also combine this with multi-homed machines. A multi-homed machine has several ip addresses mapped to it, and can run a server instance on each IP address. For running examples, we recommend you configure your cluster with multiple servers on one IP address, each listing on a unique port. This makes experimenting and developing with clusters easy. There is no need to install WebLogic on various computers, or to configure your network to use multihoming. Of course, in production situations you will likely want to spread your servers over multiple machines, as this allows you to have no single point of failure. The instructions below describe how to use the the Configuration Wizard--a utility in WebLogic Server that simplifies cluster configuration.
*Note the following conventions used in this document:
/
for
\
in path names.
BEA_HOME
represents the home directory for all BEA products installed on one machine; for example, c:\bea
.
WL_HOME
represents the top-level installation directory for WebLogic Server.
The default path is c:\bea\weblogic81
, however, WL_HOME
is not required to be under BEA_HOME
.
bea_home/user_projects/domain_name
directory, and type:
startweblogic
bea_home/user_projects/myClusterDomain
directory. The syntax for starting a Managed Server is:
startmanagedweblogic ManagedServerName AdminServerListenAddress :AdminServerListenAddress
.
For example:
startmanagedweblogic 127.0.0.1:7001
Start one of your managed servers.
Your cluster should not share its multicast port with other applications on your network. If it does, conflicts can result, and you will have problems starting Managed Servers in the cluster, binding objects to the cluster wide JNDI tree, and deploying applications to the cluster. An error like the following in your managed server log is due to a conflicting multicast port/address.
<Feb 3, 2003 9:27:47 PM PST> <Error> <Cluster> <BEA-000123> <onflict start:
You tried to bind an object under the name weblogic.jms.S:managedServer_0 in the
JNDI tree. The object from 6977489318592218031S:172.17.25.45:[7050,7050,-1,-1,705 0,-1,-1,0,0]:mydomain:managedServer_0 is non-clusterable, and you have tried to bind more than once from two or more servers. Such objects can only deployed from one server.>
Last updated: January 2003 |
>
|
Home |
Corporate Info |
News |
Solutions |
Products |
Partners |
Services |
Events |
Download |
How to Buy
Copyright © 2003, BEA Systems, Inc. All rights reserved.
Required browser: Netscape 4.0 or higher, or Microsoft Internet Explorer 4.0 or higher.
Contact BEA