I have upgraded my cell from OpenAFS 1.6 into AuriStorFS, like 1.8, with the help of the company and I am happy. So somethings apply, others do not.
On Sun, Nov 10, 2024 at 11:12:28AM +0100, Hirste wrote: > Hi all, > > I have to update an existing single server installation from 1.6. to 1.8. > > A brief overview of the situation: > > Existing Machine: Ubuntu Xenial, AFS Version 1.6.23 (through PPA) =afsA > > Target Machine: Ubuntu Noble with AFS Version 1.8.10 (from Distro Repo) afsB > > The Data ar provided via a handful of vdisks, each beeing a single AFS > volume, summing up to +3 TB. > > Clients: Ubuntu Focal, AFS Client Version 1.8.10 (through PPA, ugly Kerberos > hack to allow weak crypto) > > This is an inherited setup, I would describe my AFS abilities and knowledge > as weak / not to good. > > > What I would have done without advise or help: > > Setup the new server, add vdisks as the origin machine has, rsyncing the > data, repointing DNS entries > so that no changes on the clients are needed (some of them beeing road > warriors on laptops), demoting afsA. > > This will lead to a significant downtime since rsync will take its time. > Since there are no changes in Client Configuration > there could ba an easy way back. > > > Instead I think it would be better to > > * add afsB to the existing cell (beeing only an additional file server) > * Migrating the AFS Volumes in an AFS manner to afsB (does this work > online?) Yes, specially if the volumes are not big or with heavy writes. Your clients will see small delays only. > * move the other AFS roles (database server, binary distribution > machine, system control machine) > from afsA to afsB Too much complex. Instead demote afsA as file server, and keep it as afs database server. Downgrade the hardware of afsA, as a database server does not need much resources. What it need is to be 100% available. If you do not have, add two more afs database servers. The recommendation is to have three. With 3 database servers you can temporarily loose one of them and the cell will keep working. > * demote afsA Upgrade afsA as a database server from 1.6 into 1.8. Do your best to remove the hack that allow weak crypto. There is no need for it on the last 1.6 versions or 1.8. Consider to buy commercial support, IMHO this list now have very litle traffic to be a reliable source of help. I have much more to talk about your upgrade and there will be some traps, specially for some one without experience. > > I am currently reading and trying to understand > https://docs.openafs.org/AdminGuide but would appreciate > help from experienced users. > > Is it possible to have mixed fileserver versions ( 1.6 vs. 1.8) in a Cell? > What are caveats? > Is there a better strategy with less risk to migrate the server? > > Appreciate any help and advise. > > Hirste > > > > > Kind regards Jose M Calhariz -- -- Cachorro mordido de cobra tem medo até de lingüíça. --Rubens Morais
signature.asc
Description: PGP signature
