轨道交通 中间件

关于WMQ二阶段提交的问题?

看到如下一个题,答案是B,我想请教高手指点下,在qm.ini文件中具体是怎么设.
An AIX application is being developed that will use WebSphere MQ as the transaction manager
for a two-phase commit with a DB2 database and a WebSphere MQ queue. Where will changes
need to be made, if any, so that WebSphere MQ can manage the DB2 resource?
A.The tp_mon_name parameter in the DB2 configuration
B.The qm.ini configuration file
C.The mqs.ini configuration file
D.No changes need to be made. Both DB2 and WebSphere MQ are already XA compliant
Correct:B
参与4

3 同行回答

jon.chenwq jon.chenwq 售前工程师 18M
1.如果是自己写程序实现MQ跟DB2之间的XA问题,不用修改;2.如果是MB操作MQ跟DB2实现XA,则需要修改 qm.ini :XAResourceManager:Name=DB2SwitchFile=db2switXAOpenString=db=MyDataSource,uid=MyUserId,pwd=MyPassword,toc=tXACloseString=ThreadOfControl=THREAD并使用mqsiset...显示全部
1.如果是自己写程序实现MQ跟DB2之间的XA问题,不用修改;
2.如果是MB操作MQ跟DB2实现XA,则需要修改 qm.ini :

XAResourceManager:
Name=DB2
SwitchFile=db2swit
XAOpenString=db=MyDataSource,uid=MyUserId,pwd=MyPassword,toc=t
XACloseString=
ThreadOfControl=THREAD

并使用mqsisetdbparms修改Broker的配置 收起
IT分销/经销 · 2011-02-17
浏览508
jon.chenwq jon.chenwq 售前工程师 18M
1.如果是自己写程序实现MQ跟DB2之间的XA问题,不用修改;2.如果是MB操作MQ跟DB2实现XA,则需要修改 qm.ini :XAResourceManager:Name=DB2SwitchFile=db2switXAOpenString=db=MyDataSource,uid=MyUserId,pwd=MyPassword,toc=tXACloseString=ThreadOfControl=THREAD并使用mqsiset...显示全部
1.如果是自己写程序实现MQ跟DB2之间的XA问题,不用修改;
2.如果是MB操作MQ跟DB2实现XA,则需要修改 qm.ini :

XAResourceManager:
Name=DB2
SwitchFile=db2swit
XAOpenString=db=MyDataSource,uid=MyUserId,pwd=MyPassword,toc=t
XACloseString=
ThreadOfControl=THREAD

并使用mqsisetdbparms修改Broker的配置 收起
IT分销/经销 · 2011-02-17
浏览504
shazi shazi 售后工程师 SEMC
http://www.redbooks.ibm.com/redbooks/pdfs/sg245214.pdf第二章显示全部
http://www.redbooks.ibm.com/redbooks/pdfs/sg245214.pdf

第二章 收起
机械装备 · 2011-02-17
浏览524

提问者

williamsmile
系统管理员 南昌铁路局
评论30

相关问题

相关资料

相关文章

问题状态

  • 发布时间:2011-02-17
  • 关注会员:1 人
  • 问题浏览:3293
  • 最近回答:2011-02-17
  • X社区推广