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 » Change from Circular to Linear

Post new topic  Reply to topic
 Change from Circular to Linear « View previous topic :: View next topic » 
Author Message
nabulou
PostPosted: Mon Jan 12, 2004 1:47 am    Post subject: Change from Circular to Linear Reply with quote

Newbie

Joined: 02 Jun 2003
Posts: 8

Is it possible to change from circular to linear logging on AIX without rebuilding the queue manager? How do I do this?
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Mon Jan 12, 2004 1:51 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

nope...

Michael
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
mrlinux
PostPosted: Mon Jan 12, 2004 8:52 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

There is a way you can depending on MQSeries version.
Warning: This procedure isnt supported by IBM

Make BACKUPS !!!! and Try on a test machine first.
v5.2 or older you can do the following.

1) on seperate AIX box create qmgr with same name and the log settings
you want.
2) on AIX box with Circ logging stop qmgr,
move the /var/mqm/log/QMGR_NAME dir to /var/mqm/log/QMGR_NAME.old

3) Copy the Liners logs from the other AIX system to /var/mqm/log/QMGR_NAME on the CIRC logging.

4) edit /var/mqs.ini and chage the Logging parms.
5) Start the qmgr.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
Michael Dag
PostPosted: Mon Jan 12, 2004 9:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

Jeff,
when would you use such a procedure?

On a development/test box, ok... but then recreating should be a piece of cake using saveqmgr and saving authorities
On a production box... I would not...

Michael
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
mrlinux
PostPosted: Mon Jan 12, 2004 9:22 am    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well I have used it in production for other things. With earlier versions
of MQSeries we had a lot of crashes that corrupted the logs for our production qmgr, the qmgr wouldnt restart, so I would recreate a set of clean logs and move them into place so that I could get the qmgr restarted and running. Rebuilding the qmqr wasnt an option if you have data that needs to be saved.
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
JasonE
PostPosted: Mon Jan 12, 2004 2:59 pm    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

At 5.3 this proceedure is a lot less likely to 'save data' than previous releases, as internal changes make this more and more dangerous over time. Of course, if its a choice between completely lost data and probably lost data, I can understand trying it, but with the exception of times when the logs are severely damaged this can cause a lot more harm than it solves.

I would believe any time the logs are corrupted and the qmgr wont start is a problem IBM ought to look at, user-error (deleting the wrong logs etc) excepting.
Back to top
View user's profile Send private message
mrlinux
PostPosted: Mon Jan 12, 2004 8:16 pm    Post subject: Reply with quote

Grand Master

Joined: 14 Feb 2002
Posts: 1261
Location: Detroit,MI USA

Well Jason, I got this proccedure from IBM to recover from qmgr crashes, of course it was more v5.0 and v5.1
_________________
Jeff

IBM Certified Developer MQSeries
IBM Certified Specialist MQSeries
IBM Certified Solutions Expert MQSeries
Back to top
View user's profile Send private message Send e-mail
JasonE
PostPosted: Tue Jan 13, 2004 1:42 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

Yep, I know - cold start proceedure used to be used (and required to recover sometimes)... But we are trying very hard to change peoples habits of doing this nowdays, because as I said, over time the chances of having a non-damaged queue on the disk after doing this proceedure are reducing, esp at 5.3.
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 » Change from Circular to Linear
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.