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 » Upgrade logs on AIX Queue Manager

Post new topic  Reply to topic Goto page 1, 2  Next
 Upgrade logs on AIX Queue Manager « View previous topic :: View next topic » 
Author Message
pfarrel
PostPosted: Tue Jan 04, 2005 9:00 am    Post subject: Upgrade logs on AIX Queue Manager Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

I want to increase the sizes of my log datasets on an AIX queue manager. I may also want to add additional logs.

Ideally, I would prefer to just allocate datasets, and not drop and redefine the queue manager. Can I do this ?

If I have to drop and recreate the queue manager, I believe that I can recreate all the objects by using the saveqmgr program. However, how can I save and recreate all the authorizations ( that were done using the setmqaut ) ?

Any advice would be most welcome. Thanks.
Back to top
View user's profile Send private message
vennela
PostPosted: Tue Jan 04, 2005 10:38 am    Post subject: Reply with quote

Jedi Knight

Joined: 11 Aug 2002
Posts: 4055
Location: Hyderabad, India

You can increase the number of logs for a QMGR without dropping the QMGR.

Quote:
how can I save and recreate all the authorizations ( that were done using the setmqaut ) ?


http://www-306.ibm.com/software/integration/support/supportpacs/category.html#cat1

MS63 is save authorities script.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
kingsley
PostPosted: Tue Jan 04, 2005 12:59 pm    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2001
Posts: 175
Location: Hursley

Shut down the QueueManager if the logs needs to be increased for one queuemanager.

Update the qm.ini (unix) or Registry ( Windows) and start the QueueManager

If it has to be update on all the QueueManagers on a given box, shut down MQseries and do the same and restart it.

It's fairly simply. These are logs (Circular & Linear not error logs)
Back to top
View user's profile Send private message Visit poster's website
pfarrel
PostPosted: Wed Jan 05, 2005 4:48 am    Post subject: Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

Thanks for all the help.
Just to be sure, can someone please conmfirm:

I can shut down my AIX queue manager, delete the log files, allocate them larger, and then restart the queue manager ?
Is that correct ?
Back to top
View user's profile Send private message
kingsley
PostPosted: Wed Jan 05, 2005 5:23 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2001
Posts: 175
Location: Hursley

Dont delete the Log files. If you delete them, you won't be able reconstruct some messages which are required.

Just increase the LogFilePages to increase the logsize.

Increase primary and Secondary Files to increase the number of Logs.


Iterating Again, don't delete the logs. The QueueManager takes care of it.

The changes are effective for the New logs
Back to top
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Wed Jan 05, 2005 5:53 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

kingsley wrote:

Just increase the LogFilePages to increase the logsize.


You can't change this attribute. It is locked in when you create the QM. You will have to delete and recreate the QM if you want to have bigger log files.

You can increase the number of log files without recreating the QM. In that case, just restart the QM.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
pfarrel
PostPosted: Wed Jan 05, 2005 5:59 am    Post subject: Reply with quote

Centurion

Joined: 16 Mar 2004
Posts: 120
Location: Kansas City

OK, this sounds good.
If I simply update the mqs.ini file, and change the value LogFilePages=1024 to LogFilePages=61440, then MQ will automatically expand the log datasets. Is that correct ?
Thanks in advance.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jan 05, 2005 6:03 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

pfarrel wrote:
OK, this sounds good.
If I simply update the mqs.ini file, and change the value LogFilePages=1024 to LogFilePages=61440, then MQ will automatically expand the log datasets. Is that correct ?
Thanks in advance.



????????????????????


Quote:

You can't change this attribute. It is locked in when you create the QM. You will have to delete and recreate the QM if you want to have bigger log files.

_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fschofer
PostPosted: Wed Jan 05, 2005 6:09 am    Post subject: Reply with quote

Knight

Joined: 02 Jul 2001
Posts: 524
Location: Mainz, Germany

Hi,
Quote:
If I simply update the mqs.ini file, and change the value LogFilePages=1024 to LogFilePages=61440, then MQ will automatically expand the log datasets. Is that correct ?

!!! No you cannot do this.

The only way to increase the total log size without recreating the
queue manager is to change the number of primary and secondary
log files which in total cannot be more than 63.

