Skip to content

Commit cd69f62

Browse files
committed
MQ 9.2 doc updates
1 parent 7dee4c8 commit cd69f62

File tree

5 files changed

+15
-16
lines changed

5 files changed

+15
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## 9.2.0.0 (2020-07-23)
44

5-
* Updated to MQ version 9.2.0.0
5+
* Updated to [MQ version 9.2.0.0](https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.2.0/com.ibm.mq.pro.doc/q113110_.htm)
66
* Use `-ic` arguments with `crtmqm` to process MQSC files in `/etc/mqm`. Replaces previous use of "runmqsc" commands
77

88
## 9.1.5.0 (2020-04-02)

Makefile

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ MQ_ARCHIVE_REPOSITORY_USER ?=
3030
MQ_ARCHIVE_REPOSITORY_CREDENTIAL ?=
3131
# MQ_ARCHIVE is the name of the file, under the downloads directory, from which MQ Advanced can
3232
# be installed. Does not apply to MQ Advanced for Developers
33-
MQ_ARCHIVE ?= $(MQ_VERSION)-IBM-MQ-Advanced-$(MQ_ARCHIVE_TYPE)$(MQ_ARCHIVE_ARCH).tar.gz
33+
MQ_ARCHIVE ?= IBM_MQ_$(MQ_VERSION_VRM)_$(MQ_ARCHIVE_TYPE)_$(MQ_ARCHIVE_ARCH)_NOINST.tar.gz
3434
# MQ_ARCHIVE_DEV is the name of the file, under the downloads directory, from which MQ Advanced
3535
# for Developers can be installed
36-
MQ_ARCHIVE_DEV ?= $(MQ_VERSION)-IBM-MQ-Advanced-for-Developers-Non-Install-$(MQ_ARCHIVE_TYPE)$(MQ_ARCHIVE_ARCH).tar.gz
36+
MQ_ARCHIVE_DEV ?= $(MQ_VERSION)-IBM-MQ-Advanced-for-Developers-Non-Install-$(MQ_ARCHIVE_DEV_TYPE)$(MQ_ARCHIVE_DEV_ARCH).tar.gz
3737
# MQ_SDK_ARCHIVE specifies the archive to use for building the golang programs. Defaults vary on developer or advanced.
3838
MQ_SDK_ARCHIVE ?= $(MQ_ARCHIVE_DEV_$(MQ_VERSION))
3939
# Options to `go test` for the Docker tests
@@ -65,7 +65,8 @@ ARCH ?= $(if $(findstring x86_64,$(shell uname -m)),amd64,$(shell uname -m))
6565
# Other variables
6666
###############################################################################
6767
GO_PKG_DIRS = ./cmd ./internal ./test
68-
MQ_ARCHIVE_TYPE=Linux
68+
MQ_ARCHIVE_TYPE=LINUX
69+
MQ_ARCHIVE_DEV_TYPE=Linux
6970
# BUILD_SERVER_CONTAINER is the name of the web server container used at build time
7071
BUILD_SERVER_CONTAINER=build-server
7172
# NUM_CPU is the number of CPUs available to Docker. Used to control how many
@@ -82,6 +83,8 @@ IMAGE_REVISION=$(shell git rev-parse HEAD)
8283
IMAGE_SOURCE=$(shell git config --get remote.origin.url)
8384
EMPTY:=
8485
SPACE:= $(EMPTY) $(EMPTY)
86+
# MQ_VERSION_VRM is MQ_VERSION with only the Version, Release and Modifier fields (no Fix field). e.g. 9.2.0 instead of 9.2.0.0
87+
MQ_VERSION_VRM=$(subst $(SPACE),.,$(wordlist 1,3,$(subst .,$(SPACE),$(MQ_VERSION))))
8588

8689
ifneq (,$(findstring Microsoft,$(shell uname -r)))
8790
DOWNLOADS_DIR=$(patsubst /mnt/c%,C:%,$(realpath ./downloads/))
@@ -93,7 +96,8 @@ endif
9396

9497
# Try to figure out which archive to use from the architecture
9598
ifeq "$(ARCH)" "amd64"
96-
MQ_ARCHIVE_ARCH=X64
99+
MQ_ARCHIVE_ARCH=X86-64
100+
MQ_ARCHIVE_DEV_ARCH=X64
97101
else ifeq "$(ARCH)" "ppc64le"
98102
MQ_ARCHIVE_ARCH=PPC64LE
99103
else ifeq "$(ARCH)" "s390x"

