[OpenAFS] Second fileserver setup

Cajus Pollmeier c.pollmeier@gmx.net
Fri, 10 Oct 2003 14:54:46 +0200


Hi!

I'm currently playing around with an afs setup, so I'm just an afs greenhorn ;-). The first afs server
runs well for the testnet.local cell. Now I'm trying to set up a filserver only machine which doesn't
work like expected. Basically I did this:

(afs-1.testnet.local is the first afs-2.testnet.local is the second machine.)

- Copied krb5.keytab.afs from afs-1 to afs-2. Adapted ThisCell and CellServeDB to contain both
  machines.

- Ran
  (afs-2)# bosserver -noauth

- After ignoring the update and ntp processes (machine has ntp and is synchronized to afs-1 and
  updates are done with native debian mechanisms) I started the fileserver processes:
  (afs-2)# bos create afs-2.testnet.local fs fs /usr/lib/openafs/fileserver /usr/lib/openafs/volserver /usr/lib/openafs/salvager -cell testnet.local -noauth

   This call results in looping "FSYNC_clientInit temporary failure (will retry): Connection refused" messages.
   The salvager is not started. In the FileLog I see:

   Fri Oct 10 13:33:29 2003 File server starting
   Fri Oct 10 13:33:29 2003 afs_krb_get_lrealm failed, using testnet.local.
   Fri Oct 10 13:33:29 2003 /var/lib/openafs/sysid: doesn't exist
   Fri Oct 10 13:33:29 2003 Creating new SysID file
   Fri Oct 10 13:33:30 2003 VL_RegisterAddrs rpc failed; will retry periodically (code=19270408, err=4)
   Fri Oct 10 13:33:31 2003 Couldn't get CPS for AnyUser, will try again in 30 seconds; code=19270408.
   ...

   After some diggin' and stracing I found that the volserver process wants to connect to 127.0.0.1, which
   is refused. Mailinglist says ptserver and vlserver can't be reached when these messages are produced.
   They are running on afs-1. Or the key is wrong. In that case, how to use the "correct" key?

Beeing new in afs, I don't know what knobs to turn in order to get this luckily up and running. Btw. running
on Debian woody, kernel 2.4.22, openafs-1.2.10. Both machines.

Any hints?
Cajus