Author |
Message
|
toshi1234 |
Posted: Tue Dec 15, 2015 8:48 pm Post subject: Multi instance queue manager |
|
|
Novice
Joined: 15 Dec 2015 Posts: 21
|
7416272794
Hi Everyone
O/s : Redhat 6.4
Mq : 7.5
IIB version : 9.0.0.4
Two machines node 1 and node2 both are on having same O/s trying to setup multi instance queue managers and nfs shared drive is from node 1.
I can able to touch the shared drive from both nodes i can able to create and make changes to file from both the machines and also having users and groups with same uid's and gid's and also checked with file persmissions but while creating a queue manager pointing to that shared drive with options -md and -ld. Its giving an error
AMQ6239 : Permission denied attempting to access file system location
AMQ7052 : Permission denied attempting to access an INI file
amqmfsck /shared/qmdata
Node 1 the message was The test on directory completed successfully.
Node 2 the message was
AMQ5667: Error executing system call 'chown()' on file
'shared/qmdata/amqmfsck.lck',errno 22 ('Invalid argument')
Thanks  |
|
Back to top |
|
 |
vennela |
Posted: Tue Dec 15, 2015 10:02 pm Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Obviously your NFS setup needs to be looked again
Also, touch is not a good test in this case
amqmfsck is a good test before you setup Multi Instance Queue Manager |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Dec 15, 2015 10:05 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
I hope you haven't shared all of /var/mqm...
/var/mqm/mqs.ini in particular should be unique to each host. That the content is the same does not matter. Shared memory pipes etc should also be specific to each host.
The only shared parts should really be /var/mqm/qmgrs and /var/mqm/log and maybe /var/mqm/log/archives  _________________ MQ & Broker admin |
|
Back to top |
|
 |
toshi1234 |
Posted: Tue Dec 15, 2015 10:49 pm Post subject: |
|
|
Novice
Joined: 15 Dec 2015 Posts: 21
|
Yes i only shared the '-md' and '-ld' paths to that location ..  |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Dec 16, 2015 5:38 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
Is this caused by the same issue you mention here ?
It looks extremely similar, and so hopefully it's been fixed by the same patching.
Thanks for sharing the solution in the other thread, by the way!  _________________ chmod -R ugo-wx / |
|
Back to top |
|
 |
|