On Wed, 27 Mar 2013, Jiann-Ming Su wrote:
Is there a version of rsyslog that can properly use distributed filesystems like GlusterFS? For example, I have two nodes each running rsyslog but also sharing a GlusterFS filesystem. Can those independent rsyslog processes running on different servers write to the same file on the GlusterFS?
rsyslog doesn't have any code in it that cares what filesystem it uses.What would it have to do to "properly use distributed filesystems like GlusterFS"?
I would expect that different distributed filesystems have different behavior if multiple clients are writing to the same file at the same time.
If nothing else, without explicit locking, I would expect that you will end up with race conditions between the different writers, which can cause writes from the different writers to be intermingled (and intermingled in chunks that make sense to the OS layer, not to the application layer)
I know that some distributed filesystems 'handle' this problem by only allowing one machine/process to have a given file open for writing at a time, other attempts to open the file either fail or block. What does GlusterFS do?
David Lang
_______________________________________________ rsyslog mailing list http://lists.adiscon.net/mailman/listinfo/rsyslog http://www.rsyslog.com/professional-services/ What's up with rsyslog? Follow https://twitter.com/rgerhards NOTE WELL: This is a PUBLIC mailing list, posts are ARCHIVED by a myriad of sites beyond our control. PLEASE UNSUBSCRIBE and DO NOT POST if you DON'T LIKE THAT.

