- 1、本文档共5页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
LINUX下MQV7.1的安裝和配置及双机搭建
LINUX 下MQ V7.1的安装和配置 及双机搭建1:check 操作系统是否支持 MQ V7.1:64位Linux:操作系统检测:必须安装gcc编译器(最好是操作系统安装以development的模式进行安装)。Shell interpreterEnsure that /bin/sh is a valid shell interpreter compatible with the Bourne shell, otherwise the post-installation configuration of WebSphere MQ does not complete successfully. If the shell was not installed with RPM, you might see a prerequisites failure of /bin/sh when you try to install WebSphere MQ. The failure is because the RPM tables do not recognize that a valid shell interpreter is installed. If the failure occurs, you can reinstall the /bin/sh shell using RPM, or specify the RPM option --nodeps to disable dependency checking during installation of WebSphere MQ.Kernel configurationWebSphere MQ uses System V IPC resources, in particular shared memory and semaphores. The minimum configuration for WebSphere MQ for these resources is as follows: kernel.msgmni = 1024 kernel.shmmni = 4096 kernel.shmall = 2097152 kernel.shmmax = 268435456 kernel.sem = 500 256000 250 1024 fs.file-max = 524288 net.ipv4.tcp_keepalive_time = 300If you plan to run more than one queue manager of moderate size on the server, increase fs.file-max.To view the kernel parameters for your system, enter the following commands: cat /proc/sys/kernel/msgmni cat /proc/sys/kernel/shmmni cat /proc/sys/kernel/shmall cat /proc/sys/kernel/shmmax cat /proc/sys/kernel/sem cat /proc/sys/fs/file-max cat /proc/sys/net/ipv4/tcp_keepalive_timeEach of these commands returns the value of the corresponding kernel parameter. For example, cat /proc/sys/kernel/msgmni returns the value for kernel.msgmni. If any of the values is less than the minimum value, you need to increase it to at least the minimum value.To add or alter these values, log on as a user with root authority. Open the file /etc/sysctl.conf with a text editor, then add or change the following entries to the values shown:kernel.msgmni = 1024kernel.shmmni = 4096kernel.shmall = 2097152kernel.shmmax = 268435456kernel.sem = 500 2560
文档评论(0)