[OpenAFS] is it possible to have two network cards?

Jeffrey Hutzelman jhutz@cmu.edu
Thu, 15 Jan 2004 11:50:13 -0500


On Thursday, January 15, 2004 10:12:19 -0600 Rogelio Baz=E1n Reyes=20
<rogbazan@santander.com.mx> wrote:

> Hi, we have to move our dbservers and file servers from one site to
> another...and thus, the ip adresses must change. The fileservers are not
> the problem....but the dbservers do. the question:
> is it possible to have two network cards, and have clients with its
> configuration file pointing to one address and others pointing to the new
> ip addresses? This is because all of our clients have their own
> configuration files, and we have at least 1000 clients. When the
> dbservers will move to the alternate site, the clients will not access
> afs service. Does anybody have any idea?

It's possible to have a dbserver with more than one network card, and you=20
can list all the addresses in the clients' CellServDB.  However, you need=20
to be careful which addresses you list in the server-side CellServDB (in=20
/usr/afs/etc or /etc/openafs/server, depending on your configuration).=20
There's a right way and a wrong way to configure them, and I can never=20
remember which is which.


However, you don't actually need to go through that mess to renumber your=20
dbservers.  If you have three dbservers and they're all moving, then you=20
have three old addresses and three new addresses, for a total of six.=20
Update your clients' configurations so that all six servers are listed.=20
Once the move is done, remove the old addresses.


You _can_ give clients configuration which lists only some of the=20
dbservers.  However, if you do that, and one of the servers that's not=20
listed becomes sync site, then that client will not be able to do any=20
updates.  To users the most noticeable affect will be that they can't=20
create or delete PTS groups or change PTS group memberships

-- Jeffrey T. Hutzelman (N3NHS) <jhutz+@cmu.edu>
   Sr. Research Systems Programmer
   School of Computer Science - Research Computing Facility
   Carnegie Mellon University - Pittsburgh, PA