Author |
Message
|
doris.knittel |
Posted: Tue Jan 18, 2011 5:53 am Post subject: Multi instance queue manager on Linux |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Jan 18, 2011 6:02 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Did you meet the necessary system requirements for network storage? |
|
Back to top |
|
 |
doris.knittel |
Posted: Tue Jan 18, 2011 6:14 am Post subject: |
|
|
Novice
Joined: 07 Dec 2010 Posts: 12
|
What exactly do you mean? |
|
Back to top |
|
 |
mqjeff |
Posted: Tue Jan 18, 2011 6:38 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
doris.knittel |
Posted: Tue Jan 18, 2011 7:06 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Jan 18, 2011 7:09 am Post subject: |
|
|
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 |
|
 |
exerk |
Posted: Tue Jan 18, 2011 7:15 am Post subject: |
|
|
 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 |
|
 |
doris.knittel |
Posted: Tue Jan 18, 2011 7:40 am Post subject: |
|
|
Novice
Joined: 07 Dec 2010 Posts: 12
|
No, I use definitely nfs4 |
|
Back to top |
|
 |
doris.knittel |
Posted: Wed Jan 19, 2011 3:49 am Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Wed Jan 19, 2011 9:49 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 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 |
|
 |
doris.knittel |
Posted: Thu Jan 20, 2011 6:40 am Post subject: |
|
|
Novice
Joined: 07 Dec 2010 Posts: 12
|
They HAVE the same uid and gid  |
|
Back to top |
|
 |
|