So you will have 63 * 1024 * 4 kB as maximum.

You can only define the logfile size during the queue manager creation.

Greetings
Frank
Back to top
View user's profile Send private message Send e-mail
Tibor
PostPosted: Wed Jan 05, 2005 9:43 am    Post subject: Reply with quote

Grand Master

Joined: 20 May 2001
Posts: 1033
Location: Hungary

You can do it - after reading some interesting topics in this site:

http://www.mqseries.net/phpBB2/viewtopic.php?t=19288

Of course it is not as simple as you think...

Tibor
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Wed Jan 05, 2005 10:05 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

Tibor wrote:

Of course it is not as simple as you think...


or supported by IBM. But yes, its technically possible as of this version of MQ.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
kingsley
PostPosted: Wed Jan 05, 2005 11:43 am    Post subject: Reply with quote

Disciple

Joined: 30 Sep 2001
Posts: 175
Location: Hursley

Dear PeterPotkay,

This content is extracted from the System Administration Guide in Page 102 (124 of 560) in the Pdf file for MQ V5.3

Major parameters in qm.ini and mqs.ini are changeable but requires a bounce of the QueueManager to be effective.

Pls dont confuse the novice. I don't mean to hurt you but you are confusing people.
--------------------------------------------------------

LogPrimaryFiles=3|2-62
The log files allocated when the queue manager is created.
The minimum number of primary log files you can have is 2 and the
maximum is 62. The default is 3.
The total number of primary and secondary log files must not exceed 63, and
must not be less than 3.
The value is examined when the queue manager is created or started. You can
change it after the queue manager has been created. However, a change in the
value is not effective until the queue manager is restarted, and the effect might
not be immediate.
LogSecondaryFiles=2|1-61
The log files allocated when the primary files are exhausted.
The minimum number of secondary log files is 1 and the maximum is 61. The
default number is 2.
The total number of primary and secondary log files must not exceed 63, and
must not be less than 3.
The value is examined when the queue manager is started. You can change this
value, but changes do not become effective until the queue manager is
restarted, and even then the effect might not be immediate.
Back to top
View user's profile Send private message Visit poster's website
bbburson
PostPosted: Wed Jan 05, 2005 12:28 pm    Post subject: Plenty of confusion to go around Reply with quote

Partisan

Joined: 06 Jan 2004
Posts: 378
Location: Nowhere near a queue manager

kingsley wrote:
Pls dont confuse the novice. I don't mean to hurt you but you are confusing people.


Sorry to have to say it, but you are the one confusing people:

kingsley wrote:
Just increase the LogFilePages to increase the logsize.


This won't work. The only supported way to increase the SIZE of the log files is to delete and recreate the queue manager. The parameters that can be changed control the NUMBER of log files (and therefore the overall amount of disk space used).
Back to top
View user's profile Send private message
kingsley
PostPosted: Wed Jan 05, 2005 1:25 pm    Post subject: Increase primary and Secondary Files to increase the number Reply with quote

Disciple

Joined: 30 Sep 2001
Posts: 175
Location: Hursley

Look one line below in the same post

Increase primary and Secondary Files to increase the number of Logs.


You can't increase the log file already existed. New logfiles which are being created will use the new value and will increase in size.
Back to top
View user's profile Send private message Visit poster's website
kevinf2349
PostPosted: Wed Jan 05, 2005 2:06 pm    Post subject: Reply with quote

Grand Master

Joined: 28 Feb 2003
Posts: 1311
Location: USA

I hate to join this slamfest but....

The supported method of changing the size of the logfiles is to change the LogFilePages value (in QM.ini or whereever) and recreate the Queue Manager

You can change the number of log files (and hence increase the log space available) by increasing the LogFilePrimary or LogFileSecondary value and restarting the queue manager. This increases the logspace available not by increasing the size of the files but by increasing the number of files that the queue manager can use.

That is my understanding of things. Of course I may be totally wrong

There may be other (unsupported and/or undocumented) ways of doing it, but the above is, as I understand it, the IBM supported way.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Goto page 1, 2  Next Page 1 of 2

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Upgrade logs on AIX Queue Manager
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.