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 » Installing MQ multi-instance on Windows XP

Post new topic  Reply to topic
 Installing MQ multi-instance on Windows XP « View previous topic :: View next topic » 
Author Message
buzoianu_george
PostPosted: Thu Dec 22, 2011 6:16 am    Post subject: Installing MQ multi-instance on Windows XP Reply with quote

Newbie

Joined: 22 Dec 2011
Posts: 2

Hello experts,

I have been experiencing some problems when trying to setup a multi-instance MQ (Version: 7.0.1) on two Windows XP SP3 machines using these instructions: http://publib.boulder.ibm.com/infocenter/wmqv7/v7r0/index.jsp?topic=%2Fcom.ibm.mq.amqzag.doc%2Ffa70161_.htm

I have created the shared folder "MQSeries" on the first workstation. "mqm" group has full-control authority to this folder.
I have created the first instance of MQ using these folders: \\10.133.13.232\MQSeries\data and \\10.133.13.232\MQSeries\log and the name "MYMQR2". 10.133.13.232 is the ip address of workstation 1

At the end I used this command: dspmqinf -o command MYMQR2 and got the following result: addmqinf -s QueueManager -v Name=MYMQR2 -v Directory=MYMQR2 -v Prefix="C:\Program Files\IBM\WebSphere MQ" -v DataPath=\\10.133.13.232\MQSeries\Data\MYMQR2

I used this new command in workstation 2 and got the following result:
AMQ6239: Permission denied attempting to access filesystem location
'\\10.133.13.232\MQSeries\Data\MYMQR2'.
AMQ7077: You are not authorized to perform the requested operation.


and also this message was written in C:\Program Files\IBM\WebSphere MQ\errors\AMQERR01.LOG:
12/22/2011 11:53:08 - Process(5232.1) User(gsbuzoianu) Program(addmqinf.exe)
Host(SWINEPED01)
AMQ6287: WebSphere MQ 7.0.1.3.

EXPLANATION:
WebSphere MQ system information:
Product :- WebSphere MQ for Windows
Version :- 7.0.1.3
Host Info :- Windows XP, Build 3790: SP2
ACTION:
None.
-------------------------------------------------------------------------------
12/22/2011 11:53:08 - Process(5232.1) User(gsbuzoianu) Program(addmqinf.exe)
Host(SWINEPED01)
AMQ6239: Permission denied attempting to access filesystem location
'\\10.133.13.232\MQSeries\Data\MYMQR2'.

EXPLANATION:
An attempt to query the filesystem object identified failed because the command
issued did not have authority to access the object.
ACTION:
Check the authority on the object and of the user executing the command and
reissue the command.
----- amqxsecn.c : 5102 -------------------------------------------------------
12/22/2011 11:58:06 - Process(3544.1) User(gsbuzoianu) Program(addmqinf.exe)
Host(SWINEPED01)
AMQ6239: Permission denied attempting to access filesystem location
'\\10.133.13.232\MQSeries\Data\MYMQR2'.

EXPLANATION:
An attempt to query the filesystem object identified failed because the command
issued did not have authority to access the object.
ACTION:
Check the authority on the object and of the user executing the command and
reissue the command.
----- amqxsecn.c : 5102 -------------------------------------------------------


SWINEPED01 - that the name of workstation 2.

The domain user account that I've set for IBM Websphere MQ (for both wks) to use, is "gsbuzoianu". This is my company internal/office/official user that I use in the local network. As far as I know the network domain controller also use Windows. Both workstation use the same network domain controller. I also added this user to "mqm" group for both wks.

Well at this point anything would help. First of all, a big step for me would be to entirely understand the problem. What's the problem?
Y AM I NOT AUTHORIZED TO ACCESS FILESYSTEM LOCATION? :O

Thank you
Back to top
View user's profile Send private message
Vitor
PostPosted: Thu Dec 22, 2011 6:36 am    Post subject: Re: Installing MQ multi-instance on Windows XP Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

buzoianu_george wrote:
The domain user account that I've set for IBM Websphere MQ (for both wks) to use, is "gsbuzoianu". This is my company internal/office/official user that I use in the local network.


Why? That's likely to cause problems in the future, even if it's not the problem now.

buzoianu_george wrote:
Well at this point anything would help. First of all, a big step for me would be to entirely understand the problem. What's the problem?
Y AM I NOT AUTHORIZED TO ACCESS FILESYSTEM LOCATION? :O


Speak to whoever's running your Windows domain. This is not a WMQ problem but a Windows one. Specifically ask them about SIDs and what they're going to do to fix your problem.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Dec 22, 2011 6:41 am    Post subject: Reply with quote

Grand High Poobah

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

Did you look at the prerequisites for a Multi Instance qmgr on Windows?
Like
  1. NFS4 shared file system
  2. both primary and secondary being on a domain controller machine

and other considerations for domain access and security come to mind...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Vitor
PostPosted: Thu Dec 22, 2011 6:52 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

fjb_saper wrote:
Did you look at the prerequisites for a Multi Instance qmgr on Windows?


I was fooled by the OP indicating he's found the instructions in the InfoCenter.


fjb_saper wrote:
NFS4 shared file system


Might be present. But...

fjb_saper wrote:
both primary and secondary being on a domain controller machine


The OP clearly talks about "workstations"

Does explain why the SIDs are a problem though...


fjb_saper wrote:
and other considerations for domain access and security come to mind...



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
JasonE
PostPosted: Thu Dec 22, 2011 6:55 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Quote:
Did you look at the prerequisites for a Multi Instance qmgr on Windows? ... both primary and secondary being on a domain controller machine


Use 7.1 instead http://publib.boulder.ibm.com/infocenter/wmqv7/v7r1/index.jsp?topic=%2Fcom.ibm.mq.doc%2Fzc15130_.htm

So to give a hint why its not working... you have share and folder permissions to care about, and local mqm group on machine 1 is not the same as local mqm group on machine 2 due to SID's...
Back to top
View user's profile Send private message
buzoianu_george
PostPosted: Fri Jan 13, 2012 7:52 am    Post subject: Reply with quote

Newbie

Joined: 22 Dec 2011
Posts: 2

Indeed, the problem was caused by the fact that my machines were not in the same domain local group. So what I did is pretty simple:

1. I've created two virtual machines on my PC. I used "Virtual Box" for that.
2. I've installed Windows Server 2003 on both of them. I will call them S1 and S2.
3. I've created a domain controller on each of the two servers using these instructions. On S1 a DNS was also (almost)automatically created (the wizard asked me if I want a DNS, AD needs one).
4. I was carfeul to put the two machines in the same private network. I used 192.168.1.1 for S1 and 192.168.1.2 for S2. I used 192.168.1.1 for DNS obviously. I verified that with a simple ping at the end
5. I've installed IBM Websphere MQSeries 7.0.1. on S1 & S2.
6. I've configured the Websphere MQseries servers using these instructions.
7. THE END
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 » Installing MQ multi-instance on Windows XP
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.