On Wed, 17 Aug 2005, Russ Allbery wrote:
I'll send a more detailed response later today or tomorrow, but I've now
read through this in detail and wanted to give you first impressions.
You've found what looks like one serious bug, which I'll fix, related to
setting up the server CellServDB. That fix will be in the next release; I
think I understand what the problem was.
Most of the rest of the comments are, I think, because there isn't an
overview and guide to accompany the transcript. I've spent some time this
morning writing one, and while it's not completely finished yet, here's
the first draft of the part on setting up a new cell. I think this would
have answered a lot of your questions. This too will be in the next
release.
Hi,
Thanks for taking the time to write this guide. I think the explanations
are very useful.
Let me just clarify something. When I saw the error I reported, I was able
to 'fix' it, and then proceed; however the process shortly after bombed at
the 'vos create' step.
It is entirely possible that my 'fix' was not actually a fix and
introduced other errors. In any case, it would be good if you could tell
me how I need to patch the Debian afs config scripts to fix the problem
with CellServDB, because then I can test the modified version and report
if I run into any further problems. Note I'm using the sarge version,
though I can, of course, use a more recent version if you prefer.
In regard to the guide below, it seems reasonably clear, however, I think
it would still be nice to provide an explicit transcript, to the extent
practicable, so people have something to compare to. I realise you can't
cover all the options, but perhaps just the basic ones?
Creating a New Cell
For documentation on adding a server to an existing cell, see below.
These instructions assume that you are using MIT Kerberos and the
openafs-krb5 package. If you are using Heimdal instead, some of the
steps will be slightly different (Heimdal can write the AFS KeyFile
directly, for example, so you don't have to use asetkey). The
afs-newcell and afs-rootvol scripts are the same, however.
/usr/share/doc/openafs-dbserver/configuration-transcript.txt.gz has a
transcript of the results of these directions, which you may want to
follow along with as you do this.
1. If you do not already have a Kerberos KDC configured, do so. You
It would be nice to say what a KDC is here, or at least spell out the
acronym.
7. Create some space to use for AFS volumes. You can set up a separate
AFS file server on a different system from the Kerberos KDC and AFS
db server, and for a larger cell you will want to do so, but when
getting started you can make the db server a file server as well.
For a production cell, you will want to create a separate partition
devoted to AFS and mount it as /vicepa (and may want to make
multiple partitions mounted as /vicepb, /vicepc, etc.), but for
testing purposes, you can use the commands below to create a
zero-filled file, create a file system in it, and then mount it:
dd if=/dev/zero of=/var/lib/openafs/vicepa bs=1024k count=32
mke2fs /var/lib/openafs/vicepa
[snip]
Minor point, but wouldn't it be better to make an ext3 partition here?
I'll provide more comments once I actually work through this. But I'll
wait on your fix before I do that.
Thanks again. Faheem.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]