Author |
Message
|
redlabel |
Posted: Mon Jul 16, 2007 5:24 am Post subject: Changing the Log path |
|
|
Newbie
Joined: 15 Jun 2007 Posts: 2
|
I know it is possible to change the default log path when creating a queue manager by using the -ld option of the crtmqm command. The question is it possible to change the log path from a local machine (MQ server) to some remote server. Secondly can this be done between a unix server and a Windows Server and vice -versa? |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jul 16, 2007 5:33 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
It's just a path, so you can point it where you like; on Windows you can map a drive for instance. Things like NFS allow Unix drives to be seen on Windows machines to allow cross platform views.
The reason it's not typically done is that the additional lag introduced by reading or writting over a network link kills the queue manager performance. If the link ever fails, the queue manager will crash like it's been shot in the head and will need to be recovered.
In short it can be done. But in practice you'd need a very compelling reason to do so.
I can't think of one sitting here.  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Nigelg |
Posted: Mon Jul 16, 2007 5:48 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
It is unlikely to work if you make the log path point to a directory on an NFS mounted file system, or any other such remote device. WMQ requires that the file system where the log resides is capable of synchronous writes, i.e. when the system call writing to the file system says the data is written it really IS written, not just cached somewhere to be (possibly) written some time in the future. _________________ MQSeries.net helps those who help themselves.. |
|
Back to top |
|
 |
redlabel |
Posted: Thu Jul 19, 2007 11:22 am Post subject: |
|
|
Newbie
Joined: 15 Jun 2007 Posts: 2
|
Vitor wrote: |
It's just a path, so you can point it where you like; on Windows you can map a drive for instance. Things like NFS allow Unix drives to be seen on Windows machines to allow cross platform views.
The reason it's not typically done is that the additional lag introduced by reading or writting over a network link kills the queue manager performance. If the link ever fails, the queue manager will crash like it's been shot in the head and will need to be recovered.
In short it can be done. But in practice you'd need a very compelling reason to do so.
I can't think of one sitting here.  |
Thanks Vitor so if the log location has to be created on the same windows server but a different partition say D in a directory called logs then
is this the right way to do it?
ctrmqm -ll -ld D:\logs |
|
Back to top |
|
 |
Vitor |
Posted: Thu Jul 19, 2007 11:38 pm Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Does it work when you try it?  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
|