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 » Windows Qmgr recovery

Post new topic  Reply to topic
 Windows Qmgr recovery « View previous topic :: View next topic » 
Author Message
RogerLacroix
PostPosted: Tue Sep 09, 2008 12:37 pm    Post subject: Windows Qmgr recovery Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

All,

I'm stuck and need some help.

A week or so ago, my motherboard died on my PC. Luckily, I use Cobian Backup software to backup everything daily to a contact admin (Network Attached Device). So, I have everything and life is good. I decided to do a complete upgrade to the latest / greatest PC stuff out there. Over the weekend, I re-installed everything and things are looking good (and very, very fast).

But of course MQ Explorer is not cooperating. Here's what I did on my PC (WinXP with SP3 and not Vista).

- I installed WMQ v6
- Applied FP 6.0.2.4
- I copied over my backup "qmgr" and "log" directories for each queue manager (I have 6 QMgrs).
- Ran strmqcfg.exe /c

But MQ Explorer will not recognize my 6 QMgrs. How can I get MQ (or MQ Explorer) to recover / recognize my 6 QMgrs?

Help.

Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
fjb_saper
PostPosted: Tue Sep 09, 2008 8:06 pm    Post subject: Reply with quote

Grand High Poobah

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

As I understand with MQExplorer you should do an export / import of the configuration. Of course you would have that exported config file under version control...

May be you can see something obvious if you export your non working configuration, can change it and reimport it.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
gbaddeley
PostPosted: Tue Sep 09, 2008 8:31 pm    Post subject: Reply with quote

Jedi Knight

Joined: 25 Mar 2003
Posts: 2538
Location: Melbourne, Australia

And do not backup queue managers while they are running, as the file contents and registry may be in an inconsistent state, and if they are restored, there is no guarantee that MQ will work.
_________________
Glenn
Back to top
View user's profile Send private message
Tibor
PostPosted: Wed Sep 10, 2008 1:32 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

Roger,

Did you try it creating the queue managers with same name and attributes and then copy over the directories: qmgrs and log?

On Windows the registry contains the definitions for queue managers, that's why it is recommended to export HKLM\Software\IBM\MQSeries to a .reg file.
Back to top
View user's profile Send private message
RogerLacroix
PostPosted: Wed Sep 10, 2008 8:43 am    Post subject: Reply with quote

Jedi Knight

Joined: 15 May 2001
Posts: 3264
Location: London, ON Canada

All,

Thanks for the info but sadly, no I had not exported my MQ Explorer settings or my IBM \ MQSeries registry settings which I have come to learn are more import than the MQ Explorer settings.

I fixed the problem the hard way.

- Recreated the 6 QMgrs with the same name, log file settings and port number
- Stop all QMgrs
- Moved the "new" logs and qmgrs directories to a safe place
- Copied the backup logs and qmgrs directories to the MQ_Install directory
- Ran strmqcfg.exe /c
- Started up the 6 QMgrs
- Life is good again.

Does anyone know if you need to backup everything under the key "IBM \ MQSeries" in the registry?
Or can you just do the following 2 keys:
- IBM \ MQseries \ QueueManager
- IBM \ MQseries \ Services

The reason I ask is that there is a lot of stuff under IBM \ MQSeries that is machine and version specific. (i.e. hostname - which I changed for the new PC)


Regards,
Roger Lacroix
Capitalware Inc.
_________________
Capitalware: Transforming tomorrow into today.
Connected to MQ!
Twitter
Back to top
View user's profile Send private message Visit poster's website
mqjeff
PostPosted: Wed Sep 10, 2008 9:17 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You probably could have done something with amqmdain to recreate the registry?
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 » Windows Qmgr recovery
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.