|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
z/LINUX Kernal Parameter tool |
« View previous topic :: View next topic » |
Author |
Message
|
rb462627 |
Posted: Fri Apr 03, 2009 6:45 am Post subject: z/LINUX Kernal Parameter tool |
|
|
Novice
Joined: 23 Apr 2004 Posts: 23 Location: Hartford, CT
|
Hello posters...
We've recently implemented MQ on some Z/Linux images and being the good admins that we are, researched tuning the IPC Kernel parameters:
http://www-01.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&dc=DB520&dc=DB560&uid=swg21271236&loc=en_US&cs=UTF-8&lang=en&rss=ct171websphere
which points us to the mqconfig.sh tool, which performs perfectly in our SOLARIS and INTEL LINUX environments. However, we are getting some interesting output from mqconfig.sh in the z/LINUX environment:
mqm@linuxl50 mq_config_files >./mqconfig.sh
mqconfig: Analyzing SUSE Linux Enterprise Server 10 (s390x) settings for
WebSphere MQ 6.0
System V Semaphores
semmsl (sem:1) 500 semaphores IBM:128 OK
semmns (sem:2) 4884 of 256000 semaphores (1%) IBM:16384 OK
semopm (sem:3) 250 operations IBM:5 OK
semmni (sem:4) 52 of 1024 sets (5%) IBM:1024 OK
System V Shared Memory
./mqconfig.sh: line 242: [: 18446744073709551615: integer expression expected
shmmax 18446744073709551615 byte IBM:268435456 ./mqconfig.sh: line 272: [: 18446744073709551615: integer expression expected
./mqconfig.sh: line 274: [: 18446744073709551615: integer expression expected
WARN
shmmni 36 of 4096 sets (0%) IBM:1024 OK
shmall 68322 of 1152921504606846720 pages (0%) IBM:4194304 OK
Other Settings
file-max 32768 files IBM:32768 OK
SHMMAX, blows up on a huge number and SHMALL looks suspect as well.
Does anyone know of mqconfig.sh is supported on z/LINUX? So far no problems relating to kernel parameters but the bug bothers me.
Anyone like to suggest a "fix"?
Ralph Beckers
IBM Certified Specialist - MQSeries
IBM Global Services - The Hartford Account
Office Phone Number: 860.547.4745
Mobile: 860.796.8610
ralph.beckers@thehartford.com
rbeckers@us.ibm.com |
|
Back to top |
|
|
Sam Uppu |
Posted: Fri Apr 03, 2009 7:40 am Post subject: Re: z/LINUX Kernal Parameter tool |
|
|
Yatiri
Joined: 11 Nov 2008 Posts: 610
|
rb462627 wrote: |
Hello posters...
We've recently implemented MQ on some Z/Linux images and being the good admins that we are, researched tuning the IPC Kernel parameters:
http://www-01.ibm.com/support/docview.wss?rs=171&context=SSFKSJ&dc=DB520&dc=DB560&uid=swg21271236&loc=en_US&cs=UTF-8&lang=en&rss=ct171websphere
which points us to the mqconfig.sh tool, which performs perfectly in our SOLARIS and INTEL LINUX environments. However, we are getting some interesting output from mqconfig.sh in the z/LINUX environment:
mqm@linuxl50 mq_config_files >./mqconfig.sh
mqconfig: Analyzing SUSE Linux Enterprise Server 10 (s390x) settings for
WebSphere MQ 6.0
System V Semaphores
semmsl (sem:1) 500 semaphores IBM:128 OK
semmns (sem:2) 4884 of 256000 semaphores (1%) IBM:16384 OK
semopm (sem:3) 250 operations IBM:5 OK
semmni (sem:4) 52 of 1024 sets (5%) IBM:1024 OK
System V Shared Memory
./mqconfig.sh: line 242: [: 18446744073709551615: integer expression expected
shmmax 18446744073709551615 byte IBM:268435456 ./mqconfig.sh: line 272: [: 18446744073709551615: integer expression expected
./mqconfig.sh: line 274: [: 18446744073709551615: integer expression expected
WARN
shmmni 36 of 4096 sets (0%) IBM:1024 OK
shmall 68322 of 1152921504606846720 pages (0%) IBM:4194304 OK
Other Settings
file-max 32768 files IBM:32768 OK
SHMMAX, blows up on a huge number and SHMALL looks suspect as well.
Does anyone know of mqconfig.sh is supported on z/LINUX? So far no problems relating to kernel parameters but the bug bothers me.
Anyone like to suggest a "fix"?
Ralph Beckers
IBM Certified Specialist - MQSeries
IBM Global Services - The Hartford Account
Office Phone Number: 860.547.4745
Mobile: 860.796.8610
ralph.beckers@thehartford.com
rbeckers@us.ibm.com |
I also tried this script but I was not sure whether it is checking the required values with the IBM docs or it is checking based on the resources required by current MQ which is live.
Please let me know.
Thanks. |
|
Back to top |
|
|
jtfries |
Posted: Wed Apr 04, 2012 1:43 pm Post subject: Updated mqconfig script |
|
|
Newbie
Joined: 04 Apr 2012 Posts: 7
|
Hi Ralph -- I've just written an updated version of the mqconfig script which should be published to the IBM site in the next day or two. The original version does run on all UNIX and Linux systems, but I found that it began to overflow the arithmetic precision of the shell on some systems (first HP-UX with maxdsiz[_64bit] and later on some Linux distrubtions with large shmmax or shmall settings).
I modified the script so that it uses 'bc' (an arbitrary precision calculator) rather than the shell for all relevant arithmetic and comparisons. You should find that mqconfig now works on your z/Linux system and elsewhere (it does for me on systems with large limits), but please do submit feedback on the Technote if you run into any problems with it.
Sam -- The mqconfig script generally shows your currently configured values against the IBM recommended values. There are some values where it can determine your usage (e.g. shared memory sets, semaphore sets, number of processes per user) and there it will say something like "900 of 1024 sets used (87%)".
There is a little daylight between mqconfig and the IBM documentation. For example, it appears that maxuprc on HP-UX is no longer listed, but to my mind WebSphere MQ will run into trouble if this value is too low. I kept the old suggested limit of 1024 in mqconfig, and will see about getting the Information Center updated to keep the two in sync. If you note any discrepancies, please feel free to let me know by submitting feedback on the Tchnote.
Cheers,
Justin Fries
IBM Corporation
Raleigh, North Carolina |
|
Back to top |
|
|
|
|
|
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|