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 » WebSphere Message Broker (ACE) Support » Log Broker messages to shared disk on Linux cluster?

Post new topic  Reply to topic
 Log Broker messages to shared disk on Linux cluster? « View previous topic :: View next topic » 
Author Message
slonkoski
PostPosted: Fri Feb 27, 2009 1:01 pm    Post subject: Log Broker messages to shared disk on Linux cluster? Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

anyone ever try logging messages to shared disk on a Broker running on linux (or any unix) cluster? We have messaging working fine locally based on adding a line to syslog.conf:
user.* /var/mqsi/WMB.log
But when I try to redirect to a log that is mounted on shared disk:
user.* /MQHA/QMGR/data/WMBfiles/WMB.log
It works fine until the cluster fails over to the other node. Then I have to restart syslogd 2x before it starts logging broker messages again. I suppose I could script a syslogd restart every time the cluster moves, but was wondering if I am missing something obvious here?
Back to top
View user's profile Send private message
gs
PostPosted: Mon Mar 02, 2009 2:13 am    Post subject: Reply with quote

Master

Joined: 31 May 2007
Posts: 254
Location: Sweden

Probably you'll have to restart syslog.
You could try the newer syslog-ng which may work in another way.
Back to top
View user's profile Send private message
smdavies99
PostPosted: Mon Mar 02, 2009 3:37 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Have your tried making the

/var/log/WMB a soft link to the file on the shared volume?
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
slonkoski
PostPosted: Mon Mar 02, 2009 10:29 am    Post subject: Reply with quote

Acolyte

Joined: 18 Mar 2005
Posts: 52

I had tried links already, should've mentioned that. Didn't help, but thanks for the idea.
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 » WebSphere Message Broker (ACE) Support » Log Broker messages to shared disk on Linux cluster?
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.