From the phone:

You need to be careful - dns changes will most probably not affect the running 
instance immediately. So IMHO the virtual IP is the best solution.

rainer

----- Ursprüngliche Nachricht -----
Von: "RB" <[email protected]>
An: "rsyslog-users" <[email protected]>
Gesendet: 11.02.09 20:21
Betreff: Re: [rsyslog] rsyslog.conf

On Wed, Feb 11, 2009 at 11:53, Jules Pagna Disso <[email protected]> wrote:
> Giving that one can change the IP in the rsconfig.conf to send a log
> remotely, would they be an easy way, or what would be the best approach to
> change the config file programatically so that IP can be update whenever
> wanted.

Use DNS.  There are nearly infinite of ways to programmatically
replace FOO with BAR in a text file, but changing the file requires a
HUP or restart for an already-running instance of rsyslog, which is
inelegant.  If you're trying to point to multiple hosts, either float
a virtual IP among them or point at a DNS record you can move among
hosts.
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com
_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to