Author |
Message
|
Xue |
Posted: Wed Apr 16, 2003 12:48 pm Post subject: Can I copy a queue manager and all the queues? |
|
|
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 |
|
 |
jc_squire |
Posted: Wed Apr 16, 2003 4:14 pm Post subject: |
|
|
 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 |
|
 |
bduncan |
Posted: Wed Apr 16, 2003 6:36 pm Post subject: |
|
|
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 |
|
 |
Xue |
Posted: Fri Apr 18, 2003 11:12 am Post subject: |
|
|
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 |
|
 |
MichaelR |
Posted: Mon Apr 21, 2003 5:53 am Post subject: Copying MQM |
|
|
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 |
|
 |
bduncan |
Posted: Mon Apr 21, 2003 1:38 pm Post subject: |
|
|
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 |
|
 |
leongor |
Posted: Thu Apr 24, 2003 12:34 am Post subject: |
|
|
 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 |
|
 |
Xue |
Posted: Wed Apr 30, 2003 9:40 am Post subject: |
|
|
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 |
|
 |
leongor |
Posted: Sat May 03, 2003 11:51 pm Post subject: |
|
|
 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 |
|
 |
|