Author Message
fwxd6266z
PostPosted: Fri 2:39, 28 Jan 2011    Post subject: moncler cappotti Configuring WebLogic Server domai

Prerequisites

What is Domain and Server

Domain
Domain WebLogic Server instance is the basic management unit. The so-called Domain that is, by the configuration to the WebLogic Server Administrator Server instance management logic unit, this unit is a collection of all relevant resources.

Server
Server is a relatively independent,moncler cappotti, some specific functions to achieve the combined unit.

Domain and Server relationship
a Domain can contain one or more WebLogic Server instances, and even the Server cluster. Domain has a one and only one Server Management Server as a function of the other Server specific implementation of a specific logic function.

this environment
? Platform: Windows 2000
? Software: Bea WebLogic Server 8.1 SP2


configure WebLogic Server clusters

WebLogic cluster architecture

single hybrid cluster architecture (Cluster)
This architecture all the Web applications and related services in the application of all placed in a single cluster WLS instance, this architecture has the advantage of:
? ; easy to manage
? flexible load balancing mechanism
?
stronger security controls clustered architecture multi-layer structure (Cluster)
This architecture uses two WLS cluster, a place the table static content and cluster Servlet, another place the cluster EJB. Generally used in the following circumstances:
? In the load-balancing mechanisms need to call the method in the EJB cluster;
? objects in the provision of content and services to provide greater mobility between the needs of the time;
? in need When higher system stability;
configuration necessary for cluster applications
? all Cluster Server must be in the same network segment, and must is the IP broadcast (UDP) can be reached
? cluster all the Server must use the same version, including Service Pack
? ; cluster Server must use a static IP address permanent. Dynamic IP address assignment can not be used for the cluster environment. If the server is located behind a firewall, while the client resides outside the firewall,Beats by dr dre, the server must have a static IP address of the public,Monster beats by dr. dre Teachers risked his life, the only way clients can access the server
? ; to run the CLUSTER, CLUSTER permission must be included LICENSE Caixing (from Bea Web site can download a trial version of the Cluster configuration)

configuration preparatory work before the cluster in the configuration before application
to the cluster configuration information has a good design, the following is the configuration of our cluster information:
configured on the same machine type operating system cluster
hardware configuration of the machine role Remarks DELL PC
Win2000 Professional
IP: 10.16.92.33PORT: 7080
Administrator Server

DELL PC
Win2000 Professional
IP: 10.16.92.33PORT: 8080
Proxy Server

DELL PC
Win2000 Professional
IP: 10.16.92.33PORT: 7082
Managed Server

DELL PC
Win2000 Professional
IP: 10.16.92.33PORT: 7084
Managed Server

DELL PC
Win2000 Professional
IP: 10.16.92.33PORT: 7086
Managed Server

different machines on the same network segment configured on the cluster
machine type operating system, hardware configuration role Remarks DELL PC
Win2000 Server
IP: 10.16.92.7PORT: 7080
Administrator Server

DELL PC
Win2000 Server
IP : 10.16.92.7PORT: 8080
Proxy Server

DELL PC
Win2000 Server
IP: 10.16.92.7PORT: 7082
Managed Server

DELL PC
Win2000 Server
IP: 10.16.92.33PORT: 7084
Managed Server


be configured using the Domain Configuration Wizard to create a new Domain

; select Install Next In the Select Enter the name of the Managed Server, listen address, listen port, if you need SSL support, you can in the You can configure multiple Managed Server. Click do not lose. Click the list, click

JDBC configuration information is not in this
JDBC data sources and connection pool configuration, click JMS information JMS
not configure this, click Enter the administrator user name and password, you can also configure the other systems management users, do not do in this configuration, click Additional options
can choose whether to create a shortcut in the Start menu, whether the service as a Windows system service,Cheap Tory Burch Shoes God is a fool of me ______, where we all choose Next in the development mode,MBT shoes sale, the debugging information will be rich, very helpful to us, click the List your system configuration information, and specify the default installation path (D: bea user_projects domains mydomain), in this we will locate the installation path in D: bea user_projects clusterdomain, click br>

start the WebLogic service
? start the Administrator Server
startWebLogic command to start using the Administrator Server

? start the Managed Server
use startManagedWeblogic command to start Managed Server, it is the command format is:
startManagedWeblogic.cmd Managed Server name of the Administrator Server Address
Similarly, you can start nodeB and nodeC, and Proxy Server


HttpClusterServlet achieved through the automatic distribution process the request through a WebLogic Server
HttpClusterServlet agent WebLogic cluster of other members of the HTTP server requests, while also HttpClusterServlet HTTP proxy requests for load balancing and fault tolerance.
implementation is actually very simple, follow the following steps you can easily request the automatic distribution function:
? Create a proxy Server (here we call this proxyServer)
? generated configuration file web.xml
? generate the configuration file weblogic.xml
? package build Web applications
? deploy applications on the proxyServer, and the application as the default Web application creates a proxy Server


Start Administrator Server, and then enter the Console Console (mand to package into a proxy war file, we build a temporary directory temp, and then create the following directory structure in which:

use the following command operation, Packaging web applications can be completed operations:
JAR application name parameter to be packaged WEB directory

course, we can deploy the directory, and No packaging, the development phase of this project is very helpful, easy to modify.

start deploying proxy application
Administrator Server, and then enter the Console Console (plete, view the status of WEB application is
the WEB WEB application configuration as the default application, weblogic8.1 and weblogic6.1 are very different, 8.1 no longer supports the complete configuration from the console console work, but in the weblogic.xml node through the following to complete the configuration of the work.
/



test proxy application
; modify the web.xml file, add the following node, and then restart the service.


DebugConfigInfo

ON

open a browser, visit the following address, will be The results are shown below, which shows you the configuration is successful.
mand to complete the stress test.
ab n 100 c 10 mand, the system must be able to find the program path, or can not perform.
pressure test is completed, we from the Managed Server's console can be seen, nodeA, nodeB, nodeC have printed out the concurrent requests, the cluster can be distributed to the request in order to achieve load-balancing purposes.
test application directory structure is as follows, application deployment and the deployment of proxy, as it should be noted that deployment of the Managed Server to the top.


the same network segment clusters
different machines deployed on different machines deployed in the operation of the above clusters and a number of different, that is, the deployment Managed Server

in another machine configuration


Also to be noted that,
start
? Admin Server only for cluster management, and can not participate in the cluster services.
? Web applications should be deployed to the cluster, the file synchronization is done by the WebLogic.

Powered by phpBB © 2001,2002 phpBB Group