[OpenAFS] AFS FileServer and Heartbeat
Cristina Bulfon
cristina.bulfon@roma1.infn.it
Tue, 3 Feb 2009 08:47:34 +0100
--Apple-Mail-3--210499348
Content-Type: text/plain;
charset=US-ASCII;
format=flowed;
delsp=yes
Content-Transfer-Encoding: 7bit
Ciao Steven,
sure :-)... following the files content
- /usr/afs/local/NetInfo:
141.108.26.31 (corresponding to Y.Y.Y.Y in the previous email, is
the virtual IP server )
- /usr/afs/local/NetRestrict
141.108.26.29
141.108.26.49
Just in case I'd like to remind you that the above files are the same
files in both servers, /usr/afs is a shareble partition.
cristina
On Feb 3, 2009, at 5:46 AM, Steven Jenkins wrote:
> On Mon, Feb 2, 2009 at 9:13 AM, Cristina Bulfon
> <cristina.bulfon@roma1.infn.it> wrote:
>> Hello,
>>
>> We'd like to configure AFS Fileserver using heartbeat in active/
>> passive
>> mode.
> ...
>> On the heartbeat side we have the following haresource file
>>
>> afsitfs3.roma1.infn.it IPaddr2::Y.Y.Y.Y/24/eth0:0
>> afsitfs3.roma1.infn.it drbddisk::r0 Filesystem::/dev/drbd1::/
>> vicepa::xfs
>> afsitfs3.roma1.infn.it drbddisk::r1 Filesystem::/dev/drbd2::/usr/
>> afs::ext3
>> afsitfs3.roma1.infn.it Y.Y.Y.Y afs
>>
>> On the afs side we've also configured the NetInfo and the NetRestrict
>> file, in the NetInfo we put the IP address stored on VLDB server
>> ( in this
>> case Y.Y.Y.Y) while in the NetRestrict put the IP addresses of the
>> two
>> servers.
>>
>> The problem is that everything is working fine inside the LAN but
>> If I try
>> to execute a simple command like "ls" from outiside the LAN I got
>>
>> Connection Timed Out
>>
>> If we look at the FileLog file we saw that the Fileserver takes the
>> IP and
>> hostname as the real server instead of the virtual one.
>> ....
>> Mon Feb 2 13:18:37 2009 FileServer host name is
>> 'afsitfs3.roma1.infn.it
>> Mon Feb 2 13:18:37 2009 FileServer afsitfs3.roma1.infn.it has
>> address
>> 141.108.26.29 (0x1d1a6c8d or 0x8d6c1a1d in host byte order)
>
> This implies an error in the NetRestrict file -- it should contain the
> address of the IP of the actual server. Could you provide the actual
> contents of the NetInfo and NetRestrict files? That would aid in
> debugging this problem.
>
> --
> Steven Jenkins
> End Point Corporation
> http://www.endpoint.com/
>
--Apple-Mail-3--210499348
Content-Type: text/html;
charset=US-ASCII
Content-Transfer-Encoding: quoted-printable
<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><font class=3D"Apple-style-span" =
face=3D"'Gill Sans'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">Ciao Steven,</span></font><div><font =
class=3D"Apple-style-span" face=3D"'Gill Sans'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: =
13px;"><br></span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Gill Sans'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">sure :-)... following the files =
content</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Gill Sans'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;"><br></span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Gill Sans'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">- =
/usr/afs/local/NetInfo:</span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Gill Sans'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: =
13px;"><br></span></font></div><div><span class=3D"Apple-tab-span" =
style=3D"white-space:pre"><font class=3D"Apple-style-span" face=3D"'Gill =
Sans'" size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: =
13px;"> </span></font></span><font class=3D"Apple-style-span" =
face=3D"'Gill Sans'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;">141.108.26.31 </span></font><span =
class=3D"Apple-tab-span" style=3D"white-space:pre"><font =
class=3D"Apple-style-span" face=3D"'Gill Sans'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;"> =
</span></font></span><font class=3D"Apple-style-span" face=3D"'Gill =
Sans'" size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: =
13px;">(corresponding to Y.Y.Y.Y in the previous email, is the virtual =
IP server )</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Gill Sans'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;"><br></span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Gill Sans'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: 13px;">- =
/usr/afs/local/NetRestrict</span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Gill Sans'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: =
13px;"><br></span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Gill Sans'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: =
13px;"><div>141.108.26.29</div><div>141.108.26.49</div><div><br></div></sp=
an></font></div><div><font class=3D"Apple-style-span" face=3D"'Gill =
Sans'" size=3D"3"><span class=3D"Apple-style-span" style=3D"font-size: =
13px;">Just in case I'd like to remind you that the above files are the =
same files in both servers, /usr/afs is a shareble =
partition.</span></font></div><div><font class=3D"Apple-style-span" =
face=3D"'Gill Sans'" size=3D"3"><span class=3D"Apple-style-span" =
style=3D"font-size: 13px;"><br></span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Gill Sans'" size=3D"3"><span =
class=3D"Apple-style-span" style=3D"font-size: =
13px;">cristina </span></font></div><div><br></div><div><br><div><div=
>On Feb 3, 2009, at 5:46 AM, Steven Jenkins wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div>On =
Mon, Feb 2, 2009 at 9:13 AM, Cristina Bulfon<br><<a =
href=3D"mailto:cristina.bulfon@roma1.infn.it">cristina.bulfon@roma1.infn.i=
t</a>> wrote:<br><blockquote =
type=3D"cite">Hello,<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">We'd like to =
configure AFS Fileserver using heartbeat in =
active/passive<br></blockquote><blockquote =
type=3D"cite">mode.<br></blockquote>...<br><blockquote type=3D"cite">On =
the heartbeat side we have the following haresource =
file<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote =
type=3D"cite">afsitfs3.roma1.infn.it =
IPaddr2::Y.Y.Y.Y/24/eth0:0<br></blockquote><blockquote =
type=3D"cite">afsitfs3.roma1.infn.it drbddisk::r0 =
Filesystem::/dev/drbd1::/vicepa::xfs<br></blockquote><blockquote =
type=3D"cite">afsitfs3.roma1.infn.it drbddisk::r1 =
Filesystem::/dev/drbd2::/usr/afs::ext3<br></blockquote><blockquote =
type=3D"cite">afsitfs3.roma1.infn.it =
Y.Y.Y.Y =
afs<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">On the afs side =
we've also configured the NetInfo and the =
NetRestrict<br></blockquote><blockquote type=3D"cite">file, in the =
NetInfo we put the IP address stored on VLDB server ( in =
this<br></blockquote><blockquote type=3D"cite">case Y.Y.Y.Y) while in =
the NetRestrict put the IP addresses of the =
two<br></blockquote><blockquote =
type=3D"cite">servers.<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">The problem is =
that everything is working fine inside the LAN but If I =
try<br></blockquote><blockquote type=3D"cite">to execute a simple =
command like "ls" from outiside the LAN I =
got<br></blockquote><blockquote type=3D"cite"><br></blockquote><blockquote=
type=3D"cite">Connection Timed Out<br></blockquote><blockquote =
type=3D"cite"><br></blockquote><blockquote type=3D"cite">If we look at =
the FileLog file we saw that the Fileserver takes the IP =
and<br></blockquote><blockquote type=3D"cite">hostname as the real =
server instead of the virtual one.<br></blockquote><blockquote =
type=3D"cite">....<br></blockquote><blockquote type=3D"cite">Mon Feb =
2 13:18:37 2009 FileServer host name is =
'afsitfs3.roma1.infn.it<br></blockquote><blockquote type=3D"cite">Mon =
Feb 2 13:18:37 2009 FileServer afsitfs3.roma1.infn.it has =
address<br></blockquote><blockquote type=3D"cite">141.108.26.29 =
(0x1d1a6c8d or 0x8d6c1a1d in host byte order)<br></blockquote><br>This =
implies an error in the NetRestrict file -- it should contain =
the<br>address of the IP of the actual server. Could you provide =
the actual<br>contents of the NetInfo and NetRestrict files? That =
would aid in<br>debugging this problem.<br><br>-- <br>Steven =
Jenkins<br>End Point Corporation<br><a =
href=3D"http://www.endpoint.com/">http://www.endpoint.com/</a><br><br></di=
v></blockquote></div><br></div></body></html>=
--Apple-Mail-3--210499348--