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 » General IBM MQ Support » Changing the Log path

Post new topic  Reply to topic
 Changing the Log path « View previous topic :: View next topic » 
Author Message
redlabel
PostPosted: Mon Jul 16, 2007 5:24 am    Post subject: Changing the Log path Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Mon Jul 16, 2007 5:33 am    Post subject: Reply with quote

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
View user's profile Send private message
Nigelg
PostPosted: Mon Jul 16, 2007 5:48 am    Post subject: Reply with quote

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
View user's profile Send private message
redlabel
PostPosted: Thu Jul 19, 2007 11:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Thu Jul 19, 2007 11:38 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Changing the Log path
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.