3 upclient - Initializes the client portion of the Update Server
10 S<<< B<upclient> <I<hostname>> >>> [B<-crypt>] [B<-clear>] S<<< [B<-t> <I<retry time>>] >>>
11 [B<-verbose>]* <I<dir>>+ [B<-help>]
18 The upclient command initializes the client portion of the Update
19 Server. In the conventional configuration, its binary file is located in
20 the F</usr/afs/bin> directory on a file server machine.
22 The upclient command is not normally issued at the command shell prompt
23 but rather placed into a file server machine's F</usr/afs/local/BosConfig>
24 file with the B<bos create> command. If it is ever issued at the command
25 shell prompt, the issuer must be logged onto a database server machine as
26 the local superuser C<root>.
28 The upclient process periodically checks that all files in each local
29 directory named by the I<dir> argument match the files in the
30 corresponding directory on the source machine named by the I<hostname>
31 argument. If a file does not match, the B<upclient> process requests the
32 source copy from the B<upserver> process running on the source machine.
34 By default, the B<upclient> process requests that the B<upserver> process
35 encrypt the data before transferring it. Use the B<-clear> flag to
36 request unencrypted transfer if appropriate. (The B<-crypt> flag
37 explicitly sets the default.)
39 In the conventional configuration, separate instances of the B<upclient>
40 process request data from the F</usr/afs/bin> and F</usr/afs/etc>
41 directories, except on machines for which the system control machine is
42 also the binary distribution machine for the machine's system type. The
43 conventional names for the separate instances are C<upclientbin> and
44 C<upclientetc> respectively.
46 The B<upclient> and B<upserver> processes always mutually authenticate,
47 whether or not the data they pass is encrypted; they use the key with the
48 highest key version number in the F</usr/afs/etc/KeyFile> file to
49 construct a server ticket for mutual authentication.
51 This command does not use the syntax conventions of the AFS command
52 suites. Provide the command name and all option names in full.
56 Do not use the Update Server to distribute the contents of the
57 F</usr/afs/etc> directory using the B<-clear> option. The contents of
58 this directory are sensitive.
66 Names either the cell's system control machine (if the requested directory
67 is F</usr/afs/etc>), or the binary distribution machine for the local
68 machine's CPU and operating system type (if the requested directory is
73 Requests the transfer of data from the upserver process in encrypted
74 form. This is the default; this flag just sets the default explicitly.
75 Do not use this flag with the B<-clear> flag.
79 Requests transfer of data from the B<upserver> process in unencrypted
80 form. Provide this flag or the B<-crypt> flag, but not both.
82 =item B<-t> <I<retry time>>
84 Specifies how often to check for changes in each specified directory, as a
85 number of seconds. If this argument is omitted, the default is C<300> (5
86 minutes). This argument determines the maximum amount of time it takes for
87 a change made on the source machine to propagate to this machine.
91 Writes a trace of the upclient process's operations on the standard output
92 stream, which usually corresponds to the machine console. Provide one,
93 two, or three instances of the flag; each additional instance generates
94 increasingly numerous and detailed messages.
98 Names each directory to check for modified files. The conventional choices
105 F</usr/afs/bin>, in which case the recommended name for the process
106 (assigned with the B<-instance> argument to the B<bos create> command) is
107 C<upclientbin>. The I<hostname> is the binary distribution machine for the
108 local machine's system type. You may wish to use the B<-clear> flag for
109 the F</usr/afs/bin> directory, since binaries are not particularly
110 sensitive and encrypting them takes system resources.
114 F</usr/afs/etc>, in which case the recommended name for the process
115 (assigned with the B<-instance> argument to the B<bos create> command) is
116 C<upclientetc>. The I<hostname> is the cell's system control machine. Use
117 the B<-crypt> flag for the F</usr/afs/etc> directory, since it contains
118 the F<KeyFile> file and other data vital to cell security.
124 Prints the online help for this command. All other valid options are
131 The following bos create command creates an C<upclientbin> process on the
132 machine C<fs4.example.com> that refers to the machine C<fs1.example.com> as the
133 source for the F</usr/afs/bin> directory (thus C<fs1.example.com> is the
134 binary distribution machine for machines of C<fs4.example.com>'s type). The
135 files in the F</usr/afs/bin> directory are distributed every 120 seconds.
136 The command requests transfer in unencrypted form.
138 % bos create -server fs4.example.com -instance upclientbin -type simple \
139 -cmd "/usr/afs/bin/upclient fs1.example.com -clear \
142 =head1 PRIVILEGE REQUIRED
144 The issuer must be logged in as the superuser C<root> on a file server
145 machine to issue the command at a command shell prompt. It is conventional
146 instead to create and start the process by issuing the B<bos create>
157 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
159 This documentation is covered by the IBM Public License Version 1.0. It was
160 converted from HTML to POD by software written by Chas Williams and Russ
161 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.