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 » IBM MQ Installation/Configuration Support » Can I copy a queue manager and all the queues?

Post new topic  Reply to topic
 Can I copy a queue manager and all the queues? « View previous topic :: View next topic » 
Author Message
Xue
PostPosted: Wed Apr 16, 2003 12:48 pm    Post subject: Can I copy a queue manager and all the queues? Reply with quote

Newbie

Joined: 16 Apr 2003
Posts: 3

Hi,
We need to migrate workflow and intall everything to a more powerful server. We are using windows 2000.
We want to copy workflow queue manager and it's queues (and messages) over since we have a lot of processes running.
1. if this is possible? (if using different server names)
2. if it is possible, I know there is a utility ms03 can get all the objects about queue manager. What about queue contents?

Thanks in advance.
Xue
Back to top
View user's profile Send private message
jc_squire
PostPosted: Wed Apr 16, 2003 4:14 pm    Post subject: Reply with quote

Centurion

Joined: 14 Apr 2002
Posts: 105
Location: New Zealand

Yes it is possible - you will have to maually create a new queue manager on the new server with the same name. Use the saveqmgr supportpac to recreate all the objects. Regarding messages - have you tried to manually move these from the queue directory on the old server to the respective queue directory on the new server?

If that does not work take a look at the rfhutil supportpac which you could use to trasnfer the messages which could be very time consuming if you have a large number of them.

regards
_________________
J C Squire
IBM Certified Specialist - MQSeries
Back to top
View user's profile Send private message
bduncan
PostPosted: Wed Apr 16, 2003 6:36 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Yeah, believe it or not, but copying the "q" files (which represent the messages in each queue on the filesystem) actually works, provided the other queue manager has a similiarly named queue defined.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
Xue
PostPosted: Fri Apr 18, 2003 11:12 am    Post subject: Reply with quote

Newbie

Joined: 16 Apr 2003
Posts: 3

Thank you all for the replies. One more question: do I need to copy log files? And does the server name matter?

Xue
Back to top
View user's profile Send private message
MichaelR
PostPosted: Mon Apr 21, 2003 5:53 am    Post subject: Copying MQM Reply with quote

Apprentice

Joined: 20 May 2002
Posts: 37
Location: Tampa

Xue,

If you have a "detailed" OAM structure you might also consider using the AMQOAMD program to capture the MQ permissions of your source machine.

Good luck!!

MichaelR
Back to top
View user's profile Send private message
bduncan
PostPosted: Mon Apr 21, 2003 1:38 pm    Post subject: Reply with quote

Padawan

Joined: 11 Apr 2001
Posts: 1554
Location: Silicon Valley

Xue,
You don't need to copy the log files (in fact this would probably not work correctly). And the queue manager name shouldn't matter.
_________________
Brandon Duncan
IBM Certified MQSeries Specialist
MQSeries.net forum moderator
Back to top
View user's profile Send private message Visit poster's website AIM Address
leongor
PostPosted: Thu Apr 24, 2003 12:34 am    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

I don't think you can migrate that way Workflow queue manager.
Even if you delete some Workflow queue and recreate it manually it already won't be recognized.
My advice - use Saveqmgr support pack for saving all application queues on this queue manager
and all internal queues Workflow will create automatically when creating new environment.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
Back to top
View user's profile Send private message
Xue
PostPosted: Wed Apr 30, 2003 9:40 am    Post subject: Reply with quote

Newbie

Joined: 16 Apr 2003
Posts: 3

Leonid,
You are right. It's failed when I tried to delete and recreate the workflow queues. As you suggested, we can have all the queues created on new server, but what about queue contents (current running processes on old server), how can we copy them? I tried not to recreate queues, just copy q files. Then when I run the workflow, click on a workitem, I got "Object is not exist".

Thanks
Xue
Back to top
View user's profile Send private message
leongor
PostPosted: Sat May 03, 2003 11:51 pm    Post subject: Reply with quote

Master

Joined: 13 May 2002
Posts: 264
Location: Israel

It depends if you're using linear or circular logs.
If you want to copy all the messages too - you need to use linear log.
Just create new qmgr with all queues and copy the logs from the old one.
I didn't try this on WF qmgr, but I think it should work.
_________________
Regards.
Leonid.

IBM Certified MQSeries Specialist.
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 » IBM MQ Installation/Configuration Support » Can I copy a queue manager and all the queues?
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.