[OpenAFS] Setting up second AFS server
Melvin Wong
melvin.wong@muvee.com
Wed, 4 Apr 2007 15:19:17 +0800
Hi Derrick,
Yap, you are right. Some of the services on the 2nd afs server are down.
I managed to make some changes and the other services are up:
bos status afs2
bos: a pioctl failed (getting tickets)
bos: running unauthenticated
Instance upclientetc, currently running normally.
Instance upserver, currently running normally.
Instance upclientbin, currently running normally.
Instance fs, currently running normally.
Auxiliary status is: file server running.
Instance buserver, currently running normally.
Instance ptserver, currently running normally.
Instance vlserver, currently running normally.
and udebug shows:
[root@afs2 ~]# /usr/afsws/bin/udebug afs1.ben.muveenet 7002
Host's addresses are: 192.168.81.67
Host's 192.168.81.67 time is Wed Apr 4 15:06:05 2007
Local time is Wed Apr 4 15:05:59 2007 (time differential -6 secs)
Last yes vote for 192.168.81.67 was 13 secs ago (sync site);
Last vote started 13 secs ago (at Wed Apr 4 15:05:46 2007)
Local db version is 1174999273.2
I am sync site until 38 secs from now (at Wed Apr 4 15:06:37 2007) (2
servers)
Recovery state 1f
Sync site's db version is 1174999273.2
0 locked pages, 0 of them for write
Server (192.168.81.68): (db 1174999273.2)
last vote rcvd 22 secs ago (at Wed Apr 4 15:05:37 2007),
last beacon sent 13 secs ago (at Wed Apr 4 15:05:46 2007), last
vote was yes
dbcurrent=3D1, up=3D1 beaconSince=3D1
on the 1st afs server it shows:
[root@afs1 ~]# /usr/afsws/bin/udebug afs2.ben.muveenet 7002
Host's addresses are: 192.168.81.68
Host's 192.168.81.68 time is Wed Apr 4 15:07:39 2007
Local time is Wed Apr 4 15:07:48 2007 (time differential 9 secs)
Last yes vote for 192.168.81.67 was 12 secs ago (sync site);
Last vote started 2 secs ago (at Wed Apr 4 15:07:46 2007)
Local db version is 1174999273.2
I am not sync site
Lowest host 192.168.81.67 was set 12 secs ago
Sync host 192.168.81.67 was set 12 secs ago
Sync site's db version is 1174999273.2
0 locked pages, 0 of them for write
Does these shows that everything is correct now? How do I combine the
2nd afs server disk space to the 1st afs server? How do I see the total
disk size available? I will like to add a few more fileservers to
increase the total disk space.=20
Thank you for all the help.
Regards,
melvin
-----Original Message-----
From: Derrick J Brashear [mailto:shadow@dementia.org]=20
Sent: Wednesday, April 04, 2007 11:28 AM
To: Melvin Wong
Cc: openafs-info@openafs.org
Subject: RE: [OpenAFS] Setting up second AFS server
On Wed, 4 Apr 2007, Melvin Wong wrote:
> Hi Ted,
> I tried that and on the 2nd server I got:
>
> [root@afs2 ~]# /usr/afsws/bin/udebug afs1.ben.muveenet 7002
> Host's addresses are: 192.168.81.67
> Host's 192.168.81.67 time is Wed Apr 4 10:45:09 2007
> Local time is Wed Apr 4 10:44:57 2007 (time differential -12 secs)
> ****clock may be bad
> Last yes vote for 67.81.168.192 was 0 secs ago (sync site);
> Last vote started 0 secs ago (at Wed Apr 4 10:44:57 2007)
> Local db version is 1174999273.2
> I am sync site forever (1 server)
> Recovery state 1f
> Sync site's db version is 1174999273.2
> 0 locked pages, 0 of them for write
which means it believes it is the only server
> but on 1st server I got:
>
> [root@afs1 ~]# /usr/afsws/bin/udebug afs2.ben.muveenet 7002
> return code -1 from VOTE_Debug
no big shock.
> Does this mean my 2nd server can talk to the 1st server but my 1st
> server can't talk to my 2nd server?
> Did I miss anything? Appreciate all the help. Many thanks.
it looks like your first server (named afs2??) is down
I bet bos status afs2.mumble says it's not even running.
of course, what the heck does this have to do with the client?