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 » Qmgr switch

Post new topic  Reply to topic Goto page Previous  1, 2
 Qmgr switch « View previous topic :: View next topic » 
AdoptNewMCATimeout
We use the default value (60)
75%
 75%  [ 6 ]
We use a higher value (>60)
0%
 0%  [ 0 ]
We use a lower value (<60)
25%
 25%  [ 2 ]
Total Votes : 8
Author Message
garasan
PostPosted: Wed Mar 04, 2009 4:33 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jul 2008
Posts: 42
Location: Antwerp, Belgium

Thanks for the advise (and testing) guys.
Going to do some tests just to know if it would work for us. Alway's good to know in case of an emergency.

But I'm getting the chance here to start with a clean install.
So I'm going to grab that chance I think. :-)
_________________
Regards
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Mar 04, 2009 5:40 am    Post subject: Reply with quote

Grand High Poobah

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

garasan wrote:
But I'm getting the chance here to start with a clean install.
So I'm going to grab that chance I think.



_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
sumit
PostPosted: Wed Mar 04, 2009 5:44 am    Post subject: Reply with quote

Partisan

Joined: 19 Jan 2006
Posts: 398

tat's gr8.. do post the solution when you hit some..
_________________
Regards
Sumit
Back to top
View user's profile Send private message Yahoo Messenger
garasan
PostPosted: Wed Mar 04, 2009 6:01 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jul 2008
Posts: 42
Location: Antwerp, Belgium

Will certainly do.
_________________
Regards
Back to top
View user's profile Send private message
garasan
PostPosted: Tue Mar 31, 2009 1:48 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jul 2008
Posts: 42
Location: Antwerp, Belgium

"I thought that if you moved all the files below /var/mqm/qmgrs/MYQMGR before starting the qmgr (as it is the same version) you might have a shot at it."

Just because I was curious I tried above, but when I start the qmgr I now get the message that the qmgr doesn't exist anymore. So here it doesn't work it seems. (Or I'm missing a step)
(Info: Moved from LINEAR to CIRCULR)

In the meantime I have created 2 scripts:
One that greps our bck files from a qmgr and extracts all qlnames, creates a file with the name of the queue and stores all messages from that queue in it.
(You have to perform the step for the SYSTEm. DEAD.LETTER.QUEUE manually as it is a system queue and not a ql.)

And one that moves the messages from the files to the new qmgr.

I'm working on getting these two in one script, but need to add some extra checks in there.
(It remained to steps, because I do like to control the process a bit and it is easier to troubleshoot if something goes wrong during the process.)
_________________
Regards
Back to top
View user's profile Send private message
garasan
PostPosted: Wed Jun 03, 2009 6:52 am    Post subject: Reply with quote

Apprentice

Joined: 22 Jul 2008
Posts: 42
Location: Antwerp, Belgium

Just to let you know.

Performed the above described procedure 3 times now and it worked like a charm. :-)
Little overview:

Script1:
Reads the backup files, extract all local queuenames. (Need to add the SDLQ manualy but that's not a prob)
Reads the queue's and exports existing messages and saves them in a file with the same name as the queue.

Script2:
Reads the backup files, extract all local queuenames. (Need to add the SDLQ manualy but that's not a prob)
Import saved messages into the new created queue.

Thanks all for your time and efforts.
_________________
Regards
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » General IBM MQ Support » Qmgr switch
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.