Author |
Message
|
TorpedoSTu |
Posted: Wed Nov 13, 2002 5:24 am Post subject: changing number of primary logs files on AIX |
|
|
Acolyte
Joined: 14 Nov 2001 Posts: 73
|
Hi all,
The MQ Admin guide says that you can change the number of logs files for a qm. How is this done ?.
I thought that you changed the LogPrimaryFiles in the qm.ini file and re-started the qm. However when i do this the number of log files in /var/mqm/log/QM/active remains the same as it was before.
Any help would be much appreciated
Stuart |
|
Back to top |
|
 |
TonyD |
Posted: Thu Nov 14, 2002 3:25 pm Post subject: |
|
|
Knight
Joined: 15 May 2001 Posts: 540 Location: New Zealand
|
I think you will find that the additional primary log files will be created when they are needed and from then on will remain. |
|
Back to top |
|
 |
dgolding |
Posted: Fri Nov 15, 2002 2:31 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Chage the value in the QM.INI for the queue manager, and restart. IBM recommend that you have a small number of large files, rather than a large number of small ones - but unfortuanately, you need to rebuild the queue manager to increase the size. It's nice to give advice about your product that is inconvenient or impratical to do, isn't it?
HTH |
|
Back to top |
|
 |
Tibor |
Posted: Fri Nov 15, 2002 3:33 am Post subject: Re: changing number of primary logs files on AIX |
|
|
 Grand Master
Joined: 20 May 2001 Posts: 1033 Location: Hungary
|
TorpedoSTu wrote: |
I thought that you changed the LogPrimaryFiles in the qm.ini file and re-started the qm. However when i do this the number of log files in /var/mqm/log/QM/active remains the same as it was before.
|
Stuart,
- stop the queue manager
- create a dummy queue manager with necessary log parameters
- modify your qm.ini
- jump into log dir (/var/mqm/log/)
- make a recirsive copy from <DUMMYQMGR> to <YOURQMGR>
In this way log files and control file (amqhlctl.lfh) will be changed.
Good luck
Tibor
PS: a backup is recommended... |
|
Back to top |
|
 |
dgolding |
Posted: Fri Nov 15, 2002 3:54 am Post subject: |
|
|
 Yatiri
Joined: 16 May 2001 Posts: 668 Location: Switzerland
|
Woops. Next time I'll read the question, then answer.
But Tonyd is correct, when MQ needs them, it'll create them. |
|
Back to top |
|
 |
TorpedoSTu |
Posted: Fri Nov 15, 2002 4:01 am Post subject: |
|
|
Acolyte
Joined: 14 Nov 2001 Posts: 73
|
thanks for your responses guys
cheers
Stu |
|
Back to top |
|
 |
|