2005-12-08 12:14:33 +00:00
|
|
|
=head1 NAME
|
|
|
|
|
|
|
|
upclient - Initializes the client portion of the Update Server
|
|
|
|
|
|
|
|
=head1 SYNOPSIS
|
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
<div class="synopsis">
|
|
|
|
|
|
|
|
S<<< B<upclient> <I<hostname>> >>> [B<-crypt>] [B<-clear>] S<<< [B<-t> <I<retry time>>] >>>
|
2005-12-13 19:21:13 +00:00
|
|
|
[B<-verbose>]* <I<dir>>+ [B<-help>]
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2006-03-01 05:02:29 +00:00
|
|
|
=for html
|
|
|
|
</div>
|
|
|
|
|
2005-12-08 12:14:33 +00:00
|
|
|
=head1 DESCRIPTION
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The upclient command initializes the client portion of the Update
|
|
|
|
Server. In the conventional configuration, its binary file is located in
|
|
|
|
the F</usr/afs/bin> directory on a file server machine.
|
|
|
|
|
|
|
|
The upclient command is not normally issued at the command shell prompt
|
|
|
|
but rather placed into a file server machine's F</usr/afs/local/BosConfig>
|
|
|
|
file with the B<bos create> command. If it is ever issued at the command
|
|
|
|
shell prompt, the issuer must be logged onto a database server machine as
|
|
|
|
the local superuser C<root>.
|
|
|
|
|
|
|
|
The upclient process periodically checks that all files in each local
|
|
|
|
directory named by the I<dir> argument match the files in the
|
|
|
|
corresponding directory on the source machine named by the I<hostname>
|
|
|
|
argument. If a file does not match, the B<upclient> process requests the
|
|
|
|
source copy from the B<upserver> process running on the source machine.
|
|
|
|
|
|
|
|
By default, the B<upclient> process requests that the B<upserver> process
|
|
|
|
encrypt the data before transferring it. Use the B<-clear> flag to
|
|
|
|
request unencrypted transfer if appropriate. (The B<-crypt> flag
|
|
|
|
explicitly sets the default.)
|
|
|
|
|
|
|
|
In the conventional configuration, separate instances of the B<upclient>
|
|
|
|
process request data from the F</usr/afs/bin> and F</usr/afs/etc>
|
|
|
|
directories, except on machines for which the system control machine is
|
|
|
|
also the binary distribution machine for the machine's system type. The
|
|
|
|
conventional names for the separate instances are C<upclientbin> and
|
|
|
|
C<upclientetc> respectively.
|
|
|
|
|
|
|
|
The B<upclient> and B<upserver> processes always mutually authenticate,
|
|
|
|
whether or not the data they pass is encrypted; they use the key with the
|
|
|
|
highest key version number in the F</usr/afs/etc/KeyFile> file to
|
|
|
|
construct a server ticket for mutual authentication.
|
|
|
|
|
|
|
|
This command does not use the syntax conventions of the AFS command
|
|
|
|
suites. Provide the command name and all option names in full.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-09 14:48:56 +00:00
|
|
|
=head1 CAUTIONS
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Do not use the Update Server to distribute the contents of the
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/etc> directory using the B<-clear> option. The contents of
|
|
|
|
this directory are sensitive.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 OPTIONS
|
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item <I<hostname>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Names either the cell's system control machine (if the requested directory
|
|
|
|
is F</usr/afs/etc>), or the binary distribution machine for the local
|
|
|
|
machine's CPU and operating system type (if the requested directory is
|
|
|
|
F</usr/afs/bin>).
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-crypt>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Requests the transfer of data from the upserver process in encrypted
|
|
|
|
form. This is the default; this flag just sets the default explicitly.
|
|
|
|
Do not use this flag with the B<-clear> flag.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-clear>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Requests transfer of data from the B<upserver> process in unencrypted
|
|
|
|
form. Provide this flag or the B<-crypt> flag, but not both.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-t> <I<retry time>>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
Specifies how often to check for changes in each specified directory, as a
|
2005-12-13 19:21:13 +00:00
|
|
|
number of seconds. If this argument is omitted, the default is C<300> (5
|
|
|
|
minutes). This argument determines the maximum amount of time it takes for
|
|
|
|
a change made on the source machine to propagate to this machine.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-verbose>*
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Writes a trace of the upclient process's operations on the standard output
|
|
|
|
stream, which usually corresponds to the machine console. Provide one,
|
|
|
|
two, or three instances of the flag; each additional instance generates
|
|
|
|
increasingly numerous and detailed messages.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item <I<dir>>+
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Names each directory to check for modified files. The conventional choices
|
|
|
|
are the following:
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=over 4
|
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/bin>, in which case the recommended name for the process
|
|
|
|
(assigned with the B<-instance> argument to the B<bos create> command) is
|
|
|
|
C<upclientbin>. The I<hostname> is the binary distribution machine for the
|
|
|
|
local machine's system type. You may wish to use the B<-clear> flag for
|
|
|
|
the F</usr/afs/bin> directory, since binaries are not particularly
|
|
|
|
sensitive and encrypting them takes system resources.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=item *
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
F</usr/afs/etc>, in which case the recommended name for the process
|
|
|
|
(assigned with the B<-instance> argument to the B<bos create> command) is
|
|
|
|
C<upclientetc>. The I<hostname> is the cell's system control machine. Use
|
|
|
|
the B<-crypt> flag for the F</usr/afs/etc> directory, since it contains
|
|
|
|
the F<KeyFile> file and other data vital to cell security.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
=item B<-help>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
Prints the online help for this command. All other valid options are
|
|
|
|
ignored.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=back
|
|
|
|
|
|
|
|
=head1 EXAMPLES
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The following bos create command creates an C<upclientbin> process on the
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
machine C<fs4.example.com> that refers to the machine C<fs1.example.com> as the
|
|
|
|
source for the F</usr/afs/bin> directory (thus C<fs1.example.com> is the
|
|
|
|
binary distribution machine for machines of C<fs4.example.com>'s type). The
|
2005-12-13 19:21:13 +00:00
|
|
|
files in the F</usr/afs/bin> directory are distributed every 120 seconds.
|
2005-12-08 12:14:33 +00:00
|
|
|
The command requests transfer in unencrypted form.
|
|
|
|
|
doc: replace hostnames with IETF example hostnames
There were several different real and made-up hostnames and company names used
throughout our documentation examples.
The IETF has reserved "example.com" and other "example" TLDs for use in
examples (RFC 2606). Replace almost all references to ABC Corporation, DEF
Corporation, and State University, as well as "abc.com", "bigcell.com",
"def.com", "def.gov", "ghi.com", "ghi.gov", "jkl.com", "mit.edu",
"stanford.edu", "state.edu", "stateu.edu", "uncc.edu", and "xyz.com".
Standardize on "Example Corporation", "Example Network", "Example
Organization" (example.com, example.net, and example.org).
The Scout documentation in the Admin Guide contains PNG images that contain
the old cell names, so I left those references until the images can be
replaced.
Change-Id: I4e44815b2d2ffe204810b7fd850842248f67c367
Reviewed-on: http://gerrit.openafs.org/6697
Reviewed-by: Jeffrey Altman <jaltman@secure-endpoints.com>
Tested-by: Jeffrey Altman <jaltman@secure-endpoints.com>
2012-02-11 16:43:30 +00:00
|
|
|
% bos create -server fs4.example.com -instance upclientbin -type simple \
|
|
|
|
-cmd "/usr/afs/bin/upclient fs1.example.com -clear \
|
2005-12-08 12:14:33 +00:00
|
|
|
-t 120 /usr/afs/bin"
|
|
|
|
|
|
|
|
=head1 PRIVILEGE REQUIRED
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
The issuer must be logged in as the superuser C<root> on a file server
|
|
|
|
machine to issue the command at a command shell prompt. It is conventional
|
|
|
|
instead to create and start the process by issuing the B<bos create>
|
|
|
|
command.
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 SEE ALSO
|
|
|
|
|
2005-12-13 19:21:13 +00:00
|
|
|
L<BosConfig(5)>,
|
|
|
|
L<bos_create(8)>,
|
|
|
|
L<upserver(8)>
|
2005-12-08 12:14:33 +00:00
|
|
|
|
|
|
|
=head1 COPYRIGHT
|
|
|
|
|
|
|
|
IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
|
|
|
|
|
|
|
|
This documentation is covered by the IBM Public License Version 1.0. It was
|
|
|
|
converted from HTML to POD by software written by Chas Williams and Russ
|
|
|
|
Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.
|