Skip to content

Commit 7dfc28d

Browse files
committed
Update to MQ 9.4.2
1 parent bec5bf0 commit 7dfc28d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+3440
-2320
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,13 @@
11
# Changelog
22
Newest updates are at the top of this file.
33

4+
### Feb 28 2025 (v5.6.2)
5+
* Update to MQ 9.4.2
6+
* The "nhainstance" tag is renamed to "nha" to handle both instances and CRR groups
7+
* Any dashboards related to NativeHA metrics may need to be updated
8+
* Prometheus Logging.json example dashboard includes Cross-region replication metrics
9+
* Add amqsevtg sample
10+
411
### Nov 01 2024 (no new version)
512
* Move all sample container builds to use UBI base images
613
* And ensure appropriate level of Go compiler is available

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ARG EXPORTER
2222
ENV EXPORTER=${EXPORTER} \
2323
ORG="github.com/ibm-messaging" \
2424
REPO="mq-metric-samples" \
25-
VRMF=9.4.1.0 \
25+
VRMF=9.4.2.0 \
2626
CGO_CFLAGS="-I/opt/mqm/inc/" \
2727
CGO_LDFLAGS_ALLOW="-Wl,-rpath.*" \
2828
genmqpkg_incnls=1 \

Dockerfile.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ RUN mkdir -p $GOPATH/src $GOPATH/bin $GOPATH/pkg $GOPATH/out \
4545
# Location of the downloadable MQ client package \
4646
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
4747
RDTAR="IBM-MQC-Redist-Linux${MQARCH}.tar.gz" \
48-
VRMF=9.4.1.0
48+
VRMF=9.4.2.0
4949

5050
# Install the MQ client from the Redistributable package. This also contains the
5151
# header files we need to compile against. Setup the subset of the package

Dockerfile.run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ RUN microdnf install -y --disableplugin=subscription-manager curl tar gzip
3131
# Location of the downloadable MQ client package \
3232
ENV RDURL="https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqdev/redist" \
3333
RDTAR="IBM-MQC-Redist-Linux${MQARCH}.tar.gz" \
34-
VRMF=9.4.1.0
34+
VRMF=9.4.2.0
3535

3636
# Install the MQ client from the Redistributable package. This also contains the
3737
# header files we need to compile against. Setup the subset of the package

README.md

Lines changed: 21 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,15 @@ collector program alongside a queue manager (perhaps as an MQ SERVICE) and you n
100100
system.
101101

102102
## Building to run on Windows
103-
There is a `buildMonitors.bat` file to help with building on Windows. It assumes you have the
104-
[tdm-gcc-64](https://jmeubank.github.io/tdm-gcc/download/) 64-bit compiler suite installed. It builds all the collectors
105-
and corresponding YAML configuration files into %GOPATH%/bin
103+
There is a `buildMonitors.bat` file to help with building on Windows. It assumes
104+
* You have the
105+
[msys2](https://www.msys2.org/) 64-bit GCC compiler suite installed into the `C:\msys64` directory. The specific
106+
compiler version from this package can be installed with `pacman -S mingw-w64-ucrt-x86_64-gcc`. That should end up with
107+
the `gcc` command being available.
108+
* You have set the GOPATH environment variable to the root of your source trees. For example, `C:\Gowork`.
109+
110+
The script builds all the collectors and corresponding YAML configuration files into %GOPATH%/bin. An alternative
111+
compiler could be [tdm-gcc-64](https://jmeubank.github.io/tdm-gcc/download/)
106112

107113
## Queue manager configuration
108114
When metrics are being collected from the publish/subscribe interface (all platforms except z/OS), there are some
@@ -141,7 +147,7 @@ To set it up, you must provide suitable configuration options. In the YAML confi
141147

142148
If you use durable subscriptions, then the named reply queues may continue to receive publications even when the
143149
collector is not running, so that may induce queue-full reports in the error log or events. The subscriptions can be
144-
manually removed using the "DELETE SUB()" MQSC command for all subscriptions where the subscription ids begin with the
150+
manually removed using the `DELETE SUB()` MQSC command for all subscriptions where the subscription ids begin with the
145151
`durableSubPrefix` value. The `scripts/cleanDur.sh` program can be used for this deletion. You should also clean the
146152
subscriptions when the configuration of which data to collect has changed, particularly the `queueSubscriptionSelector`
147153
option.
@@ -221,8 +227,17 @@ configuration attribute to true.
221227
### NativeHA
222228
When NativeHA is used, the queue manager publishes some metrics on its status. These are automatically collected
223229
whenever available, and can be seen in the metric lists. The metrics are given a prefix or series of "nha". For example,
224-
`ibmmq_nha_synchronous_log_sent_bytes` is one metric shown in Prometheus. The NativeHA "instance" - the names given to
225-
the replicas - is added as the `nhainstance` tag to the metrics.
230+
`ibmmq_nha_synchronous_log_sent_bytes` is one metric shown in Prometheus. The NativeHA "instance" or "group"
231+
name - given to the replicas - is added as the `nha` tag to the metrics. Each NativeHA metric
232+
is associated with either an instance or group, never both.
233+
234+
Note: The `nha` tag was previously called `nhainstance` but
235+
that was confusing when the cross-region replication feature was introduced. Existing dashboards might need updating
236+
to show the newer tag.
237+
238+
One type of metric related to NativeHA show a Log Sequence Number (LSN). In the queue manager, these will be shown
239+
in a style such as `GRPLSN(<0:0:326:39203>)`. Grafana does not have an inbuilt formatter to convert the integer into
240+
this style; you can display the raw value, but it's difficult to see the meaning. Other tools might permit additional processing.
226241

227242
Depending on configuration, the collector may be able to automatically reconnect to the new instance after a failover.
228243
If that is not possible, you will need to have a process to restart the collector once the new replica has taken over.

amqsevt/.gitignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

amqsevt/README.md

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)