[OpenAFS] Re: HOWTO: multiple cells on a single machine

Adam Megacz megacz@cs.berkeley.edu
Sat, 27 May 2006 12:48:25 -0700


Derrick J Brashear <shadow@dementia.org> writes:
> OpenAFS RT ticket 32308 has a patch providing bound rx socket support
> for all the servers. It binds to a single IP address which is all
> addresses in NetInfo minus all in NetRestrict, if the -rxbind option
> is given.

Hrm, am I doing something wrong here?  I applied the -rxbind patch and
did the following:
  
  godel:/# cat /etc/openafs/server-local/NetInfo
  216.237.119.187
  
  godel:/# cat /etc/openafs/server-local/NetRestrict
  216.237.119.186
  
  godel:/# ps -ef | grep bosserver
  root     24108 24080  0 19:47 ?        00:00:00 grep bosserver
  
  godel:/# /usr/sbin/bosserver -rxbind
  
  godel:/# ps -ef | grep bosserver
  root     24118     1  0 19:47 ?        00:00:00 /usr/sbin/bosserver -rxbind
  root     24143 24080  0 19:47 ?        00:00:00 grep bosserver
  
  godel:/# netstat -lp | head -n 2; netstat -lp | grep bosserver
  Active Internet connections (only servers)
  Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name   
  udp        0      0 *:afs3-bos              *:*                                24118/bosserver     

Note the last line, where the process "bosserver" is binding to
*:afs-bos3 -- that is, it appears to be binding to all local IP's.

  - a

-- 
PGP/GPG: 5C9F F366 C9CF 2145 E770  B1B8 EFB1 462D A146 C380