[OpenAFS] dual database configuration
Derrick Brashear
shadow@gmail.com
Tue, 3 Jul 2007 09:03:26 -0400
------=_Part_119894_14578068.1183467806517
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
vos examine root.afs
vos examine root.cell
you might consider configuring the client with -dynroot (probably in the
client options in /etc/sysconfig/afs; it's an afsd switch) in which case th=
e
panic will go away regardless and you can focus on the core issue of
unbreaking your cell.
On 7/3/07, Gerald Macinenti <gerald.macinenti@letitwave.fr> wrote:
>
> Marcus Watts wrote:
> >> Date: Mon, 02 Jul 2007 20:48:44 +0200
> >> To: openafs-info@openafs.org
> >> From: =3D?ISO-8859-1?Q?G=3DE9rald_Macinenti?=3D <
> gerald.macinenti@letitwave.fr>
> >> Subject: [OpenAFS] dual database configuration
> >>
> >> Hi,
> >> I've tried to follow the AFS Quick Start Guide for configuring two=3D2=
0
> >> database servers for a unique Cell, but it doesn't seam to work
> perfectly=3D
> >> .
> >> What I've done:
> >> configured a full-featured server with Kerberos,AFS databse and file=
=3D20
> >> server: worked OK, configured AFS client on the machine and on a
> second=3D20
> >> machine with success.
> >> Then I configured a file server on the second machine, it was
> visible=3D20
> >> and usable from the first machine (after KeyFile copy), could do vos=
=3D20
> >> addsite and so on with no problem.
> >> At last, I added this second machine in CellServDB on both machines
> and=3D20
> >> created the buserver, ptserver and vlserver on this second
> machine.=3D20
> >> Did a (few) reboot of both machines, the first has the lowest IP,
> when=3D20
> >> the second boots, I see a "Fileserver ready" on the first one which=3D=
20
> >> seams a good sign, but I can't have any client working with this=3D20
> >> configuration: "Can't mount AFS...", did I forget something? (I've=3D=
20
> >> tried with only the first server and both servers in CellServDB of=3D2=
0
> >> clients...)
> >>
> >> Cheers
> >>
> >>
> >> --=3D20
> >> G=3DE9rald Macinenti - Admistrator
> > ...
> >
> > Does root.afs exist? root.cell?
> yes, everything worked well before adding the second server
> administrative database
> now things are getting worst: I've stopped administrative database on
> the second server and tried to use it as a simple client (after reboot),
> and I still can't mount /afs but for more, doing fs checkvolumes on the
> client raises a kernel panic on the client and the server!!
>
> here is the server trace:
> Process afsd
> (...)
> Call trace:
> :libafs:afs_CheckVolumeNames
> :libafs:afs_Daemon
> :libafs:afsd_launcher+0x0/0x40
> :libafs:afsd_thread+0x21b/0x7c0
> child_rip+0xa/0x11
> :libafs:afsd_launcher+0x0/0x40
> :libafs:afsd_thread+0x0/0x7c0
> child_rip+0x0/0x11
>
> <0>kernel panic - not syncing: Fatal exception
>
> Have you tried using "tcpdump" or related
> > when the cache manager tries to mount /afs?
> will try that
>
>
>
> --
> G=E9rald Macinenti - Administrator
>
> / / ___ / /_ / _/ /_ | | / /___ __ _____
> / / / _ \/ __/ / // __/ | | /| / / __ `/ | / / _ \
> / /___/ __/ /_ _/ // /_ | |/ |/ / /_/ /| |/ / __/
> /_____/\___/\__/ /___/\__/ |__/|__/\__,_/ |___/\___/
>
> 8-16, rue Paul-Vaillant-Couturier,
> 92240 Malakoff; FRANCE
> Tel +33 1 4092 5454 - Fax +33 1 4092 5441 -
> http://www.letitwave.fr
>
>
------=_Part_119894_14578068.1183467806517
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
vos examine root.afs<br>vos examine root.cell<br><br>you might consider con=
figuring the client with -dynroot (probably in the client options in /etc/s=
ysconfig/afs; it's an afsd switch) in which case the panic will go away=
regardless and you can focus on the core issue of unbreaking your cell.
<br><br><br><div><span class=3D"gmail_quote">On 7/3/07, <b class=3D"gmail_s=
endername">Gerald Macinenti</b> <<a href=3D"mailto:gerald.macinenti@leti=
twave.fr">gerald.macinenti@letitwave.fr</a>> wrote:</span><blockquote cl=
ass=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204); mar=
gin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Marcus Watts wrote:<br>>> Date: Mon, 02 Jul 20=
07 20:48:44 +0200<br>>> To: <a hre=
f=3D"mailto:openafs-info@openafs.org">openafs-info@openafs.org</a><br>>&=
gt; From: =3D?ISO-8859-1?Q?G=3DE9rald_Macinenti?=3D =
<
<a href=3D"mailto:gerald.macinenti@letitwave.fr">gerald.macinenti@letitwave=
.fr</a>><br>>> Subject: [OpenAFS] dual database configuration<br>&=
gt;><br>>> Hi,<br>>> I've tried to follow the AFS Quick =
Start Guide for configuring two=3D20
<br>>> database servers for a unique Cell, but it doesn't seam to=
work perfectly=3D<br>>> .<br>>> What I've done:<br>>>=
; configured a full-featured server with Kerberos,AFS databse and file=3D20
<br>>> server: worked OK, configured AFS client on the machine and on=
a second=3D20<br>>> machine with success.<br>>> Then I configu=
red a file server on the second machine, it was visible=3D20<br>>> an=
d usable from the first machine (after KeyFile copy), could do vos=3D20
<br>>> addsite and so on with no problem.<br>>> At last, I adde=
d this second machine in CellServDB on both machines and=3D20<br>>>&n=
bsp; created the buserver, ptserver and vlserver on this second machi=
ne.=3D20<br>
>> Did a (few) reboot of both machines, the first has the lowest IP, =
when=3D20<br>>> the second boots, I see a "Fileserver ready"=
; on the first one which=3D20<br>>> seams a good sign, but I can'=
t have any client working with this=3D20
<br>>> configuration: "Can't mount AFS...", =
did I forget something? (I've=3D20<br>>> tried with only the firs=
t server and both servers in CellServDB of=3D20<br>>> clients...)<br>=
>><br>
>> Cheers<br>>><br>>><br>>> --=3D20<br>>> G=
=3DE9rald Macinenti - Admistrator<br>> ...<br>><br>> Does root.afs=
exist? root.cell?<br>yes, everything worked well before adding =
the second server
<br>administrative database<br>now things are getting worst: I've stopp=
ed administrative database on<br>the second server and tried to use it as a=
simple client (after reboot),<br>and I still can't mount /afs but for =
more, doing fs checkvolumes on the
<br>client raises a kernel panic on the client and the server!!<br><br>here=
is the server trace:<br>Process afsd<br>(...)<br>Call trace:<br>:libafs:af=
s_CheckVolumeNames<br>:libafs:afs_Daemon<br>:libafs:afsd_launcher+0x0/0x40
<br>:libafs:afsd_thread+0x21b/0x7c0<br>child_rip+0xa/0x11<br>:libafs:afsd_l=
auncher+0x0/0x40<br>:libafs:afsd_thread+0x0/0x7c0<br>child_rip+0x0/0x11<br>=
<br><0>kernel panic - not syncing: Fatal exception<br><br>Have you tr=
ied using "tcpdump" or related
<br>> when the cache manager tries to mount /afs?<br>will try=
that<br><br><br><br>--<br>G=E9rald Macinenti - Administrator<br><br> =
/ / ___ / /_ &nbs=
p; / _/ /_ | | /=
/___ __ _____<br> / / / _ \/ __/ =
/ // __/ | | /| / / __ `/ | / / =
_ \
<br> / /___/ __/ /_ _/ // /_&=
nbsp; | |/ |/ / /_/ /| |/ / __/<br=
>/_____/\___/\__/ /___/\__/ &=
nbsp; |__/|__/\__,_/ |___/\___/<br><br>8-16, rue Paul-Vaillant-Coutur=
ier,<br>92240 Malakoff; FRANCE<br>Tel +33 1 4092 5454 - Fax +33 1 4092 5441=
-
<br><a href=3D"http://www.letitwave.fr">http://www.letitwave.fr</a><br><br>=
</blockquote></div><br>
------=_Part_119894_14578068.1183467806517--