[OpenAFS] Can client's CellServDB file rely on DNS?

Derrick Brashear shadow@gmail.com
Wed, 7 Apr 2010 14:39:04 -0400

On Wed, Apr 7, 2010 at 2:29 PM, Russ Allbery <rra@stanford.edu> wrote:
> Ken Elkabany <Ken@Elkabany.com> writes:
>> We have had to replace our master openafs fileserver several times. Each
>> time we have had to go through each client and update the CellServDB
>> file to reflect the IP address of the new replacement server. Since we
>> always map a domain name to the master openafs fileserver, is it
>> possible to specify in the CellServDB file to always use domain name x
>> as opposed to an IP? This feature would allow the system to reconfigure
>> itself automatically once the DNS information is updated.
> No. =A0The file semantics don't support that.
> However, you can enable AFSDB records (add the -afsdb flag to afsd), and
> then use a zero-length CellServDB file, and all VLDB location information
> will be resolved via AFSDB records.

Or name just cells you want with this behavior as e.g.
>cell.name #Whatever

instead of
>cell.name #Whatever
IP #host