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 » Modifying the broker database datasource

Post new topic  Reply to topic
 Modifying the broker database datasource « View previous topic :: View next topic » 
Author Message
nickkirk
PostPosted: Tue Nov 11, 2008 6:02 am    Post subject: Modifying the broker database datasource Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

I have modified the following file :

/var/mqsi/registry/TestBRK/CurrentVersion/DataSourceName


Now I can't connect to the broker database.
The ODBC32.ini file and the tnsnames file have been updated correctly.


1) Are we allowed to modify the datasource name for the broker database?
2) If yes to 1), how to initialize this ?
3) The datasource names for the data database is in the following dir: /var/mqsi/registry/MQT001BRK/CurrentVersion/DSN/
4) The datasources described in 3) are created with mqsisetdbparms



The error I am getting is :

'[DataDirect][ODBC lib] Data source name not found and no default driver specified'
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Nov 11, 2008 8:48 am    Post subject: Re: Modifying the broker database datasource Reply with quote

Grand High Poobah

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

nickkirk wrote:
I have modified the following file :

/var/mqsi/registry/TestBRK/CurrentVersion/DataSourceName


Now I can't connect to the broker database.
The ODBC32.ini file and the tnsnames file have been updated correctly.


1) Are we allowed to modify the datasource name for the broker database?
2) If yes to 1), how to initialize this ?
3) The datasource names for the data database is in the following dir: /var/mqsi/registry/MQT001BRK/CurrentVersion/DSN/
4) The datasources described in 3) are created with mqsisetdbparms



The error I am getting is :

'[DataDirect][ODBC lib] Data source name not found and no default driver specified'

Did you alsoe set userid and password to have access to the moved broker DB.

Anyways I would just delete and recreate the broker...
Changing the broker's DB is not something that should be taken up lightly...
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
nickkirk
PostPosted: Tue Nov 11, 2008 9:05 am    Post subject: Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

I said nothing about changing or moving the actual broker database.

I changed the datasource name !

Therefore, there is no reason to change the userid or password.

Also, I am unable to delete the broker with mqsideletebroker because it needs to be able to connect to the broker database first before the deletion.


Quote:
Changing the broker's DB is not something that should be taken up lightly...


No kidding !

Please, does anyone know the answer to my original question ?
Back to top
View user's profile Send private message Send e-mail
fjb_saper
PostPosted: Tue Nov 11, 2008 9:09 am    Post subject: Reply with quote

Grand High Poobah

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

Just recreate a DB with the same name as the one you used when the broker was running. Then delete the broker. Then recreate the broker.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Tue Nov 11, 2008 10:29 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You can't change the DSN name... why would you need to change the DSN name?

You can change the database behind the DSN name.

Or you can delete and recreate the broker using a new DSN name that points to the same database (or a different one), if you want to.

But why would you need to change the DSN name? Did you fail to conform to corporate standards when you created it?
Back to top
View user's profile Send private message
nickkirk
PostPosted: Wed Nov 12, 2008 4:13 am    Post subject: Reply with quote

Apprentice

Joined: 26 Sep 2008
Posts: 48

Quote:
But why would you need to change the DSN name? Did you fail to conform to corporate standards when you created it?



Exactly mqjeff. This is the reason !

We have had to create a new broker. I hassle really because the topics, subscriptions, data source names (data db) all need to be created again.


It is bizarre that the data source name can not be changed.
Data Sources are only aliases that are used to refer to the actual database name.


Thanks !
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Modifying the broker database datasource
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.