LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-28-2009, 07:16 AM   #1
kenneho
Member
 
Registered: May 2003
Location: Oslo, Norway
Distribution: Ubuntu, Red Hat Enterprise Linux
Posts: 657

Rep: Reputation: 40
Configure failover for rsyslog


Hello all.


I'm planning on setting up rsyslog servers (i.e. loghosts) to store syslog messages from the various RHEL clients in the network. So far I have one "master" server, and one relay server who forwards syslog messages to the master server. The clients log either directly to the master, or to the relay server. In other words, this:

Syslog clients ==> Relay rsyslog server ==> Master rsyslog server <== Syslog clients

It's possible to define failover behavior on the client side, either:
Try one rsyslog server before spooling the messages
Try two or more rsyslog servers before spooling the messages
In the latter scenario one will need multiple failover rsyslog servers. But since the clients are able to spool the messages, and forward them as soon as the rsyslog server comes back up, I'm thinking that one rsyslog server (one relay server and one master server, that is) will suffice. As long as the messages are just temporarily stored locally, no messages should be lost.

Has anyone set up rsyslog (or other syslog-implementations) with failover functionality, and would like to comment on these alternatives?

Furhtermore, our RHEL clients are currently running sysklogd, so if there is some way of setting up failover syslog server without having to upgrade to rsyslog I'd appreciate a howto on this. I'm don't think this is a likely approach, since TCP (as is supported in the rsyslog implementation) seems like the best alternative when setting up failover.

Regards,
kenneho


PS. I posted this question on the Red Hat mailing list a few days ago, but since I didn't get any replies there I'm posting it here too.
 
Old 01-28-2009, 07:39 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
I would suggest using some level of clustering within your servers, and not push anything to the client at all. Make the clients log UDP to one ip, and just have confidence that that IP will be failed between servers if need be.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem when autostarting rsyslog gatsby Linux - Software 6 09-25-2008 10:05 AM
Problem I faced in using rsyslog prakash.akumalla Linux - Software 0 06-26-2008 03:13 AM
rsyslog issue re-iterated ... prakash.akumalla Linux - Newbie 1 06-26-2008 02:30 AM
SELinux blocks my changes in rsyslog.conf tbergfeld Linux - Security 1 06-17-2008 03:12 AM
anyone using rsyslog? slackamp Slackware 1 10-16-2007 09:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:53 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration