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 IndexGeneral IBM MQ SupportMulti instance queue manager on Linux

Post new topicReply to topic
Multi instance queue manager on Linux View previous topic :: View next topic
Author Message
doris.knittel
PostPosted: Tue Jan 18, 2011 5:53 am Post subject: Multi instance queue manager on Linux Reply with quote

Novice

Joined: 07 Dec 2010
Posts: 12

Hi together,
I have a problem:

I want to create a multi-instance queue manager on Linux, but when I run the amqmfsck I get the reason code:
AMQ6242: Incorrect ownership for '/HA/mqdata//amqmfsck.lck'. Current(-2) Expected(222)

I build the mqm user and groups new on both machines (uid 222, gid 222) and also the mq installation. I added “/HA *(rw,sync,no_wdelay,anongid=222,anonuid=222,fsid=0)” to the /etc/exports file. The mount command is “mount -t nfs4 -o hard,intr 172.21.45.139:/ /HA”
The mounted directory looks like

drwsrwsrwx 3 4294967294 4294967294 4096 Jan 17 15:36 HA

I have two identical machines:

AAA:/ # uname -a
Linux AAA 2.6.18.2-34-xen #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 i686 i386 GNU/Linux

BBB:/ # uname -a
Linux BBB 2.6.18.2-34-xen #1 SMP Mon Nov 27 11:46:27 UTC 2006 i686 i686 i386 GNU/Linux

What is wrong? Does someone have an idea?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 18, 2011 6:02 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Did you meet the necessary system requirements for network storage?
Back to top
View user's profile Send private message
doris.knittel
PostPosted: Tue Jan 18, 2011 6:14 am Post subject: Reply with quote

Novice

Joined: 07 Dec 2010
Posts: 12

What exactly do you mean?
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 18, 2011 6:38 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

https://www-304.ibm.com/support/docview.wss?q1=multi-instance&rs=0&uid=swg21433474&cs=utf-8&lang=en&loc=en_US&cc=us

https://bugzilla.redhat.com/show_bug.cgi?id=524520

https://www-304.ibm.com/support/docview.wss?rs=171&uid=swg27011929
Back to top
View user's profile Send private message
doris.knittel
PostPosted: Tue Jan 18, 2011 7:06 am Post subject: Reply with quote

Novice

Joined: 07 Dec 2010
Posts: 12

Thanks for the links. Most of them I know
I have this Linux

more /etc/SuSE-release
openSUSE 10.2 (i586)
VERSION = 10.2

I think it should work ...
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Jan 18, 2011 7:09 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

So you're using either NFS v4 or Veritas Storage Foundation V5.0 MP3 RP3 Cluster File System ?

That error about the ownership of the lock file sounds very much like you are using NFS v3, which does not support file locking very well at all.
Back to top
View user's profile Send private message
exerk
PostPosted: Tue Jan 18, 2011 7:15 am Post subject: Reply with quote

Jedi Council

Joined: 02 Nov 2006
Posts: 6339

And is...

doris.knittel wrote:
openSUSE 10.2 (i586) VERSION = 10.2

...the same as...

IBM wrote:
SUSE Linux Enterprise Server (SLES) V10

...?
_________________
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
View user's profile Send private message
doris.knittel
PostPosted: Tue Jan 18, 2011 7:40 am Post subject: Reply with quote

Novice

Joined: 07 Dec 2010
Posts: 12

No, I use definitely nfs4
Back to top
View user's profile Send private message
doris.knittel
PostPosted: Wed Jan 19, 2011 3:49 am Post subject: Reply with quote

Novice

Joined: 07 Dec 2010
Posts: 12


I found a solution! it´s not the best but it works.

In /etc/idmapd.conf I wrote

Nobody-User = mqm
Nobody-Group = mqm


After restart of rcidmapd the owner and user of the mountet directory is mqm.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jan 19, 2011 9:49 pm Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20703
Location: LI,NY

doris.knittel wrote:

I found a solution! it´s not the best but it works.

In /etc/idmapd.conf I wrote

Nobody-User = mqm
Nobody-Group = mqm


After restart of rcidmapd the owner and user of the mountet directory is mqm.


Ideal solution: User uid and group gid need to have the same respective numbers on both systems.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
doris.knittel
PostPosted: Thu Jan 20, 2011 6:40 am Post subject: Reply with quote

Novice

Joined: 07 Dec 2010
Posts: 12

They HAVE the same uid and gid
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexGeneral IBM MQ SupportMulti instance queue manager on Linux
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.