[OpenAFS] Heimdal and openafs with Debian.

Wolfgang Friebel friebel@ifh.de
Tue, 20 Aug 2002 13:46:12 +0200 (MEST)


On 20 Aug 2002, Turbo Fredriksson wrote:

> I have a question (or two) about this script. It contains:
>
> ----- s n i p -----
> if [[ ! -e kaserver.DB0 ]]; then
>   echo "Fetching the AFS database from dbserver, please enter its host name:"
>   read dbserver
>   scp $dbserver:/usr/afs/db/kaserver.DB0 .
>   if [[ ! -e /usr/afs/etc/KeyFile ]]; then
>     echo "Fetching the AFS KeyFile from $dbserver"
>     scp -p $dbserver:/usr/afs/etc/KeyFile .
>     mkdir /usr/afs/etc
>     mv KeyFile /usr/afs/etc
>   fi
> fi
> ----- s n i p -----
>
> I've been trying to figure out how to move my AFS (db)server to another
> machine(s). These files you're copying, can the safely be copied while
> the AFS server(s) are running, or do I have to shut it/them down?
>
> And is these files ALL there is? Anything else that have to be done
> if/when a AFS server (the DB insance etc, not the file server) is moved
> onto two new boxes?
>

This script is not about moving AFS DB servers but to set up a Kerberos5
KDC with the K5 database initialized from the AFS (K4) database. I guess
to just copy the DB for that purpose is ok, as on updates the file is
hopefully locked and you will always fetch an intact copy.

Wolfgang