MQ_JAVA_DATAPATH,MQ消息中间件的安装部署优化

[root@UL01 mqm]# ls -rlt

total 517348

drwxr-xr-x. 7  226 12201      4096 Oct 26  2015 MQServer

-rw-r--r--. 1 root root  529754729 Mar 31 09:06 mqadv_dev80_linux_x86-64.tar.gz

[root@UL01 mqm]# cd MQServer/

[root@UL01 MQServer]# ls -rlt

root@UL01 MQServer]# ./mqlicense.sh --accept

Licensed Materials - Property of IBM

5724-H72

(C) Copyright IBM Corporation 1994, 2015

US Government Users Restricted Rights - Use, duplication or disclosure

restricted by GSA ADP Schedule Contract with IBM Corp.

Displaying license agreement on localhost:10.0

Agreement accepted:  Proceed with install.

[root@UL01 MQServer]#

[root@UL01 MQServer]# rpm -ivh MQSeriesMan-8.0.0-4.x86_64.rpm

error: Failed dependencies:

MQSeriesRuntime = 8.0.0-4 is needed by MQSeriesMan-8.0.0-4.x86_64

[root@UL01 MQServer]# rpm -ivMQSeriesRuntime-8.0.0-4.x86_64.rpm

Preparing...                ########################################### [100%]

1:MQSeriesRuntime        ########################################### [ 50%]

2:MQSeriesMan            ########################################### [100%]

[root@UL01 MQServer]# rpm -ivh MQSeriesMsg_Zh_CN-8.0.0-4.x86_64.rpm MQSeriesSDK-8.0.0-4.x86_64.rpm MQSeriesClient-8.0.0-4.x86_64.rpm MQSeriesServer-8.0.0-4.x86_64.rpm

Preparing...                ########################################### [100%]

1:MQSeriesServer         ########################################### [ 25%]

Updated PAM configuration in /etc/pam.d/ibmmq

WARNING: System settings for this system do not meet recommendations for this product

See the log file at "/tmp/mqconfig.11602.log" for more information

2:MQSeriesClient         ########################################### [ 50%]

3:MQSeriesSDK            ########################################### [ 75%]

4:MQSeriesMsg_Zh_CN      ########################################### [100%]

[root@UL01 MQServer]# rpm -qa | grep MQSeriesServer-8.0.0-4.x86_64.rpm

[root@UL01 MQServer]# rpm -ivh MQSeriesJava-8.0.0-4.x86_64.rpm

Preparing...                ########################################### [100%]

1:MQSeriesJava           ########################################### [100%]

[root@UL01 MQServer]# su - mqm

-bash-4.1$ cd /opt/mqm/

-bash-4.1$ cd bin/

-bash-4.1$ ./dspmq

-bash-4.1$ ./dspmqver

Name:        WebSphere MQ

Version:     8.0.0.4

Level:       p800-004-151022.DE

BuildType:   IKAP - (Production)

Platform:    WebSphere MQ for Linux (x86-64 platform)

Mode:        64-bit

O/S:         Linux 2.6.32-431.el6.x86_64

InstName:    Installation1

InstDesc:

Primary:     No

InstPath:    /opt/mqm

DataPath:    /var/mqm

MaxCmdLevel: 802

LicenseType: Developer

-bash-4.1$ pwd

[root@UL01 MQServer]# vim /etc/profile

PATH=$PATH:/opt/mqm/bin:/opt/mqm/samp/bin

export CLASSPATH=$CLASSPATH:/opt/mqm/java/lib/com.ibm.mq.jar:/opt/mqm/samp/wmqjava/samples82,1Bot82,0-1Bot

[root@UL01 MQServer]# source /etc/profile

[root@UL01 MQServer]# dspmq

bash-4.1$  crtmqm QMA

WebSphere MQ queue manager created.

Directory '/var/mqm/qmgrs/QMA' created.

The queue manager is associated with installation 'Installation1'.

Creating or replacing default objects for queue manager 'QMA'.

Default objects statistics : 79 created. 0 replaced. 0 failed.

Completing setup.

Setup completed.

bash-4.1$ dspmq

QMNAME(QMA)                                               STATUS(Ended immediately)

bash-4.1$ str

strace    stream    strings   strip     strmqbrk  strmqcsv  strmqm    strmqtrc

bash-4.1$ str

strace    stream    strings   strip     strmqbrk  strmqcsv  strmqm    strmqtrc

bash-4.1$ strmq QMA

bash: strmq: command not found

bash-4.1$ strmqm

The system resource RLIMIT_NOFILE is set at an unusually low level for WebSphere MQ.

The system resource RLIMIT_NPROC is set at an unusually low level for WebSphere MQ.

WebSphere MQ queue manager 'QMA' starting.

The queue manager is associated with installation 'Installation1'.

5 log records accessed on queue manager 'QMA' during the log replay phase.

Log replay for queue manager 'QMA' complete.

Transaction manager state recovered for queue manager 'QMA'.

WebSphere MQ queue manager 'QMA' started using V8.0.0.4.

bash-4.1$ dspmq

QMNAME(QMA)                                               STATUS(Running)

bash-4.1$

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值