ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Multi-Instance QM with NFS (File locking issue)

Post new topic  Reply to topic
 Multi-Instance QM with NFS (File locking issue) « View previous topic :: View next topic » 
Author Message
rglack10
PostPosted: Thu Sep 08, 2011 1:39 am    Post subject: Multi-Instance QM with NFS (File locking issue) Reply with quote

Apprentice

Joined: 06 Jul 2011
Posts: 34

Hi,

We are attempting to create multi-instance queue manager using NFSv4 mounted share on 2 nodes, one holding active and one holding passive instance of QM.

The mounting of NFS appears OK and is visible on both MQ nodes. The installation of QM as active and passive works ok and dspmq -x on each node shows active and passive versions.

However, when we perform any commands (runmqsc) on QM or try to fail over using endmqm -s etc it takes a very very long time. The AMQ/FDC logs show errors such as:

AMQ7279: WebSphere MQ queue manager 'TESTMQ1' lost ownership of data lock.

AMQ7259: WebSphere MQ queue manager '' could not obtain data lock.

indiciating file lock issues on NFS server. Also when we run the test commands amqmfsck it seems if we wait the passive instance of the file system acquires the lock even though we have not released the lock on the active node and we again see the errors above in the log..

I can't seem to find any previous posts specific to this... It could be an NFS issue which we are invetsigating at the moment. We have double checked the process and mounted/created many QM's to repeat the process and reduce human error but same problem.

Has anyone encountered this before?
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Sep 08, 2011 2:14 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Platform? Exact version of MQ?
Back to top
View user's profile Send private message
rglack10
PostPosted: Thu Sep 08, 2011 4:19 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jul 2011
Posts: 34

zpat wrote:
Platform? Exact version of MQ?


having looked at the NFS side, the installation was NFS v2/3 and not v4 as specified..

Problem resolved.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Sep 08, 2011 4:22 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

This is pretty close to PMR country, presumably you're following that track in parallel.

I might try enabling tracing on amqmfsck - or at least enabling tracing on everything and then only reporting on the output from amqmfsck. It might give you an idea of why the lock is available.

I've also seen a technote somewhere that had some more details about file locks and NFS and etc., but my brain is really not up to finding it this morning.
Back to top
View user's profile Send private message
rglack10
PostPosted: Thu Sep 08, 2011 4:25 am    Post subject: Reply with quote

Apprentice

Joined: 06 Jul 2011
Posts: 34

mqjeff wrote:
This is pretty close to PMR country, presumably you're following that track in parallel.

I might try enabling tracing on amqmfsck - or at least enabling tracing on everything and then only reporting on the output from amqmfsck. It might give you an idea of why the lock is available.

I've also seen a technote somewhere that had some more details about file locks and NFS and etc., but my brain is really not up to finding it this morning.


Thanks for the response.. We looked at everything in great detail except took for granted we were handed NFS v4 as this was a provided service and we had specified NFS v4 in the build requirements... doh.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Sep 08, 2011 4:35 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

rglack10 wrote:
mqjeff wrote:
This is pretty close to PMR country, presumably you're following that track in parallel.

I might try enabling tracing on amqmfsck - or at least enabling tracing on everything and then only reporting on the output from amqmfsck. It might give you an idea of why the lock is available.

I've also seen a technote somewhere that had some more details about file locks and NFS and etc., but my brain is really not up to finding it this morning.


Thanks for the response.. We looked at everything in great detail except took for granted we were handed NFS v4 as this was a provided service and we had specified NFS v4 in the build requirements... doh.


woo. Guess someone owes you a few beers... Yes, NFS before V4 doesn't support reliable file locking...

Your response came in while I was typing my message.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Multi-Instance QM with NFS (File locking issue)
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.