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 » General IBM MQ Support » MQ/Explorer multiople copies

Post new topic  Reply to topic
 MQ/Explorer multiople copies « View previous topic :: View next topic » 
Author Message
pfarrel
PostPosted: Tue Nov 10, 2009 10:06 am    Post subject: MQ/Explorer multiople copies Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

Can I run multiple copies of MQ/Explorer on a single Windows system ?
When running MQ/Explorer if I right-click on the icon, I can select run-as, and run the tool with a different userID. I would like to run 2 copies with 2 different userIDs, so that I can connect to test and production systems at the same time. Continual shutting down of the product and restarting with a different ID is time consuming. When I try to run a second copy I get the message Could not Launch the Product because the associated workspace is already in use. ( actually, I have the same question for the Broker toolkit ).
Back to top
View user's profile Send private message
bruce2359
PostPosted: Tue Nov 10, 2009 10:23 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
so that I can connect to test and production systems at the same time.

The wmq explorer product allows you to connect to many qmgrs from a single explorer instance. The v7 product allows you to create groups of qmgrs, like test, qa, prod.

Are you saying that you have a different mqm-group id for test, qa, and prod?
_________________
I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Nov 10, 2009 10:28 am    Post subject: Re: MQ/Explorer multiople copies Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

pfarrel wrote:
Can I run multiple copies of MQ/Explorer on a single Windows system ?
When running MQ/Explorer if I right-click on the icon, I can select run-as, and run the tool with a different userID. I would like to run 2 copies with 2 different userIDs, so that I can connect to test and production systems at the same time. Continual shutting down of the product and restarting with a different ID is time consuming. When I try to run a second copy I get the message Could not Launch the Product because the associated workspace is already in use. ( actually, I have the same question for the Broker toolkit ).


Actually, when you log in into windows system using some id then that Id should be the part of mqm group to run the MQ Explorer and do the things in that.
At a time.. you can run one instance of that.
BUT you can connect to multiple QMgrs ( at diff. servers/IPs/Hosts) at a time. That I think can resolve your issue.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Tue Nov 10, 2009 10:36 am    Post subject: Re: MQ/Explorer multiople copies Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

pfarrel wrote:
( actually, I have the same question for the Broker toolkit ).

And i would say.. as a reason on that... in workspace under .metadata folder there are configuration files for which toolkit looks for. If you got more then one workspace, you can ofcourse switch between them, but more then one instances at a time..NO.
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Nov 10, 2009 10:37 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can change workspaces.

For WMBT this should be immediately available in the File Menu to Switch Workspace.

For MQ Explorer, you have to run in an Eclipse workbench rather than a standalone application. This is a *preference* you set on the main WebSphere MQ preference pane.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Nov 10, 2009 10:48 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

mqjeff wrote:
..For MQ Explorer, you have to run in an Eclipse workbench ....

Yes, as Eclipse is the Prerequisite for MQ Explorer and WBI Toolkit to run.
pfarrel
In WBI Toolkit > menu 'Windows' > Preferences > General > Check 'Start up and Shutdown' AND 'workspace'
.. for more clarifications and details that you seek.(i believe)
_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
pfarrel
PostPosted: Tue Nov 10, 2009 10:50 am    Post subject: Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

Here is how we would use it.
First, log on to windows with your windows ( Active Directory ) userID. For example, winuser1.
Next, right-click on the icon for explorer, and select the run-as option. Tell explorer that you want it to run as aixuserp. At this point ( if it were possible ) you would start a second copy of MQ/Explorer, running under another ID, for example aixusert.
Both users aixuserp and aixusert would need to be defined as valid windows users.
Now, using the copy that is running as userID aixuserp, connect to several aix production queue managers. Each one would have the user aixuserp defined as a valid AIX userID, and the ID would be in the mqm group on those systems.
Also, using the other copy of MQ/Explorer that is running under the aixusert userID, connect to several test queue managers. Each one of those queue managers would be running on a system where aixusert was a valid ID, and would be in the mqm group on that system.
The problem this solves, is that you don't have to have the same userID defined on your production aix systems and your test aix systems.
Back to top
View user's profile Send private message
shashivarungupta
PostPosted: Tue Nov 10, 2009 11:34 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

when you install the mq explorer in windows.. you can check the file 'amqmjpse.txt' that was being created. in this you can find the credentials such as 'registering user name' and 'Retrieving group memberships for current user'., to which access is given to run the eclipse based utility i.e. mq explorer.

In case of WBI Toolkit, you can run the different instances of it but make sure that you have different toolkit versions on your machine. e.g. you can run toolkit of versions 5, version 6, version 7 on same machine. BUT for the same version you are not given that permission by eclipse.

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
shashivarungupta
PostPosted: Tue Nov 10, 2009 11:47 am    Post subject: Reply with quote

Grand Master

Joined: 24 Feb 2009
Posts: 1343
Location: Floating in space on a round rock.

pfarrel wrote:
...I right-click on the icon, I can select run-as, and run the tool with a different userID....

And if you put a question on " WHY the RUN AS.. is given there then ? " then I would say.. for the executable utilities/files in windows, micorsoft gives that option on right click to run the same appl. using diff. user id. BUT Eclipse does not allow that when it comes to multiple instances of the same utility/appl. as mq explorer and WBI toolkit.

_________________
*Life will beat you down, you need to decide to fight back or leave it.
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Nov 10, 2009 12:58 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

NO.

For WebSphere MQ Explorer, you have to Preferences->WebSphere MQ Explorer -> and on that panel chose "run in an Eclipse workbench" rather than "run as a standalone application".

Then you can choose a different workspace.

This is regardless of whether you use Run As to execute the MQ explorer as different user or not.

For Toolkit, you can just change the workspace after you start, using the option under File menu.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Nov 10, 2009 1:12 pm    Post subject: Reply with quote

Grand High Poobah

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

If you need multiple concurrent copies, try MO71
However I would run just one copy and setup the mcauserid on the channel...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
PhilBlake
PostPosted: Wed Nov 11, 2009 8:34 am    Post subject: Reply with quote

Acolyte

Joined: 25 Oct 2005
Posts: 64

pfarrel wrote:
The problem this solves, is that you don't have to have the same userID defined on your production aix systems and your test aix systems.


If you use MQ Explorer v7 (or MS0T), then you can specify a different userid on each client connection (4th page of the Add Remote Queue Manager wizard), which will override the default logged-in (or contact admin) userid ?
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 » General IBM MQ Support » MQ/Explorer multiople copies
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.