On Fri, 23 Oct 2009, Alan T DeKok wrote:

> Rainer Gerhards wrote:
>> I think the main point of the OP was that he logs to a NAS device, so I do
>> not see way to write to it without going through a network share.
>
>  Configure rsyslog to write to local disk, and rsync periodically to
> the network share.  Or, use another instance of rsyslog to copy from
> local disk to the network share.
>
>  Any other method will have problems.  Even NetApp systems have issues
> from time to time.

I've found that for every situation I've ever heard someone (including me) 
say 'never do that' that there is _some_ situaton where 'that' is exactly 
the right thing to do ;-)

I agree that in almost all cases, writing logs to NFS is not a good idea.

you really will need a high-end NFS server to have any chance of it 
working (and the load that the logging will put on the server is going to 
be significant, unless something does caching, which is what is causing 
your problems) so this is a _very_ expensive way to go to make logging 
work.

if you are putting the logs on NFS to make them readable by a bunch of 
machines, consider running rsyslog on a linux system and let that linux 
system export the log directory via NFS. for read-only access from many 
machines, this is probably going to rivel the speed of a very expensive 
NFS server, while being much simpler, cheaper, and more reliable (if you 
need redundant hardware things get more complicated, but it's still not 
hard to make it reliable and it will definantly be much cheaper)

David Lang
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to