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 » WebSphere Message Broker (ACE) Support » mqsisetdbparms - any way to report on it?

Post new topic  Reply to topic
 mqsisetdbparms - any way to report on it? « View previous topic :: View next topic » 
Author Message
PeterPotkay
PostPosted: Thu Jan 29, 2009 5:32 am    Post subject: mqsisetdbparms - any way to report on it? Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r1m0/topic/com.ibm.etools.mft.doc/an09155_.htm

This link does not indicate there is any other related command that allows you to produce a list of what has been set to date with mqsisetdbparms. Anyone know of a way?
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
smdavies99
PostPosted: Thu Jan 29, 2009 5:39 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Peter,
The only way I know is to dig into the Registry (windows) or the /registry directory on Linux/Unix.
You can see the DB names and everything apart from the encrypted password.

Windows is

HKEY_LOCAL_MACHINE/SOFTWARE/IBM/WebsphereMQIntegrator/2/BrokerName/CurrentVersion/DSN/DBName/

You get three entries
(Default)
Pasword
UserId

Enjoy
/Steve
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Jan 29, 2009 11:00 am    Post subject: Reply with quote

Grand High Poobah

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

smdavies99 wrote:
Peter,
The only way I know is to dig into the Registry (windows) or the /registry directory on Linux/Unix.
You can see the DB names and everything apart from the encrypted password.

Windows is

HKEY_LOCAL_MACHINE/SOFTWARE/IBM/WebsphereMQIntegrator/2/BrokerName/CurrentVersion/DSN/DBName/

You get three entries
(Default)
Pasword
UserId

Enjoy
/Steve

Steve, wouldn't most of that information be available either through mqsidisplayparameters or through mqsiservice?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
smdavies99
PostPosted: Thu Jan 29, 2009 1:41 pm    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Peter,
You re probably correct there. I haven't used those commands to look at that sort of stuff since 5.0.0.0 days. Before that, you certainly had to look in the registry.
Oh well, you live and learn. Thanks for pointing that out.

/Steve
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Jan 29, 2009 4:52 pm    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

That was F.J, not Peter.
Back to top
View user's profile Send private message
AkankshA
PostPosted: Thu Jan 29, 2009 11:25 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Jan 2006
Posts: 1494
Location: Singapore

fjb_saper wrote:
Steve, wouldn't most of that information be available either through mqsidisplayparameters or through mqsiservice?


I suppose No... as mqsiservice does not display external DB access details..

never heard of mqsidisplayparameters

i alway check registry for unix systems..
/var/mqsi/registry/BROKER/CurrentVersion/DSN
_________________
Cheers
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Fri Jan 30, 2009 3:57 am    Post subject: Reply with quote

Grand High Poobah

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

Sorry the command might not be exact... but there is a command to report the current parameters maybe mqsireportproperties ...

Did not find the exact syntax for mqsiservice as this seems to be a command that is not described in the doc.
mqsiservice BROKERNAME lists the broker's DB attributes (DSN name, username)

mqsireportproperties should give you the DB's configured to be used by the broker (configurable service) however I am unsure whether it will allow you to see the user (security) for that service.

As stated above it is to be found in the registry...

All security related commands seem to allow you to set, alter and delete but there is no list or display... Has anybody tried with mqsireportparameters to see if those can be displayed that way?


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Fri Jan 30, 2009 4:04 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

There is mqsilistaclentry. It will not show DSN security entries. I don't believe there is a function to show DSN security entries. I don't think anyone actually wants this command to report the password, even if it existed. I wonder if there's something in the CMP API that can be used... I haven't looked.

mqsiservice is undocumented. It's for, you know, service.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jan 30, 2009 4:14 am    Post subject: Reply with quote

Grand High Poobah

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

mqjeff wrote:
There is mqsilistaclentry. It will not show DSN security entries. I don't believe there is a function to show DSN security entries. I don't think anyone actually wants this command to report the password, even if it existed. I wonder if there's something in the CMP API that can be used... I haven't looked.

mqsiservice is undocumented. It's for, you know, service.

Jeff I don't think anybody wanted to look at the password. (This would indeed violate security)

But being able to list the userid would be nice. Just in case the userid password expired, or to decide which DSN to use when you have multiple ones defined against the same DB, but with a different userid for each, or verify that you can access the DB with the userid...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqmatt
PostPosted: Fri Jan 30, 2009 4:34 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

It's a known requirement.
This said, If you want to see it I'd recommend raising a requirement through your friendly IBM account rep to help get it bumped up the priority stack.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jan 30, 2009 12:14 pm    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

fjb_saper wrote:
Jeff I don't think anybody wanted to look at the password. (This would indeed violate security)

You need to know the password when you issue mqsisetdbparms.
You have to be in the mqbrkrs group to issue mqsisetdbparms.
I don't see the harm is letting someone in the mqbrkrs group be able to issue a future command that reports the User ID AND shows the password. This can be useful in trouble shooting.
_________________
Peter Potkay
Keep Calm and MQ On
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 » WebSphere Message Broker (ACE) Support » mqsisetdbparms - any way to report on it?
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.