Ciao Dejan,

first of  all thanks for the answer.
I did but it didn't work ...in that case the haresource file was

afsitfs3.roma1.infn.it IPadd2r::141.108.26.31/24/eth0:0 IPsrcaddr:: 141.108.26.31

cristina

On Feb 2, 2009, at 5:09 PM, Dejan Muhamedagic wrote:

Hi,

On Mon, Feb 02, 2009 at 03:40:55PM +0100, Cristina Bulfon wrote:
Hello,

We'd like to configure AFS Fileserver using heartbeat in active/ passive
mode.
The servers have been installed using the Big Box Linux ES46 (based on
RedHat) with OpenAFS 1.4.7, heartbeat 2.1.3 and DRBD 8.3.0.

The test layout consists of two servers and two partitions ( one is /vicepa and the other is /usr/afs). The disk/partitons are visible through the SAN
on both servers and DRBD takes care about that.

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.

Perhaps IPsrcaddr can help.

Thanks,

Dejan

....
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)
.....

We really appreciate any suggestion for solving the problem

Thanks in advance

cristina
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to