Author |
Message
|
JD9955 |
Posted: Sun Aug 19, 2007 9:48 pm Post subject: Re-Configure MQ Log File Path |
|
|
Newbie
Joined: 19 Aug 2007 Posts: 9
|
Hey All,
I'm just wondering how I can "re-configure" my MQ log file path ?
Currently I have 2 seperate HDD's. The F: contains the MQ installation, and the G: contains the Log Files (for the F: MQ install) ..
See the following diagram:
Can the 'log' directory (on the G: ) be moved to the F: MQ install directory ??
PS: I did not set the installation up this way..
If anyone knows how to perform this, or knows what rough steps would be required, I would be very appreciative
Thanks All
JD |
|
Back to top |
|
 |
Michael Dag |
Posted: Sun Aug 19, 2007 10:55 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
JD9955 |
Posted: Sun Aug 19, 2007 11:02 pm Post subject: |
|
|
Newbie
Joined: 19 Aug 2007 Posts: 9
|
sorry , the platform is windows 2000 ..
cheers  |
|
Back to top |
|
 |
Michael Dag |
Posted: Sun Aug 19, 2007 11:06 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
Michael Dag |
Posted: Sun Aug 19, 2007 11:11 pm Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
JD9955 |
Posted: Mon Aug 20, 2007 3:29 pm Post subject: |
|
|
Newbie
Joined: 19 Aug 2007 Posts: 9
|
sorry, and the version is 5.3 ...
I checked out that existing post and the resolution seems to be re-creating the queue manager .. is there any other way to do this??
unfortunately the link down the bottom of the linked thread is not available any more..
cheers JD |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Aug 20, 2007 3:36 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
JD9955 wrote: |
sorry, and the version is 5.3 ...
I checked out that existing post and the resolution seems to be re-creating the queue manager .. is there any other way to do this??
unfortunately the link down the bottom of the linked thread is not available any more..
cheers JD |
Recreate the qmgr? No but certainly stop it.
So have you tried the following and what was the outcome?
- stop qmgr and associated processes (listener etc...)
- backup the log files & windows registry if on windows
- move/cpy the log files associated with said stopped qmgr (linear or circular logs)
- update the qmgr's qm.ini file (windows registry) with the correct log path
- restart the qmgr
_________________ MQ & Broker admin |
|
Back to top |
|
 |
JD9955 |
Posted: Mon Aug 20, 2007 5:03 pm Post subject: |
|
|
Newbie
Joined: 19 Aug 2007 Posts: 9
|
fjb_saper and Michael,, cheers for the info..
I will be performing the log path change later on today. Will let you know how it goes..
thanks heaps..
JD |
|
Back to top |
|
 |
JasonE |
Posted: Tue Aug 21, 2007 3:54 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
Try hamvmqm next time... Its supposedly only for MSCS support but all it really does is move the qmgr logs and data files from one place to another and resecure them |
|
Back to top |
|
 |
JD9955 |
Posted: Wed Aug 22, 2007 3:09 pm Post subject: |
|
|
Newbie
Joined: 19 Aug 2007 Posts: 9
|
hey guys,
i tried the proposed approach, and no luck in the end..
After kicking on the qmgr and websphere processes the new log files were never written to ..
I might look into hamvmqm and see if this can help..
cheers..
JD |
|
Back to top |
|
 |
JasonE |
Posted: Thu Aug 23, 2007 12:01 am Post subject: |
|
|
Grand Master
Joined: 03 Nov 2003 Posts: 1220 Location: Hursley
|
If you are going to change the registry manually, make sure everything is stopped - especially amqmsrvn.exe (Net stop the service, make sure gui is stopped, make sure for certain amqmsrvn is ended in taskmgr - kill it if necessary).
Without that, an in memory copy of the log details is kept, and when the qmgr is launched it will use those rather than the registry ones.
Hamvmqm will do all that for you (including updating the in memory ones) as long as you are at a 'reasonable' maintenance level... |
|
Back to top |
|
 |
JD9955 |
Posted: Thu Aug 23, 2007 7:56 pm Post subject: |
|
|
Newbie
Joined: 19 Aug 2007 Posts: 9
|
hey all,
just posting back on the results of the log file location move..
In the end I used hamvmqm and it worked like a charm..
cheers
thanks for your support
JD |
|
Back to top |
|
 |
|