[OpenAFS] Second fileserver setup

Cajus Pollmeier c.pollmeier@gmx.net
Sat, 11 Oct 2003 00:05:13 +0200


On Freitag, 10. Oktober 2003 23:18, Derrick J Brashear wrote:
> Redirecting this to the list. Only reply to the list, don't reply to me.
>
> > > new sysid file. Can't talk to vlserver, no sysid file. As soon as you
> > > fix it so you can talk to the vlserver, you'll have one.
> > >
> > > I haven't been following this closely, but something in one of the
> > > messages I just glanced at makes me ask: is your second fileserver's
> > > loopback interface up and working?
> > >
> > > ifconfig lo
> > > should show 127.0.0.1 up, presumably.
> >
> > Yes. Must the vlserver run on afs-2, too?
>
> Only if you listed afs-2 in CellServDB .
> If you didn't, no. It needs to run on all your dbservers, and your
> dbservers are the ones you name in CellServDB. Make sure all your
> CellServDBs match.

Ok - CellServDB only contains

>testnet.local    #Testnet
10.3.64.2      #afs-1.testnet.local

on both machines, vlserver is running on afs-1:

afs-1:/etc/openafs/server# bos status afs-1.testnet.local -long
bos: no such entry (getting tickets)
bos: running unauthenticated
Bosserver reports inappropriate access on server directories
Instance ptserver, (type is simple) currently running normally.
    Process last started at Fri Oct 10 23:29:07 2003 (1 proc starts)
    Command 1 is '/usr/lib/openafs/ptserver'

Instance buserver, (type is simple) currently running normally.
    Process last started at Fri Oct 10 23:29:07 2003 (1 proc starts)
    Command 1 is '/usr/lib/openafs/buserver'

Instance vlserver, (type is simple) currently running normally.
    Process last started at Fri Oct 10 23:29:07 2003 (1 proc starts)
    Command 1 is '/usr/lib/openafs/vlserver'

Instance fs, (type is fs) currently running normally.
    Auxiliary status is: file server running.
    Process last started at Fri Oct 10 23:36:37 2003 (8 proc starts)
    Last exit at Fri Oct 10 23:36:37 2003
    Last error exit at Fri Oct 10 23:36:37 2003, by scanner, by exiting with code 2
    Command 1 is '/usr/lib/openafs/fileserver'
    Command 2 is '/usr/lib/openafs/volserver'
    Command 3 is '/usr/lib/openafs/salvager'
    Command 4 is '/usr/lib/openafs/vlserver'

The vlserver communication seems to go via udp 7003, the fileserver process
sends a message to afs-1. This results to:
Fri Oct 10 23:49:58 2003 Couldn't get CPS for AnyUser, will try again in 30 seconds; code=19270408.

VLLog on afs-1 is empty. Giving up for today. Will be back to fight ;-)

Cajus