My FAQ,最新最全的IT技术FAQ
最新100篇 | 推荐100篇 | 专题100篇 | 排行榜 | 搜索 | 在线API文档
首 页 | 程序开发 | 操作系统 | 软件应用 | 图形图象 | 网络应用 | 精文荟萃 | 教育认证 | 未整理篇 | 技术讨论
  当前位置:> Bea专区 > WebLogic Integration
WLI 7.0 Cluster 配置手册
作者:佚名 时间:2005-09-26 10:21 出处:互连网 责编:小渔
              摘要:介绍了如何配置WebLogic Integration7 cluster
WLI 7.0 Cluster 配置手册

 

体系结构


一、单层混合型的WLI Cluster

二、多层结构的WLI Cluster

在本次测试中,使用Weblogic Integration的HttpClusterServlet作为访问集群的HTTP代理

配置过程


一、 配置weblogic cluster的必要条件:

  • 集群中的所有WebLogic server必须位于同一个局域网内,并且必须是IP广播(UDP)可到达的
  • 集群中的所有Weblogic Server必须使用相同的版本,包括Service Pack
  • 集群中的WebLogic Server必须使用永久的静态IP地址。动态IP地址分配不能用于集群环境。如果服务器位于防火墙后面,而客户机位于防火墙外面,那么服务器必须有公共的静态IP地址,只有这样,客户端才能访问服务器。
  • 要以CLUSTER方式运行,必须有包含CLUSTER许可的LICENSE才行。

 

二、 集群环境下WebLogic Integration 资源的部署
  WLI以Weblogic Server为基础,是Weblogic Server的自然延伸。一个WLI domain可以有一个administration server和多个 managed servers,managed server可以配置成Cluster。
  WLI的资源(WLI本身的WEB、EJB及RAR应用),大多数可以部署到集群中的所有managed server,个别的只能部署给某个managed server,有些资源又必须部署到administration server上,具体情况如下:

BPM

 

Resource Group

 

 

Description
(Single Node/Clusterable)

 

 

Resource Name

 

 

Administration Console Navigation

 

 

bpm

-singleNode

BPM master components

(Single node)

 

WLI-BPM Plugin Manager

(wlpi-master-ejb.jar)

 

Deployments—>EJB

 

bpm

-clusterable

 

 

 

BPM components

(Clusterable)

 

WLI-BPM initialization

(bpm-init-ejb.jar)

 

Deployments—>EJB

 

WLI-BPM Server

(wlpi-ejb.jar)

 

Deployments—>EJB

 

WLI-BPM Event Processor MDBs

(wlpi-mdb-ejb.jar)

 

Deployments—>EJB

 

User-defined Event Processor MDBs

wlpi-mdb-xxx.jar

 

Deployments—>EJB

 

wlpiFactory

(com.bea.wlpi.

 

TopicConnectionFactory)

 

Services—>JMS—>

Connection Factories

 

wlpiQueueFactory

(com.bea.wlpi.

 

QueueConnectionFactory)

 

Services—>JMS—>

Connection Factories

 

TXDataSource

 

Services—>JDBC—>

Tx Data Sources

 


AI

 

Resource Group

 

 

Description
(Single Node/Clusterable)

 

 

Resource Name

 

 

Administration Console Navigation

 

 

AI

-admin

 

Application integration administration

(Single node: Administration Server)

 

WLI-AI RAR Upload

(wlai-admin.ear)

 

Deployments—>

Applications—>WLI-AI RAR Upload

 

 

AI-clusterable

 

 

 

 

 

 

 

 

Application integration components

(Clusterable)

 

WLI-AI Server

(wlai-server-ejb.jar)

Deployments—>EJB

 

Application View Management Console

(wlai.war)

 

Deployments—>Web Applications—>wlai

 

WLI-AI Event Processor

(wlai-eventprocessor

 

-ejb.jar)

 

Deployments—>EJB

 

WLI-AI Async Processor

(wlai-asyncprocessor

 

-ejb.jar)

 

Deployments—>EJB

 

WLI-AI BPM Plug-in

(wlai-plugin-ejb.jar)

 

Deployments—>EJB

 

WLI-AI BPM Plug-in Help

(wlai-plugin.war)

 

Deployments—>

Web Applications

 

WLAI_JMSConnection
Factory

 

Services—>JMS—>

Connection Factories

 

Adapter

Wlai

 

-event-yyy

 

 

Application integration event adapter

(Depends on the adapter)

 

yyyEventRouter

 

Deployments—>

Applications

—>yyyEventRouter

 

wlai-service-yyy

 

Application integration service adapter

(Depends on the adapter)

 

BEA . . . yyy . . . ADK_RAR

 

Deployments—>

Applications—> BEA . . . yyy . . . ADK_RAR

 

BEA . . . yyy . . . ADK_WEB

 

Deployments—>

Applications—> BEA . . . yyy . . . ADK_WEB

 


B2B

 

Resource Group

 

 

Description
(Single Node/Clusterable)

 

 

Resource Name

 

 

Administration Console Navigation

 

 

B2B

-singleNode

 

B2B integration administration

(Single node: Administration Server)

 

 

B2B console

(b2bconsole.war)

 

Deployments—>

Web Applications

 

WLI-B2B Startup

(b2b-startup.jar)

Note: Deployed to the administration server and the clustered managed servers.

 

Deployments—>EJB

 

B2B

-clusterable

 

 

B2B integration components

(Clusterable)

 

WLI-B2B Startup

(b2b-startup.jar)

 

Deployments—>EJB

 

WLCShutdown

 

Deployments—>

Startup & Shutdown

 

