help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

DNS & multiple names and copy statements


From: Martin, Jason H
Subject: DNS & multiple names and copy statements
Date: Mon, 5 Dec 2005 16:05:30 -0800

Has there been any thought into having CFE do failover based on a given
name returning multiple IP addresses? Lets  say www.yahoo.com was
hosting my CFE server:

# host www.yahoo.com
www.yahoo.com is an alias for www.yahoo.akadns.net.
www.yahoo.akadns.net has address 68.142.197.85
www.yahoo.akadns.net has address 68.142.197.64
www.yahoo.akadns.net has address 68.142.197.65
www.yahoo.akadns.net has address 68.142.197.67
www.yahoo.akadns.net has address 68.142.197.68
www.yahoo.akadns.net has address 68.142.197.76
www.yahoo.akadns.net has address 68.142.197.80
www.yahoo.akadns.net has address 68.142.197.83

Cfagent could iterate over the whole list trying to perform a copy,
instead of requiring the user to add a 'failover=' line (which is
therefore limited to just 2 potential sources). One could even expand on
that to have it randomly choose from the list or do some sort of check
(ie ping) to try them in some order. This would be very handy when one
has CFE clients on opposite ends of a 3-way WAN pipe with a CFE server
on each end. Clients would pick the best available server and fail over
to the next best on down until they get one that worked.

I realize one can do this now in a basic form by determining the server
value based on the current subnet, but this limits one to only a 2-way
failover. Something more flexible would be handy.

Thank you,
-Jason Martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]