[OpenAFS] removing IP addresses

Dexter 'Kim' Kimball dhk@ccre.com
Tue, 19 Jul 2005 15:01:12 -0600

Did you try vos changeaddr?


     -----Original Message-----
     From: openafs-info-admin@openafs.org=20
     [mailto:openafs-info-admin@openafs.org] On Behalf Of Lester Barrows
     Sent: Tuesday, July 19, 2005 1:21 PM
     To: openafs-info@openafs.org
     Subject: Re: [OpenAFS] removing IP addresses
     Hi Brian,
     We have a similar configuration at our AFS cell. What=20
     we've done is set up=20
     separate CellServDB files for clients on the non-routable=20
     network which point=20
     to the non-routable volserver IP. We also added several=20
     "fs setserverprefs"=20
     lines to the init scripts (at the end of the start()=20
     method) to cause the=20
     clients to prefer the volume locators and file servers we=20
     want them to talk=20
     to. It's a bit of a kludge, but none of the other methods=20
     we've found have=20
     worked to any degree of satisfaction.
     On Monday 18 July 2005 19:37, Brian May wrote:
     > Hello,
     > How do I remove IP addresses from the output of "vos listaddrs"?
     > I setup my server when I was still learning AFS, and=20
     wasn't aware of the
     > NetInfo file at the time.
     > I have tried:
     > * Changing NetInfo and restarting, but it doesn't help.
     > * vos changeaddr $addr -remove -localauth -verbose
     >   but it complains it is in use by the vldb.
     > * Delete the sysid file and restart the server. As per:
     >  =20
>   No change.
> * Dodgy instructions in
> =20
> =
> didn't help.
> Obviously these are wrong for various reasons, but what is the correct
> way?
> I haven't tried:
> * removing the other interfaces, because they are used by other
>   processes.
> * Move all volumes to somewhere else (would another partition be
>   sufficient?), delete the addresses, and then move then back again
>   (would this help?). This seems excessive.
> The problem is some of these addresses are private IP addresses and
> cannot be accessed from outside my private network. As such I don't =
> the fileserver advertising these addresses to clients outside my
> network. It causes the client to take ages to start while it tries the
> internal addresses first.
> It also lists every public IP address my machine has, I only want
> OpenAFS on one of these IP addresses, not every one. This in turn =
> allow tighter firewall controls.
OpenAFS-info mailing list