help-cfengine
[Top][All Lists]
Advanced

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

Re: Bootstrapping


From: Luke A. Kanies
Subject: Re: Bootstrapping
Date: Mon, 16 Feb 2004 11:50:41 -0600 (CST)

On Mon, 16 Feb 2004, John Sechrest wrote:

>
> I appreciate that you are working on making this question explicit.
> We are working on the same set of problems with a UML based package
> we are working on.
>
> to solve the problem you are describing below, can't you
> create a specific IPnumber/hostname which is specifically bound.
>
> So if I have a system foobar.x.com and it has three interfaces
[SNIP]

The problem isn't really in getting a unique name for each ip address or
interface; the problem is basically that I want to be able choose from
which IP address I connect.  Clusters are one of the main sources of
problems here -- you have multiple IP addresses (one per cluster service)
that move around between multiple servers.  Each server has at least one
non-clustered IP address.  You'd rather connect out of this unique
address, but it's not really possible.

I might try to add it as a patch, but I'm guessing it's quite a bit of
work.

> The difficulty with this path, is that it does not deal with the
> reverse DNS question. And since Reverse DNS and forward DNS are
> not one to one, you always in a sense have this problem.
>
> Sometimes you want reverse DNS to return the main host name,
> sometimes you want it to return the interface name. Sometimes
> you want it to return the virtual host name.
>
> If you can live with different reverse DNS, then it is ok.
>
> If you can't, then one solution is to spoof the return address lookup
> by creating your own reverse maps in your own dns server for those
> domains.


Unfortunately, cfservd uses gethostbyaddr, so I pretty much have to use
reverse DNS or /etc/hosts.  And I hate /etc/hosts.

This problem could largely be solved if cfagent could relatively easily be
configured to use a specific address and have a specific host name; then
you just create a mechanism for collecting the right information when
cfagent runs, and you should be good.

Luke

-- 
"I used to get high on life but lately I've built up a resistance."




reply via email to

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