SolutionsSolutions Products Services Support Developers Partners Customers About BEA
专业咨询服务
客户支持服务
服务导航
活动与新闻
技术资源
AskBEA
常见技术问题
BEA产品文档
BEA新闻组
dev2dev 中文站点
dev2dev 英文站点
其它有用资源
联系我们
ALUI & ALBPM支持
培训服务
最新培训
服务


related links header
item indicator 如何购买BEA产品
item indicator 产品文档
item indicator BEA客户
item indicator 培训
item indicator 客户支持
item indicator SOA资源中心
Developer Resources
BEA dev2dev
BEA dev2dev网站
在线技术论坛
资源中心
User Group
客户支持服务

技术资源


常见技术问题(FAQs)

WebLogic 常见问题
     
最近更新时间: 作者:YuChuan Zhang 浏览次数:
 
文章ID:200307251555
文章标题: 如何确定用来做Cluster的服务器能否做MultiCast?
文章关键字: Cluster
文章路径:
 
文章内容:

可以使用Weblogic提供的工具来测试。
用法: java utils.MulticastTest [选项]

-N <名称> 必选
进程的唯一标识.
-A <地址> 必选
组播的虚拟地址,比如: 237.0.0.1
在各个服务器上远行此程序,如果组播配置正确,每台服务器会报告发现新的邻近服务器,这样说明各台服务器可以用组播通讯.
比如, 测试结果如下:
C:\wl7020\weblogic700\samples\server\src\examples>java utils.MulticastTest -N P2 -A 237.0.0.2
***** WARNING ***** WARNING ***** WARNING *****
Do NOT use the same multicast address as a running WLS cluster.

Starting test. Hit any key to abort

Using multicast address 237.0.0.2:7001
Will send messages under the name P2 every 2 seconds
Will print warning every 600 seconds if no messages are received

New Neighbor P1 found on message number 4
I (P2) sent message num 1
Received message 5 from P1
Received message 2 from P2
I (P2) sent message num 2
Received message 6 from P1
Received message 3 from P2
I (P2) sent message num 3
Received message 7 from P1
Received message 4 from P2