docs/building.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ You will also need a [Red Hat Account](https://access.redhat.com) to be able to
1616
This procedure works for building the MQ Continuous Delivery release, on `amd64`, `ppc64le` and `s390x` architectures.
1717

1818
1. Create a `downloads` directory in the root of this repository
19-
2. Download MQ from [IBM Passport Advantage](https://www.ibm.com/software/passportadvantage/) or [IBM Fix Central](https://www.ibm.com/support/fixcentral), and place the downloaded file (for example, `IBM_MQ_9.1.4_LINUX_X86-64.tar.gz`) in the `downloads` directory
19+
2. Download MQ from [IBM Passport Advantage](https://www.ibm.com/software/passportadvantage/) or [IBM Fix Central](https://www.ibm.com/support/fixcentral), and place the downloaded file (for example, `IBM_MQ_9.2.0_LINUX_X86-64_NOINST.tar.gz`) in the `downloads` directory
2020
3. Login to the Red Hat Registry: `docker login registry.redhat.io` using your Customer Portal credentials.
2121
4. Run `make build-advancedserver`
2222

23-
> **Warning**: Note that MQ offers two different sets of packaging on Linux: one is called "MQ for Linux" and contains RPM files for installing on Red Hat Enterprise Linux and SUSE Linux Enterprise Server; the other is for Ubuntu. The MQ container build uses a Red Hat Universal Base Image, so you need the "MQ for Linux" RPM files.
23+
> **Warning**: Note that from MQ 9.2.X, the MQ container build uses a 'No-Install' MQ Package, available under `IBM MQ V9.2.x Continuous Delivery Release components eAssembly, part no. CJ7CNML`
2424
2525
If you have an MQ archive file with a different file name, you can specify a particular file (which must be in the `downloads` directory). You should also specify the MQ version, so that the resulting image is tagged correctly, for example:
2626

@@ -37,4 +37,4 @@ You can use the environment variable `MQ_ARCHIVE_DEV` to specify an alternative
3737

3838
## Installed components
3939

40-
This image includes the core MQ server, Java, language packs, GSKit, and web server. This can be configured by setting the `MQ_PACKAGES` argument to `make`.
40+
This image includes the core MQ server, Java, language packs, GSKit, and web server. This is configured in the `Generate MQ package in INSTALLATION_DIR` section [here](../install-mq.sh), with the configured options being picked up at build time.

docs/developer-config.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The MQ Developer Defaults supports some customization options, these are all con
1414

1515
The following users are created:
1616

17-
* User **admin** for administration (in the `mqm` group). Default password is **passw0rd**.
17+
* User **admin** for administration. Default password is **passw0rd**.
1818
* User **app** for messaging (in a group called `mqclient`). No password by default.
1919

2020
Users in `mqclient` group have been given access connect to all queues and topics starting with `DEV.**` and have `put`, `get`, `pub`, `sub`, `browse` and `inq` permissions.

docs/usage.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,23 +60,18 @@ You can customize the configuration in several ways:
6060

6161
1. For getting started, you can use the [default developer configuration](developer-config.md), which is available out-of-the-box for the MQ Advanced for Developers image
6262
2. By creating your own image and adding your own MQSC file into the `/etc/mqm` directory on the image. This file will be run when your queue manager is created.
63-
3. By using [remote MQ administration](https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.1.0/com.ibm.mq.adm.doc/q021090_.htm), via an MQ command server, the MQ HTTP APIs, or using a tool such as the MQ web console or MQ Explorer.
63+
3. By using [remote MQ administration](https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.2.0/com.ibm.mq.adm.doc/q021090_.htm), via an MQ command server, the MQ HTTP APIs, or using a tool such as the MQ web console or MQ Explorer.
6464

6565
Note that a listener is always created on port 1414 inside the container. This port can be mapped to any port on the Docker host.
6666

67-
The following is an *example* `Dockerfile` for creating your own pre-configured image, which adds a custom MQ configuration file, and an administrative user `alice`. Note that it is not normally recommended to include passwords in this way:
67+
The following is an *example* `Dockerfile` for creating your own pre-configured image, which adds a custom MQ configuration file:
6868

6969
```dockerfile
7070
FROM ibmcom/mq
71-
USER root
72-
RUN useradd alice -G mqm && \
73-
echo alice:passw0rd | chpasswd
7471
USER 1001
7572
COPY 20-config.mqsc /etc/mqm/
7673
```
7774

78-
The `USER` instructions are necessary to ensure that the `useradd` and `chpasswd` commands are run as the root user.
79-
8075
Here is an example corresponding `20-config.mqsc` script, which creates two local queues:
8176

8277
```mqsc

0 commit comments

Comments
 (0)