source: trunk/athena/lib/zephyr/OPERATING @ 10434

Revision 10434, 2.8 KB checked in by ghudson, 27 years ago (diff)
Mention not to give the loopback address as an argument to zhm.
Line 
1This file explains how to operate a Zephyr service once you have
2installed Zephyr on all the relevant machines and file servers in your
3environment.  To learn how to configure, build, and install Zephyr,
4read the file INSTALL.
5
6To set up Zephyr service at a site, follow these steps:
7
81. Choose the machines you wish to have act as Zephyr servers at your
9site.  Expect the server to be CPU-efficient but to consume a bit more
10memory than you might expect (at MIT, with around a thousand
11simultaneous users, the Zephyr server's data size is 40MB).  If you
12have a lot of users, the server should have enough memory so that the
13process doesn't swap.
14
152a. If you configured Zephyr with Hesiod support, make sure your
16Hesiod realm has a "zephyr.sloc" entry containing a record for each
17server.  (Each entry should contain the name of the server, nothing
18else.)  The Zephyr servers will use the zephyr.sloc entry to find the
19other servers.  Host managers will use the zephyr.sloc entry to find
20the Zephyr servers by default; however, you can control the set of
21servers for each host manager by giving each host a
22"<hostname>.cluster" entry containing a record "zcluster <serverset>".
23If such a record is found, the host manager will resolve
24"<serverset>.sloc" instead of "zephyr.sloc".
25
262b. If you configured Zephyr without Hesiod support, and you have
27multiple Zephyr servers, each server should have a file "server.list"
28in the configuration directory (which is /etc/athena/zephyr if you
29configured with --enable-athena, or /usr/local/etc/zephyr if you
30installed Zephyr in /usr/local and didn't use --enable-athena).  This
31file should contain a list of the servers, one per line.
32
333. If you configured Zephyr with Kerberos 4 support, make a service
34key "zephyr.zephyr@<your realm>" and install a srvtab for that service
35as "srvtab" in the configuration directory of each of your zephyr
36servers.
37
384. Start zephyrd from the system binary directory (/usr/athena/etc if
39you configured with --enable-athena, /usr/local/sbin if you installed
40in /usr/local and didn't use --enable-athena).  zephyrd logs as
41service "local6"; watch the syslogs for error messages.  Arrange for
42zephyrd to be run at boot time on your server machines.
43
445. Each client machine should run zhm (the Zephyr Host Manager) from
45the local system binary directory (/etc/athena for --enable-athena,
46/usr/local/sbin if you installed in /usr/local and didn't use
47--enable-athena).  If you built Zephyr without Hesiod support, you
48should start zhm as "zhm server1 server2 server3 ..." so that zhm
49knows where the Zephyr servers are.  Do not use "localhost" or
50"127.0.0.1" as a server name, or zhm will become confused.
51
52You can send a SIGFPE signal to the server process to make it dump its
53subscription database to /var/tmp/zephyr.db.  (If /var/tmp didn't
54exist when Zephyr was built, the subscription database will be dumped
55in /usr/tmp or /tmp instead.)
Note: See TracBrowser for help on using the repository browser.