[OpenAFS] fs newcell / clients CellServDB / adding new db server

Andreas Ladanyi andreas.ladanyi@kit.edu
Thu, 14 Jun 2018 08:54:00 +0200

> On 6/13/2018 8:06 AM, Andreas Ladanyi wrote:
>> Hi,
>> by reading
>> http://docs.openafs.org/QuickStartUnix/HDRWQ114.html
>> and
>> http://docs.openafs.org/Reference/1/fs_newcell.html
>> i understand that a change in CellServDB on client does have no effect
>> until reboot.
> The OpenAFS unix cache manager populates the list of location servers
> (vlservers) at startup.  The loaded server list can be adjusted via the
> "fs newcell" command at runtime.
> This behavior is specific to the OpenAFS unix cache manager.
> It does not apply to other cache managers nor does it apply to command
> line tools such as aklog, vos, pts, etc..  Nor does it apply to PAM modules.
>> So i copied the CellServDB which contain a new db server (and the old db
>> servers) which isnt online yet to clients and detect ssh shell logins
>> and sudo tasks takes a long time.
>> When i removed the new db server from CellServDB ssh login and sudo
>> works great. I didnt add the new db server on client side with "fs
>> newcell" so kernel list wasnt recreated and shouldnt ask the new db
>> server because doesnt know about.
> Questions:
> * are DNS SRV records published for your cell?
no, host -t AFSDB domain reports no AFSDB record
> if yes, the CellServDB cell entry should contain the name of the cell
>   and an empty server list
> * where in the CellServDB cell list did you insert the new server?
The new server with lowest ip is at the end of the CellServDB