On Fri, 28 Oct 2011 01:25:42 +0200 (CEST) sauer wrote: 

n> As far as fragility, I'd argue that this is more robust in the
n> environment I'm describing.  If we need to move one of the secondaries
n> to a new IP, move a machine name to a different location, etc, then
n> the reconfiguration is handled in one place - DNS.

That seems fragile to me.  Each machine could suddenly reconfigure
itself if it accidentally hit the wrong server, if I understand you
correctly.  Better to duplicate the meta-configuration or even better,
put it in a central inventory.

n> I actually wanted DNS to return only the address for the
n> location-specific primary, but whatever software they use to manage
n> CNAMEs dictated that they should do it this way.  Maybe I'll pressure
n> them a little more to make sure that they can't just resolve the root
n> problem of returning the wrong machines...

Use a module and call out to a C program or Perl script or whatever that
only returns 0 or 1 results.  You can put much more customized logic in
there without complicating your cfengine setup.

Ted
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to