Skip to content
This repository was archived by the owner on May 5, 2020. It is now read-only.

Commit 61e2c2c

Browse files
authored
Merge pull request #75 from arthurbarr/v3
Last updates for V3
2 parents cdbbc9a + 9d718b5 commit 61e2c2c

File tree

3 files changed

+13
-15
lines changed

3 files changed

+13
-15
lines changed

CHANGELOG.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
# Change log
22

3-
## 3.0.0 (2017-xx-xx)
3+
## 3.0.0 (2017-06-08)
44
### Action required
5-
None
5+
* Updated to install Ubuntu `.deb` files - Any changes to the `MQ_PACKAGES` variable will now need to use the new package names (for example, "ibmmq-web" instead of "MQSeriesWeb")
66

77
### Other notable changes
88
* Updated to MQ V9.0.3
9+
* Migrated from `amqicdir` to new official `crtmqdir` utility
910
* Restructured startup scripts
10-
* Removed fixed UID numbers
11+
* Removed fixed UID numbers for developer config
12+
* Use HTTPS for MQ installer download
13+
* Reduced image size by purging 32-bit libraries
1114

1215
## 2.0.0 (2017-03-11)
1316
### Action required

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@
1414

1515
FROM ubuntu:16.04
1616

17-
LABEL maintainer "Arthur Barr <arthur.barr@uk.ibm.com>"
17+
LABEL maintainer "Arthur Barr <arthur.barr@uk.ibm.com>, Rob Parker <PARROBE@uk.ibm.com>"
1818

1919
# The URL to download the MQ installer from in tar.gz format
20-
ARG MQ_URL=https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/mqadv_dev902_ubuntu_x86-64.tar.gz
20+
ARG MQ_URL=https://public.dhe.ibm.com/ibmdl/export/pub/software/websphere/messaging/mqadv/mqadv_dev903_ubuntu_x86-64.tar.gz
2121

2222
# The MQ packages to install
2323
ARG MQ_PACKAGES="ibmmq-server ibmmq-java ibmmq-jre ibmmq-gskit ibmmq-web ibmmq-msg-.*"

setup-var-mqm.sh

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -21,13 +21,11 @@
2121
if [ -d "/var/mqm/qmgrs" ]; then
2222
# User is probably following old instructions to mount a volume into /var/mqm
2323
echo "Using existing MQ Data under /var/mqm"
24-
/opt/mqm/bin/amqicdir -i -f
25-
/opt/mqm/bin/amqicdir -s -f
24+
/opt/mqm/bin/crtmqdir -a -f
2625
else
2726
if [ -L "/var/mqm" ]; then
2827
echo "/var/mqm is already a symlink."
29-
/opt/mqm/bin/amqicdir -i -f
30-
/opt/mqm/bin/amqicdir -s -f
28+
/opt/mqm/bin/crtmqdir -a -f
3129
else
3230
if [ -d "/mnt/mqm/" ]; then
3331
DATA_DIR=/mnt/mqm/data
@@ -44,19 +42,16 @@ else
4442
su -c "chmod 775 ${DATA_DIR}" -l mqm
4543
fi
4644

47-
/opt/mqm/bin/amqicdir -i -f
48-
/opt/mqm/bin/amqicdir -s -f
45+
/opt/mqm/bin/crtmqdir -a -f
4946
su -c "cp -RTnv /var/mqm /mnt/mqm/data" -l mqm
5047

5148
# Remove /var/mqm and replace with a symlink
5249
rm -rf /var/mqm
5350
ln -s ${DATA_DIR} /var/mqm
5451
chown -h mqm:mqm /var/mqm
5552
else
56-
#Create the MQ data Directory
57-
echo "Running amqicdir"
58-
/opt/mqm/bin/amqicdir -i -f
59-
/opt/mqm/bin/amqicdir -s -f
53+
# Create the MQ data Directory
54+
/opt/mqm/bin/crtmqdir -a -f
6055
fi
6156
fi
6257
fi

0 commit comments

Comments
 (0)