Author |
Message
|
mq_user |
Posted: Mon Jul 10, 2006 10:33 am Post subject: MQ Log Location |
|
|
Newbie
Joined: 10 Jul 2006 Posts: 9
|
Hi All,
Would anybody tell me what would be a good location to store all the MQ logs. Can we store it on /var or Do we need a seperate file system like /mqlogs to store them?....Also, if I would need a seperate file system, how would I tell MQ to store the logs in the new location?.
Thanks. |
|
Back to top |
|
 |
wschutz |
Posted: Mon Jul 10, 2006 11:34 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
Many users prefer a seperate FS for the logs for a variety of system's management reasons (like being able to use a seperate device, space mgmt, etc).
The path to the log is controlled by mqs.ini at qmgr creation time and qm.ini at execution time. _________________ -wayne |
|
Back to top |
|
 |
vennela |
Posted: Mon Jul 10, 2006 11:43 am Post subject: |
|
|
 Jedi Knight
Joined: 11 Aug 2002 Posts: 4055 Location: Hyderabad, India
|
Also, flags can be specified on crtmqm to point to the path where you want the logfiles to be |
|
Back to top |
|
 |
mq_user |
Posted: Tue Jul 11, 2006 5:31 am Post subject: |
|
|
Newbie
Joined: 10 Jul 2006 Posts: 9
|
Thanks guys for your replies...It makes more sense to me now...
On a side note,Where do you think I can find the syntax of the flag that can be used to specify the log location?.
Thanks. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Jul 11, 2006 5:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
mq_user wrote: |
On a side note,Where do you think I can find the syntax of the flag that can be used to specify the log location?.
Thanks. |
System Administration Guide, Chapter 17 "The control commands" under "crtmqm" - oddly enough.
 _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Jul 11, 2006 5:46 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
or, perhaps "man crtmqm" will work.... _________________ -wayne |
|
Back to top |
|
 |
mq_user |
Posted: Tue Jul 11, 2006 7:05 am Post subject: |
|
|
Newbie
Joined: 10 Jul 2006 Posts: 9
|
Thanks a lot all of you....I am new to this forum and its so informative.....Should have joined long ago.
I really appreicate you all for taking time in answering my questions. |
|
Back to top |
|
 |
wschutz |
Posted: Tue Jul 11, 2006 8:07 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
btw...if you code the defaultLogLocation in the mqs.ini file, you don't need to remember to specify "-ld" on the crtmqm command.... _________________ -wayne |
|
Back to top |
|
 |
|