WLCHub.DS

 

Services—>JDBC—>

Tx Data Sources

 

TransportServlet

(b2b.war)

 

Deployments—>

Web Applications

 

WLI-B2B RN MDB

(b2b-rosettanet.jar)

 

Deployments—>EJB

 

WLI-B2B RN BPM Plug-in

(wlc-wlpi-plugin.jar)

 

Deployments—>EJB

WLI-B2B ebXML BPM Plug-in

(ebxml-bpm-plugin.jar)

 

Deployments—>EJB

 

 

RNQueueFactory

(com.bea.wli.b2b.rosettanet.

 

QueueConnectionFactory)

 

Services—>JMS—>

Connection Factories

 

B2BTopicFactory

(com.bea.wli.b2b.server.

 

TopicConnectionFactory)

 

Services—>JMS—>

Connection Factories

 


DI

 

Resource Group

 

 

Description
(Single Node/Clusterable)

 

 

Resource Name

 

 

Administration Console Navigation

 

 

 

 

DI

-clusterable

 

 

 

 

Data Integration components

(Clusterable)

 

 

WLI-DI BPM Plug-in

(wlxtpi.jar)

 

 

Deployments—>EJB

 

WLI-DI BPM Plug-in Help

(wlxtpi.war)

 

Deployments—>Web Applications

 


other

 

Resource Group

 

 

Description
(Single Node/Clusterable)

 

 

Resource Name

 

 

Administration Console Navigation

 

 

Wli

-clusterable

 

 

(Single node: Administration Server)

 

WLI-Repository (respository-ejb.jar)

 

Deployments—>EJB

 

WLI Error Listener (wli-errorlistener-

mdb.jar)

 

Deployments—>EJB

 

 

Mailsession

(wlpiMailSession)

 

Services—>Mail

Java mail sessions used for the BPM Send E-mail action.

 

JDBCConnectionPool

(wliPool)

 

Services—>JDBC—>

Connection Pools

Used for all database connections in WebLogic Integration.

 

注:Single node-该资源只能部署到某个managed server
Clusterable-该资源可以部署到cluster中的所有managed server。如果是多层形式的集群,需将web部署到web集群,将ejb和JDBC,JMS相关的资源部署到obj集群中
  以下这些资源必须部署到Administrator Server:

  • B2B Console (b2bconsole.war)
  • WLI-B2B Startup (b2b-startup.jar)
  • WLI-AI RAR Upload (wlai-admin.ear)
  • B2BTopic JMS Destination (com.bea.wli.b2b.server.B2BTopic)



Adapter的部署:WLI的adapter由service adapter、event adapter及Design time的一些应用和资源组成。 虽然这三个部分可以打成一个单一的EAR包,但它们的部署是独立的。其中event adapter只能部署到某个managed server上,而不是cluster中的所有managed server。

三、 集群环境下WebLogic Integration JMS资源的配置管理

(一)、JMS Connection Factories的发布
JMS Connection Factories的发布情况如下表:

Connection

 

Factories

 

Name

Targets
(Single Node/Clusterable)

 

 

Resource Name

 

(JNDI Name)

 

 

Administration Console Navigation

 

 

 

RNQueueFactory

 

Clusterable

 

Com.bea.wli.b2b.

Rosettanet

.QueueConnectionFactory

Services—>JMS—>

Connection Factories

WLAI_

JMSConnectionFactory

Clusterable

 

com.bea.wlai

.JMSConnectionFactory

Services—>JMS—>

Connection Factories

WLI_B2B_TopicFactory

Single node: Administration Server

 

com.bea.wli.b2b.server

.TopicConnectionFactory

Services—>JMS—>

Connection Factories

wlpiFactory

Clusterable

 

com.bea.wlpi

.TopicConnectionFactory

Services—>JMS—>

Connection Factories

wlpiQueueFactory

Clusterable

 

com.bea.wlpi

.QueueConnectionFactory

Services—>JMS—>

Connection Factories


(二)、JMS JDBC Stores

在通过Domain Configuration Wizard创建domain时,它会为domain中的每个server,创建一个JMS JDBC Stores。
如果你是在管理控制台上,自己手工创建的server,你必须为你创建的server创建一个JMS JDBC Stores。
(三)、JMS Servers and JMS Destinations
同样在通过Domain Configuration Wizard创建domain时,它会为domain中的每个server,创建一个JMS Server并创建相应的Destinations。
如果你是在管理控制台上,自己手工创建的server,那么你必须为创建的server创建一个JMS Server,其JMS Destinations相应信息如下表:

JMS Destinations

 

Distributed or Single

 

 

com.bea.wli.bpm.TimerQueue

 

Clusterable

 

com.bea.wli.bpm.EventQueue

 

Clusterable

 

com.bea.wli.bpm.ValidatingEventQueue

 

Clusterable

 

com.bea.wli.bpm.ErrorTopic

 

Clusterable

 

om.bea.wli.bpm.AuditTopic

 

Clusterable

 

com.bea.wli.bpm.NotifyTopic

 

Clusterable

 

com.bea.wlpi.EventTopic

 

Single managed server

 

com.bea.wli.b2b.server.B2BTopic

 

Administration server only

 

com.bea.b2b.OutboundQueue

 

Clusterable

 

com.bea.b2b.rosettanet.EncoderQueue

 

Clusterable

 

com.bea.wlai.ASYNC_REQUEST_QUEUE

 

Clusterable

 

com.bea.wlai.ASYNC_RESPONSE_QUEUE

 

Clusterable

com.bea.wlai.EVENT_QUEUE

 

Clusterable

com.bea.wlai.EVENT_TOPIC