[345] in Info-AFS_Redistribution
Re: Merging AFS cells.
daemon@ATHENA.MIT.EDU (Wallace Colyer)
Wed Oct 16 20:56:49 1991
Date: Wed, 16 Oct 1991 19:48:20 -0400 (EDT)
From: Wallace Colyer <wally+@andrew.cmu.edu>
To: Info-AFS@transarc.com
In-Reply-To: <wcz_fva00WD512XkIs@andrew.cmu.edu>
Excerpts from internet.info-afs: 16-Oct-91 Re: Merging AFS cells. Daniel
E. Lovinger@andre (1445)
> Christer Bernerus <bernerus@animal.cs.chalmers.se> writes:
> > I'd like to merge two AFS cells. Could someone briefly explain the
> > tricks to do it.
> > [...]
> How I would do it (foreach machine):
> * shutdown the to-be moved server (bos shutdown localhost)
> * copy /usr/afs/etc from a working server in the cell you want
> to move it to - this will get the KeyFile, Userlist,
> and ThisCell (the important things)
> [...]
> * "vos syncvldb <server-name>" once they come back up to sync
> the contents into the cell
> * done
You have be be very careful here that any volumes with the same name are
either renamed or removed before doing this. For example root.afs or
root.cell will exist on the fileserver of both cells so you would have a
conflict.
So I would rewrite Dan's list to:
* vos listvldb both cells and compare for comflicts.
* resolve conflicts (ie remove root.afs and root.cell from
the test cell). Rename any other conflicts.
* shutdown the to-be moved server (bos shutdown localhost)
* copy /usr/afs/etc from a working server in the cell you want
to move it to - this will get the KeyFile, Userlist,
and ThisCell (the important things)
* make sure that the BosConfig is correct - you probably don't
want them trying to come up as database servers also.
* reboot the machine - easiest way to cleanly restart the
bosserver.
* "vos syncvldb <server-name>" once they come back up to sync
the contents into the cell
Are there going to be any conflicts with volume numbers? If so you may
have to resolve those in the listvldb phase by dumping and restoring the
volumes to new names (actually we have a vol-copy routine which does
this).
-Wallace