[OpenAFS] Moving AFS server processes

Michael Aldrich maldrich@reserveamerica.com
Wed, 13 Feb 2002 19:19:34 -0500


----- Original Message -----
From: "Derek Atkins" <derek@ihtfp.com>
To: "Michael Aldrich" <maldrich@reserveamerica.com>
Cc: "openafs" <openafs-info@openafs.org>
Sent: Wednesday, February 13, 2002 5:09 PM
Subject: Re: [OpenAFS] Moving AFS server processes


> "Michael Aldrich" <maldrich@reserveamerica.com> writes:
>
> > I created a BosConfig file for the server to read at boot time, which
> > included all server processes. I have not moved the volumes.
>
> Ok, what do you get from:
>         bos status <linux-server> -long -no
[root@test1 bin]# ./bos status 10.20.30.47 -long -no
Bosserver reports inappropriate access on server directories
Instance buserver, (type is simple) currently running normally.
    Process last started at Wed Feb 13 13:32:24 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/buserver'

Instance ptserver, (type is simple) currently running normally.
    Process last started at Wed Feb 13 13:32:24 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/ptserver'

Instance vlserver, (type is simple) currently running normally.
    Process last started at Wed Feb 13 13:32:24 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/vlserver'

Instance kasever, (type is simple) currently running normally.
    Process last started at Wed Feb 13 13:32:24 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/kaserver'

Instance fs, (type is fs) currently running normally.
    Auxiliary status is: file server running.
    Process last started at Wed Feb 13 13:32:24 2002 (3 proc starts)
    Last exit at Wed Feb 13 13:32:24 2002
    Command 1 is '/usr/afs/bin/fileserver'
    Command 2 is '/usr/afs/bin/volserver'
    Command 3 is '/usr/afs/bin/salvager'

Instance upserver, (type is simple) currently running normally.
    Process last started at Wed Feb 13 13:32:24 2002 (1 proc starts)
    Command 1 is '/usr/afs/bin/upserver -crypt /usr/afs/etc -clear
/usr/afs/bin'

> How about:
>         udebug <linux-server> 7003
[root@test1 bin]# ./udebug 10.20.30.47 7003
Host's addresses are: 10.20.30.47
Host's 10.20.30.47 time is Wed Feb 13 19:08:50 2002
Local time is Wed Feb 13 19:08:50 2002 (time differential 0 secs)
Last yes vote for 10.20.30.47 was 1 secs ago (not sync site);
Last vote started 1 secs ago (at Wed Feb 13 19:08:49 2002)
Local db version is 1013618298.2
I am not sync site
Lowest host 10.20.30.47 was set 1 secs ago
Sync host 0.0.0.0 was set 1013645330 secs ago
Sync site's db version is 1013618298.2
0 locked pages, 0 of them for write
> Note that you cannot turn off the Sun server until you move the
> volumes to the new server.
>
> > > Do you have tokens?  Did afsd start and mount /afs normally?
> > > What does "vos exam root.afs" give you?
> >
> > afsd did start normally (mounted as well). I can see the /afs partition
from
> > the output of df -k.
> > On the existing fileserver:
> > # ./vos examine root.afs
> > vsu_ClientInit: Could not get afs tokens, running unauthenticated.
> > VLDB: no such entry
>
> Um, this is certainly a problem -- it means that the VLDB does not
> know about root.afs!
>
> > # ./vos listvol servertest
> > vsu_ClientInit: Could not get afs tokens, running unauthenticated.
> > Total number of volumes on server 10.20.10.152 partition /vicepa: 4
> > root.afs                          536870924 RW          4 K On-line
> > root.afs.readonly                 536870925 RO          4 K On-line
> > root.cell                         536870927 RW         93 K On-line
> > root.cell.readonly                536870928 RO         93 K On-line
>
> Ok, so something is really being fishy here...  I assume that
> "servertest" is your Sun box.  Can you walk through (step-by-step) the
> process you did to setup the Linux box as an AFS server in this cell?
> Leave no step out of your response, please.

I first configured the machine to be a client of the Sun box.
I installed openafs-server.rpm (from openafs.com).
I turned the server status to ON in /etc/sysconfig/afs
I created a BosConfig file matching the BosConfig file on the Sun box.
Restarted all 3 machines.



>        Computer and Internet Security Consultant
>        derek@ihtfp.com             www.ihtfp.com
> _______________________________________________
> OpenAFS-info mailing list
> OpenAFS-info@openafs.org
> https://lists.openafs.org/mailman/listinfo/openafs-info
>