Author |
Message
|
mqfond |
Posted: Wed Apr 13, 2005 7:49 pm Post subject: Recreate queue manager |
|
|
Novice
Joined: 28 Mar 2005 Posts: 20
|
I have to increase my logfile size of my queue manager as i am getting log file full errors while processing large messages. I know that the only way is to delete and recreate the queue manager with same name. My question is, if i do it, will all my queue and channel definitions still be there?? or do i need to do any backup?? also the queue manager is in a MQ cluster, will that give any issues adding back to cluster or showing up multiple instances of queue manager??? |
|
Back to top |
|
 |
csmith28 |
Posted: Wed Apr 13, 2005 7:56 pm Post subject: |
|
|
 Grand Master
Joined: 15 Jul 2003 Posts: 1196 Location: Arizona
|
Use saveqmgr to save off the object definitions on the MQManager first and, save a copy of the qm.ini file.
Also, make sure you have enough room in /var/mqm/logs to accomidate the new log configuration.
That should do the trick. _________________ Yes, I am an agent of Satan but my duties are largely ceremonial. |
|
Back to top |
|
 |
mqfond |
Posted: Wed Apr 13, 2005 7:58 pm Post subject: |
|
|
Novice
Joined: 28 Mar 2005 Posts: 20
|
Sorry i forgot to mention, i am running MQ 5.3 CSD08 on win 2003 server |
|
Back to top |
|
 |
Nigelg |
Posted: Thu Apr 14, 2005 1:06 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
As well as saveqmgr to save the object defs, you should also save any authorities you have.
You can use amqoamd to do that; there is an option to dump the authorities in a form that can be used as input to setmqaut.
If the qmgr is in a cluster, you must remove it from the cluster first by following the instructions in the clusters manual, otherwise you will have big problems with two qmgrs with the same name but different UUIDs in the cluster, and your puts to cluster queues will not work. |
|
Back to top |
|
 |
mqfond |
Posted: Thu Apr 14, 2005 5:52 am Post subject: |
|
|
Novice
Joined: 28 Mar 2005 Posts: 20
|
Thanks for all your replies. I did run that saveqmgr and it created a TST file. Is that the file i use to recreate the objects back with new queue manager?? is it something like runmqsc queuemanager <xxx.TST ??? |
|
Back to top |
|
 |
Anirud |
Posted: Thu Apr 14, 2005 6:23 am Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
mqfond wrote: |
is it something like runmqsc queuemanager <xxx.TST ??? |
Yes.
You can redirect the output to a file as well (if you are not aware of it). |
|
Back to top |
|
 |
|