mirror of
https://git.openafs.org/openafs.git
synced 2025-02-01 14:07:39 +00:00
126adfa9fd
FIXES 17226 always copy the group list on linux 2.6 (cherry picked from commit 0cea4432fcceff07103cb4df0eba9b5667ce1fa4)
Setting up a Debian OpenAFS Server These packages include binaries with FHS-compatible path names. Here is a map from AFS paths to FHS paths: /usr/afs/etc /etc/openafs/server /usr/afs/local /etc/openafs/server-local /usr/afs/db /var/lib/openafs/db /usr/afs/logs /var/log/openafs /usr/afs/bin /usr/lib/openafs Scripts are provided to configure a single database/file server. The afs-newcell script sets up the initial databases and configures bosserver. After running this script, get tokens in the cell and run the afs-rootvol script to populate the root volume and root.cell. A sample transcript of configuring an AFS cell can be found in /usr/share/doc/openafs-dbserver/configuration-transcript.txt.gz. This transcript assumes you are using MIT Kerberos and the openafs-krb5 package. Similar steps could be taken with Heimdal. Another issue is upgrades. It is likely that future versions of this package will install for example /usr/lib/openafs/fileserver.package instead of /usr/lib/openafs/fileserver. The postinst script will create links the actual binaries. Upgrades will not replace the old binaries, but a script will be provided to roll the links forward to the new versions. The intent is that people could install the new package on all their servers and then quickly move the links before restarting the bosserver. Adding Additional Servers If you decide one server is not enough, here is roughly what needs to happen: 1) Copy securely (using scp , encrypted Kerberized rcp or some other secure method) /etc/openafs/server to the new server. 2) Start a bosserver. 3) If the machine is to be a file server, create an fs instance using bos create. For file servers this is all you need to do. 4) For database servers, you also need to do a bos addhost on all servers (including the new server) to add the new server to /etc/openafs/server/CellServDB. Then create ptserver and vlserver instances.