|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Multi instance Queue Manager setup in RHEL 8.2 on MS Azure |
« View previous topic :: View next topic » |
Author |
Message
|
ghoshly |
Posted: Tue Apr 20, 2021 10:11 am Post subject: Multi instance Queue Manager setup in RHEL 8.2 on MS Azure |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
Hello All -
We are trying to setup Multi instance Queue Manager on RHEL 8.2 on MS Azure. Using Azure File share and mounted as NFS v4 for shared storage between Server 1 and Server 2.
Mount option :
Code: |
[mqm@WGAZUS-XXXXX2D errors]$ mount | grep usst
azusst1esb092.file.core.windows.net:/azusst1esb092/esbnfsdrive on /esb type nfs4 (rw,relatime,vers=4.1,rsize=1048576,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=3,sec=sys,clientaddr=172.19.10.5,local_lock=none,addr=52.239.223.72)
[mqm@WGAZUS-XXXX2D errors]$
|
Installed MQ 9.2 on both the servers and created queue managers. I could not start the Standby instance using strmqm -x option, as it creates FDC file.
Basic file system check works with amqmfsck command, but when we try to test with -c or -w option (Same option together in 2 servers) system call fcntl returns error. Could you please suggest mount configuration or OS settings which we need here?
Code: |
[mqm@WGAZUS-XXXXX1D esb]$ amqmfsck -wv /esb/shared/qmdata
System call: stat("/esb/shared/qmdata",&statbuf)
System call: statvfs("/esb/shared/qmdata")
System call: fd =
open("/esb/shared/qmdata/amqmfsck.lkw",O_EXCL|O_CREAT|O_RDWR,0666)
System call: fchmod(fd,0666)
System call: fstat(fd,&statbuf)
System call: fcntl(fd,F_SETLK,F_WRLCK)
System call: close(fd)
File lock released.
AMQ5667E: Error executing system call 'fcntl(F_SETLK)[i]' on file
'/esb/shared/qmdata/amqmfsck.lkw', errno 22 ('xcsWaitFileLock() unexpected
error').
[mqm@WGAZUS-XXXXX1D esb]$
|
Code: |
[mqm@WGAZUS-XXXXX1D esb]$ amqmfsck -cv /esb/shared/qmdata
System call: stat("/esb/shared/qmdata",&statbuf)
System call: statvfs("/esb/shared/qmdata")
System call: fd =
open("/esb/shared/qmdata/amqmfsck.wrt",O_EXCL|O_CREAT|O_RDWR,0666)
System call: fchmod(fd,0666)
System call: fstat(fd,&statbuf)
Start a second copy of this program with the same parameters on another server.
Writing to test file. This will normally complete within about 60 seconds.
System call: fcntl(fd,F_SETLKW,F_WRLCK)
System call: lseek(fd,0,SEEK_END)
System call: write(fd,data)
System call: fcntl(fd,F_SETLK,F_UNLCK)
System call: fcntl(fd,F_SETLKW,F_WRLCK)
System call: lseek(fd,0,SEEK_END)
…………………………………………………
………………………………………………….
System call: fcntl(fd,F_SETLK,F_UNLCK)
System call: fcntl(fd,F_SETLKW,F_WRLCK)
System call: lseek(fd,0,SEEK_END)
System call: write(fd,data)
System call: fcntl(fd,F_SETLK,F_UNLCK)
System call: fcntl(fd,F_SETLKW,F_WRLCK)
AMQ5667E: Error executing system call 'fcntl(F_SETLKW)[c]' on file
'/esb/shared/qmdata/amqmfsck.wrt', errno 5 ('').
|
Snippet from FDC file
Code: |
+-----------------------------------------------------------------------------+
| |
| IBM MQ First Failure Symptom Report |
| ========================================= |
| |
| Date/Time :- Tue April 20 2021 17:23:40 UTC |
| UTC Time :- 1618939420.859878 |
| UTC Time Offset :- 0 (UTC) |
| Host Name :- WGAZUS-XXXXX2D |
| Operating System :- Linux 4.18.0-193.14.3.el8_2.x86_64 |
| OS Details :- Red Hat Enterprise Linux 8.2 (Ootpa) |
| PIDS :- 5724H7251 |
| LVLS :- 9.2.0.0 |
| Product Long Name :- IBM MQ for Linux (x86-64 platform) |
| Vendor :- IBM |
| O/S Registered :- 1 (libmqmcs_r.so) |
| Data Path :- /var/mqm |
| Installation Path :- /opt/mqm |
| Installation Name :- Installation1 (1) |
| License Type :- Production |
| Probe Id :- XY626050 |
| Application Name :- MQM |
| Component :- xcsWaitFileLock |
| SCCS Info :- /build/slot2/p920_P/src/lib/cs/unix/amqxnflx.c, |
| Line Number :- 375 |
| Build Date :- Jul 9 2020 |
| Build Level :- p920-L200709 |
| Build Type :- IKAP - (Production) |
| Effective UserID :- 1003 (mqm) |
| Real UserID :- 1003 (mqm) |
| Program Name :- amqzxma0 |
| Arguments :- -m POCQM01 -x -u mqm |
| Addressing mode :- 64-bit |
| LANG :- en_US.UTF-8 |
| Process :- 736137 |
| Process(Thread) :- 736137 |
| Thread :- 1 ECMain |
| QueueManager :- POCQM01 |
| SubpoolName :- POCQM01.000 |
| UserApp :- FALSE |
| ConnId(1) IPCC :- 2 |
| ConnId(2) QM :- 2 |
| ConnId(3) QM-P :- 2 |
| ConnId(4) App :- 2 |
| Last HQC :- 2.0.0-701504 |
| Last HSHMEMB :- 4.0.0-76544 |
| Last ObjectName :- |
| Major Errorcode :- xecF_E_UNEXPECTED_SYSTEM_RC |
| Minor Errorcode :- OK |
| Probe Type :- MSGAMQ6119 |
| Probe Severity :- 1 |
| Probe Description :- AMQ6119S: An internal IBM MQ error has occurred ('5 - |
| ' from fcntl.) |
| FDCSequenceNumber :- 0 |
| Arith1 :- 5 (0x5) |
| Comment1 :- '5 - ' from fcntl. |
| |
+-----------------------------------------------------------------------------+
|
|
|
Back to top |
|
 |
ghoshly |
Posted: Tue Apr 20, 2021 10:20 am Post subject: Unix Admin - |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
I have mentioned to Unix admin about following IBM requirement, but admin thinks, those are not applicable in case of Azure file share
Quote: |
Add /esb *(rw,sync,no_wdelay,fsid=0) to /etc/exports |
Code: |
mount -t nfs4 -o hard,intr Server1:/ /esb |
|
|
Back to top |
|
 |
exerk |
Posted: Tue Apr 20, 2021 11:54 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
If your NFS fails the checks it's not going to work properly, or in a way that IBM will support.
The Testing statement for IBM MQ multi-instance queue manager file systems contains information in regard to acceptable NFS set-ups, and a link to the document stating their support position.
If you are unsure, open a PMR with IBM... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
ghoshly |
Posted: Tue Apr 20, 2021 1:23 pm Post subject: |
|
|
Partisan
Joined: 10 Jan 2008 Posts: 333
|
Thanks exerk for your response and the link. Raised a case with IBM. |
|
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
|
|
|
|