[OpenAFS] Cell migration
Gérald Macinenti
gerald.macinenti@letitwave.fr
Sun, 01 Jul 2007 13:01:54 +0200
This is a cryptographically signed message in MIME format.
--------------ms080907090302010603040703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable
Christopher D. Clausen a =E9crit :
> G=E9rald Macinenti <gerald.macinenti@letitwave.fr> wrote:
>> Christopher D. Clausen a =E9crit :
>>> G=E9rald Macinenti <gerald.macinenti@letitwave.fr> wrote:
>> yes, this is the best way to describe it, two differents servers with
>> just happen to have the same cell name, my goal is to replace the old
>> by the new one, so I kept the cell name
>>
>>> The correct solution would be to make both servers members of the
>>> same cell by copying the KeyFile from the original one to the new
>>> one. And then restart the server processes and vos move from one to
>>> the other.
>> but both servers have there own root.cell, wouldn't it be an issue?
>> and then which vldb would retain the information of moving the volume
>> ? and concerning the Keyfile: both servers use their own kerberos
>> server (as I migrate this one in the process too)
>=20
> Are the root.cell volumes different between the two servers? If you=20
> aren't doing a full migration, than copying data manually might be the=20
> best answer.
>=20
> Their own Kerberos server? What does that mean? You set up an=20
> additional Kerberos realm with the same name as well? Did you actuall=
y=20
> migrate the Kerberos KDC? Or did you just setup a new one?
>=20
>>> Is there a particular reason you don't want the two servers to
>>> communicate?
>> yes: the fear to render my old server unusable as I don't master all
>> the consequences of doing so ;)
>=20
> Adding a server with just an fs instance should not cause any problems.=
=20
> You will want to remove all volumes on the new server and follow the=20
> instructions for adding additional fileservers to a cell. Once the=20
> fileserver is up, vos move the data to it. You can then go through the=
=20
> process of adding this machine as a full AFS DB server to migrate your=20
> pt and vl databases from the old server. Once up, you can then remove=20
> things from the old server and change the IP address on the new one to=20
> match the IP address of the old one.
thank you for this solution, I will keep it in mind but for now I would=20
prefere a solution where I have two servers living side to side to be=20
100% sure that he new one is functional before directing clients to it
>=20
> Can I ask why you are doing this? Its going to be quite a hassle,=20
> especially if your cell only has a single AFS DB server. If you need t=
o=20
> keep the cell up while doing the migration, I'd stringly recomend havin=
g=20
> at least 3 AFS DB servers.
I do it because we want to completely upgrade this server (hardware,=20
Linux distribution and of course softwares versions) so I took the=20
options to build a new server from scratch and only migrate AFS data.
So the situation is I have two Kerberos/AFS with the same configuration,
but with AFS volumes (and vldb) only on the old one
>=20
> -----
>=20
> In theory, restoring the dumps should work. You need to ensure that th=
e=20
> PTS database is the same between the two servers as well. I don't know=
=20
> why fs sa is crashing, but I suspect it has something to do with two=20
> different cells having the same name. Are you sure your test client is=
=20
> pointed at the correct server? The server and clients have different=20
> CellServDB files.
yes I'm sure and the PTS database is an exact copy of the old one
would it be an option to simply rsync AFS partitions *.vol from the old=20
to the new server and then copy the vldb.* files from the old to the new=20
server ?
would it be another option to have a simple fileserver added to both=20
administrative servers (with the same cell name??) and migrate volumes=20
with a vos move from old to this fs then move from this fs to new?
Cheers
--=20
G=E9rald Macinenti - Admistrator
/ / ___ / /_ / _/ /_ | | / /___ __ _____
/ / / _ \/ __/ / // __/ | | /| / / __ `/ | / / _ \
/ /___/ __/ /_ _/ // /_ | |/ |/ / /_/ /| |/ / __/
/_____/\___/\__/ /___/\__/ |__/|__/\__,_/ |___/\___/
8-16, rue Paul-Vaillant-Couturier,
92240 Malakoff; FRANCE
Tel +33 1 4092 5454 - Fax +33 1 4092 5441 -
http://www.letitwave.fr
--------------ms080907090302010603040703
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJMzCC
AvQwggJdoAMCAQICEBe2Bzj6h8qHD63/kyDo/zowDQYJKoZIhvcNAQEFBQAwYjELMAkGA1UE
BhMCWkExJTAjBgNVBAoTHFRoYXd0ZSBDb25zdWx0aW5nIChQdHkpIEx0ZC4xLDAqBgNVBAMT
I1RoYXd0ZSBQZXJzb25hbCBGcmVlbWFpbCBJc3N1aW5n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