Redhat 7.9安装IBM MQ 9.0.5.0

网友投稿 1350 2022-09-03

Redhat 7.9安装IBM MQ 9.0.5.0

Redhat 7.9安装IBM MQ 9.0.5.0

1.环境准备

[root@node01 tmp]# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.9 (Maipo)[root@node01 tmp]# groupadd mqm[root@node01 tmp]# useradd -g mqm mqm[root@node01 tmp]# id mqmuid=1003(mqm) gid=1003(mqm) groups=1003(mqm)

2.设置limits.conf文件

[root@node02 MQServer]# cat /etc/security/limits.confmqm soft nofile 65535mqm hard nofile 65535mqm soft nproc 65535mqm hard nproc 65535root soft nofile 65535root hard nofile 65535root soft nproc 65535root hard nproc 65535

3.rpm安装WMQ

[root@node01 tmp]# tar xvf IBM_MQ_9.0.5.0_LINUX_X86-64.tar.gz[root@node01 tmp]# cd MQServer/[root@node01 MQServer]# ./mqlicense.sh -accept[root@node01 MQServer]# rpm -ivh MQSeriesRuntime-9.0.5-0.x86_64.rpm [root@node01 MQServer]# rpm -ivh MQSeriesServer-9.0.5-0.x86_64.rpm [root@node01 MQServer]# rpm -ivh MQSeriesJava-9.0.5-0.x86_64.rpm[root@node01 MQServer]# rpm -ivh MQSeriesClient-9.0.5-0.x86_64.rpm [root@node01 MQServer]# rpm -ivh MQSeriesSamples-9.0.5-0.x86_64.rpm[root@node01 MQServer]# rpm -ivh MQSeriesMan-9.0.5-0.x86_64.rpm [root@node01 MQServer]# rpm -ivh MQSeriesMsg_Zh_CN-9.0.5-0.x86_64.rpm[root@node01 mqm]# /opt/mqm/bin/setmqinst -i -p /opt/mqm/143 of 143 tasks have been completed successfully.'Installation1' (/opt/mqm) set as the primary installation.

4.创建MQ队里管理器

[mqm@node01 ~]# su - mqm [mqm@node01 ~]$ crtmqm -lf 16384 -lp5 -ls4 sourceIBM MQ queue manager created.Directory '/var/mqm/qmgrs/source' created.The queue manager is associated with installation 'Installation1'.Creating or replacing default objects for queue manager 'source'.Default objects statistics : 84 created. 0 replaced. 0 failed.Completing setup.Setup completed.修改/var/mqm/qmgrs/source/qm.ini文件防止由于网络不稳定的原因导致的通道状态问题增加keepAlive=YES参数。如需设置以上参数,需在qm.ini文件中添加以下内容:Channels:MaxChannels=1000MaxActiveChannels=1000TCP:keepAlive=YESqm.ini文件中的参数需要重启队列管理器生效。

5.启动和停止队列管理器

[mqm@node01 source]$ strmqm sourceIBM MQ queue manager 'source' starting.The queue manager is associated with installation 'Installation1'.5 log records accessed on queue manager 'source' during the log replay phase.Log replay for queue manager 'source' complete.Transaction manager state recovered for queue manager 'source'.IBM MQ queue manager 'source' started using V9.0.5.0.[mqm@node01 source]$ dspmqQMNAME(source) STATUS(Running)[mqm@node01 source]$ endmqm -i sourceIBM MQ queue manager 'source' ending.IBM MQ queue manager 'source' ended.[mqm@node01 source]$ dspmqQMNAME(source) STATUS(Ended immediately)

WMQ

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:Redhat 7.9安装db2 11.1.4.6 DBT3514错误
下一篇:PHP分享几种常用的加密方式(php 加密方式)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~