Friday, May 27, 2011
pojadd for mqm in solaris - Configure Solaris systems with the resource limits required by WebSphere MQ.
Configure Solaris systems with the resource limits required by WebSphere MQ.
WebSphere MQ uses semaphores, shared memory, and file descriptors, and it is probable that the default resource limits are not adequate.
The configuration required by WebSphere MQ depends on the version of Solaris you are using.
If you are using Solaris 10:
You must change the default resource limits for each zone WebSphere MQ will be installed in. To set new default limits for all users in the mqm group, set up a project for the mqm group in each zone.
To find out if you already have a project for the mqm group, log in as root and enter the following command:
projects -l
If you do not already have a group.mqm project defined, enter the following command:
projadd -c "WebSphere MQ default settings" -K "process.max-file-descriptor=(basic,10000,deny)" -K "project.max-shm-memory=(priv,4GB,deny)" -K "project.max-shm-ids=(priv,1024,deny)" -K "project.max-sem-ids=(priv,1024,deny)" group.mqm
If a project called group.mqm is listed, review the attributes for that project. The attributes must include the following minimum values:
process.max-file-descriptor=(basic,10000,deny) project.max-sem-ids=(priv,1024,deny) project.max-shm-ids=(priv,1024,deny)" project.max-shm-memory=(priv,4294967296,deny)If you need to change any of these values, enter the following command:
projmod -s -K "process.max-file-descriptor=(basic,10000,deny)" -K "project.max-shm-memory=(priv,4GB,deny)" -K "project.max-shm-ids=(priv,1024,deny)" -K "project.max-sem-ids=(priv,1024,deny)" group.mqmNote that you can omit any attributes from this command that are already correct.
For example, to change only the number of file descriptors, enter the following command:
projmod -s -K "process.max-file-descriptor=(basic,10000,deny)" group.mqm
(To set only the limits for starting the queue manager under the mqm user, login as mqm and enter the command projects. The first listed project is likely to be default, and so you can use default instead of group.mqm, with the projmod command.)
Thanks to : http://publib.boulder.ibm.com/infocenter/wmqv6/v6r0/index.jsp?topic=/com.ibm.mq.amqdac.doc/sq10360_.htm
Suggestions are always welcome...! Without signing also you can send your comments.
Suggestions are always welcome...! Without signing also you can send your comments.
Labels:
Mq and Message Broker,
Sun Solaris,
Unix
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment