[OpenAFS] Re: Upgrade plan - any gotchas?

Steve Gaarder gaarder1@math.cornell.edu
Tue, 13 Dec 2005 09:07:53 -0500 (EST)


Christopher D. Clausen wrote:
>
> What do you mean by "Primary"?  Do you only have one AFS DB server for
> your cell?  Most cells run at least 3 AFS DB servers (just look through
> the CellServDB file.)
> When you say "second," what do you mean?

I have two DB/PTS/file servers; the "primary" has IP xx.12, the second 
server xx.16.
>
> You probably want at least three VLDB, PTS, (and possibly BackupDB, if
> you use that) servers total.  (So that two are up at any given time.)
> Ubik (syncronization protocol that AFS uses) grants an extra vote to the
> server with the lowest IP address, and if the server you take down has
> the lowest, you might not reach quorum and bad things can happen.

Okay - I will set up a third VLDB/PTS server.

>> 5.  Copy /usr/afs/db, /usr/afs/etc/, and /usr/afs/local from the old
>> system partition to the new one. Mount /vicepa same as on the old
>> system.
>
> You should NOT copy /usr/afs/db.  These DBs will auto replicate from the
> other server and there is no need to pre-populate that directory.  In
> fact, doing so may cause problems.  And you can have all kinds of issues
> if you copy the sysid file from another server (this might be better
> now, but in general copying unique identifiers is NOT a good idea.)
> Also be aware that different servers may have different NetRestrict or
> NetAllow files and you don't want to copy them.

In this case, tho, I am not copying from another server but from the old 
installation of the *same* server.  Under those circumstances, don't I 
want the sysid file to be the same?

> From: "ted creedon" <tcreedon@easystreet.com>
>
> Don't forget that upserver and upclient re-populate the /usr/afs/etc
> directories automatically.

This machine is the update server, however - will it get repopulated or 
will it depopulate the others?

thanks,

Steve Gaarder
System Administrator, Dept of Mathematics
Cornell University, Ithaca, NY, USA
gaarder@math.cornell.edu