[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&#39;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> &lt;<a href=3D"mailto:gerald.macinenti@leti=
twave.fr">gerald.macinenti@letitwave.fr</a>&gt; 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>&gt;&gt; Date:&nbsp;&nbsp;&nbsp;&nbsp;Mon, 02 Jul 20=
07 20:48:44 +0200<br>&gt;&gt; To:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a hre=
f=3D"mailto:openafs-info@openafs.org">openafs-info@openafs.org</a><br>&gt;&=
gt; From:&nbsp;&nbsp;&nbsp;&nbsp;=3D?ISO-8859-1?Q?G=3DE9rald_Macinenti?=3D =
&lt;
<a href=3D"mailto:gerald.macinenti@letitwave.fr">gerald.macinenti@letitwave=
.fr</a>&gt;<br>&gt;&gt; Subject: [OpenAFS] dual database configuration<br>&=
gt;&gt;<br>&gt;&gt; Hi,<br>&gt;&gt; I&#39;ve tried to follow the AFS Quick =
Start Guide for configuring two=3D20
<br>&gt;&gt; database servers for a unique Cell, but it doesn&#39;t seam to=
 work perfectly=3D<br>&gt;&gt; .<br>&gt;&gt; What I&#39;ve done:<br>&gt;&gt=
; configured a full-featured server with Kerberos,AFS databse and file=3D20
<br>&gt;&gt; server: worked OK, configured AFS client on the machine and on=
 a second=3D20<br>&gt;&gt; machine with success.<br>&gt;&gt; Then I configu=
red a file server on the second machine, it was visible=3D20<br>&gt;&gt; an=
d usable from the first machine (after KeyFile copy), could do vos=3D20
<br>&gt;&gt; addsite and so on with no problem.<br>&gt;&gt; At last, I adde=
d this second machine in CellServDB on both machines and=3D20<br>&gt;&gt;&n=
bsp;&nbsp; created the buserver, ptserver and vlserver on this second machi=
ne.=3D20<br>
&gt;&gt; Did a (few) reboot of both machines, the first has the lowest IP, =
when=3D20<br>&gt;&gt; the second boots, I see a &quot;Fileserver ready&quot=
; on the first one which=3D20<br>&gt;&gt; seams a good sign, but I can&#39;=
t have any client working with this=3D20
<br>&gt;&gt; configuration:&nbsp;&nbsp;&quot;Can&#39;t mount AFS...&quot;, =
did I forget something? (I&#39;ve=3D20<br>&gt;&gt; tried with only the firs=
t server and both servers in CellServDB of=3D20<br>&gt;&gt; clients...)<br>=
&gt;&gt;<br>
&gt;&gt; Cheers<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; --=3D20<br>&gt;&gt; G=
=3DE9rald Macinenti - Admistrator<br>&gt; ...<br>&gt;<br>&gt; Does root.afs=
 exist?&nbsp;&nbsp;root.cell?<br>yes, everything worked well before adding =
the second server
<br>administrative database<br>now things are getting worst: I&#39;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&#39;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>&lt;0&gt;kernel panic - not syncing: Fatal exception<br><br>Have you tr=
ied using &quot;tcpdump&quot; or related
<br>&gt; when the cache manager tries to mount /afs?<br>will&nbsp;&nbsp;try=
 that<br><br><br><br>--<br>G=E9rald Macinenti - Administrator<br><br>&nbsp;=
&nbsp;&nbsp;&nbsp;/ /&nbsp;&nbsp; ___&nbsp;&nbsp;/ /_&nbsp;&nbsp;&nbsp;&nbs=
p; /&nbsp;&nbsp;_/ /_&nbsp;&nbsp;&nbsp;&nbsp; | |&nbsp;&nbsp;&nbsp;&nbsp; /=
 /___ __&nbsp;&nbsp; _____<br>&nbsp;&nbsp; / /&nbsp;&nbsp; / _ \/ __/&nbsp;=
&nbsp;&nbsp;&nbsp; / // __/&nbsp;&nbsp;&nbsp;&nbsp; | | /| / / __ `/ | / / =
_ \
<br>&nbsp;&nbsp;/ /___/&nbsp;&nbsp;__/ /_&nbsp;&nbsp;&nbsp;&nbsp; _/ // /_&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | |/ |/ / /_/ /| |/ /&nbsp;&nbsp;__/<br=
>/_____/\___/\__/&nbsp;&nbsp;&nbsp;&nbsp;/___/\__/&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&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--