Original Message:
Sent: Mon July 31, 2023 04:10 AM
From: Chris Leonard
Subject: start/stop mqm scripts cross-check & validate -> endmqm -i vs -c & kill -9 for brutal process termination
The -t and -tp options have been added to the endmqm -? help text as of 9.3.0.2 (and 9.2.0.7) under APAR IT41391: https://www.ibm.com/support/pages/apar/IT41391
------------------------------
Chris Leonard
Original Message:
Sent: Sat July 29, 2023 05:59 AM
From: Andrew Hickson
Subject: start/stop mqm scripts cross-check & validate -> endmqm -i vs -c & kill -9 for brutal process termination
I'm afraid the missing -t and -tp options in response to endmqm -? are my fault, in that I implemented these options and I appear to have forgotten to add the new options to the endmqm help message. Unfortunately it will now require an APAR to have this fixed in the service stream and being out of that loop it's not something I can raise.
------------------------------
Andrew Hickson
Original Message:
Sent: Fri July 28, 2023 12:18 PM
From: NICK DAKORONIAS
Subject: start/stop mqm scripts cross-check & validate -> endmqm -i vs -c & kill -9 for brutal process termination
Hi, Luc,
I was in a rush to respond to Andrew's initial post, and didn't catch his later post for "endmqm".
In any case according to IBM Knowledge Center both article -> https://www.ibm.com/docs/en/ibm-mq/9.1?topic=reference-endmqm-end-queue-manager
both of these flags apply on MQ version 9.1.4 and later.
Unfortunately al these QMs are hosted on (AIX) MQ bulids ver 9.1.0.2 - 9.1.0.4 LTS so they are not applicable in our case.
There is a plan agreed with customer to upgrade those builds till the end of this year.
Btw, I have tried endmqm -? on another AIX MQ build ver 9.3.0.0 and both of these flags (-t, -tp) are still not advertised...
Any idea, why?
Rgds, Nick.
------------------------------
NICK DAKORONIAS
Application Integration & Middleware Solution Certified Specialist
Kyndryl
Athens
Original Message:
Sent: Fri July 28, 2023 12:00 PM
From: Luc-Michel Demey
Subject: start/stop mqm scripts cross-check & validate -> endmqm -i vs -c & kill -9 for brutal process termination
These flags are for endmqm :
endmqm (end queue manager)
| Ibm | remove preview |
| | endmqm (end queue manager) | | Stop a queue manager or switch to a standby queue manager or to a replica queue manager. | | View this on Ibm > |
|
|
------------------------------
Luc-Michel Demey
DEMEY CONSULTING
lmd@demey-consulting.fr
#IBMChampion
Original Message:
Sent: Fri July 28, 2023 11:50 AM
From: NICK DAKORONIAS
Subject: start/stop mqm scripts cross-check & validate -> endmqm -i vs -c & kill -9 for brutal process termination
Hi Andrew,
Thanks for the tip, but where are these flags posted and described?
For sure, they are not listed at global IBM Knowledge Center article for "strmqm" (v9.3) -> https://www.ibm.com/docs/en/ibm-mq/9.3?topic=reference-strmqm-start-queue-manager
nor at https://www.ibm.com/docs/en/ibm-mq/9.1?topic=reference-endmqm-end-queue-manager#q083320_
Btw, can you pls explain their functionality, as well as, whether both apply on earlier MQ ver 9.1.0.x (LTS) build used in subjected case ?
Thanks for your time
Rgds, Nick.
------------------------------
NICK DAKORONIAS
Application Integration & Middleware Solution Certified Specialist
Kyndryl
Athens
Original Message:
Sent: Thu July 27, 2023 03:17 PM
From: Andrew Hickson
Subject: start/stop mqm scripts cross-check & validate -> endmqm -i vs -c & kill -9 for brutal process termination
Have you looked into the "-t" and "-tp" options on strmqm ?
These options were not available on earlier versions of MQ but have now been around for a couple of years.
------------------------------
Andrew Hickson
Original Message:
Sent: Thu July 27, 2023 11:20 AM
From: NICK DAKORONIAS
Subject: start/stop mqm scripts cross-check & validate -> endmqm -i vs -c & kill -9 for brutal process termination
Hello MQ community users,
I would appreciate if you could cross-check and validate the attached start/stop mqm scripts which aim to start/stop smoothly Production QMs.
Actually I would pinpoint on two commands (arguments) that make me skeptical :
1) endmqm -i (immediate flag) instead of -c or -w for controlled QM shutdown
2) kill -9 (i think it might be risky in terms of brutal/abnormal mq process termination
Any advise will be much appreciated.
Chers, Nick.
------------------------------
NICK DAKORONIAS
Application Integration & Middleware Solution Certified Specialist
Kyndryl
Athens
------------------------------