-cmd /usr/lib/openafs/volserver \
-cmd /usr/lib/openafs/salvager -localauth
- For a file server, this is all you have to do.
+ For a file server, this is all you have to do. The above uses the
+ default fileserver options, however, which are not particularly
+ well-tuned for modern systems. afs-newcell uses the following
+ parameters from Harald Barth:
+
+ -p 23 -busyat 600 -rxpck 400 -s 1200 -l 1200 -cb 65535
+ -b 240 -vc 1200
+
+ If you want to add any additional fileserver options, enclose
+ /usr/lib/openafs/fileserver and the following options in double
+ quotes when giving the bos create command.
4. For database servers, also install openafs-dbserver and then use bos
addhost to add the new server to /etc/openafs/server/CellServDB:
use vars qw($admin $server $requirements_met $shutdown_needed);
my $rl = new Term::ReadLine('afs-newcell');
+# The default file server options are poor. Until they've been updated, use
+# the following from Harald Barth; it should be an improvement for most
+# people.
+my $fs_options = '-p 23 -busyat 600 -rxpck 400 -s 1200 -l 1200 -cb 65535'
+ . ' -b 240 -vc 1200';
+
=head1 NAME
afs-newcell - Set up initial database server for AFS cell
# Create a file server as well.
run("bos create $server fs fs"
- . " -cmd /usr/lib/openafs/fileserver"
+ . " -cmd '/usr/lib/openafs/fileserver $fs_options'"
. " -cmd /usr/lib/openafs/volserver"
. " -cmd /usr/lib/openafs/salvager -localauth");
unwind("bos delete $server fs -localauth");
* Include all of AFS's local XDR implementation in the build for
shlibafsrpc, fixing problems with undefined symbols in the PAM module
on AMD64.
+ * When creating a new file server in afs-newcell, use a set of tuning
+ flags from Harald Barth rather than relying on the defaults. This
+ doesn't help with general bos create; long term, the defaults need to
+ be fixed.
+ * Add a note in README.servers about fileserver tuning options.
* Update standards version to 3.7.2 (no changes required).
- --
+ -- Russ Allbery <rra@debian.org> Wed, 7 Jun 2006 12:01:28 -0700
openafs (1.4.1-2) unstable; urgency=low