Posted: Fri Feb 27, 2009 1:01 pm Post subject: Log Broker messages to shared disk on Linux cluster?
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?
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.
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