Administration Reference


[Return to Library] [Contents] [Previous Topic] [Bottom of Topic] [Next Topic] [Index]

upclient

Purpose

Initializes the client portion of the Update Server

Synopsis

upclient <hostname>  [-crypt]  [-clear]  [-t <retry time>]
         [-verbose]*  <dir>+  [-help]

This command does not use the syntax conventions of the AFS command suites. Provide the command name and all option names in full.

Description

The upclient command initializes the client portion of the Update Server. In the conventional configuration, its binary file is located in the /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 /usr/afs/local/BosConfig file with the 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 root.

The upclient process periodically checks that all files in each local directory named by the dir argument match the files in the corresponding directory on the source machine named by the hostnameargument. If a file does not match, the upclient process requests the source copy from the upserver process running on the source machine.

By default, the upclient process in the United States edition of AFS requests that the upserver process encrypt the data before transferring it, whereas in the international edition it requests unencrypted transfer. If using the United States edition, use the -clear flag to request unencrypted transfer if appropriate. (The -crypt flag explicitly sets the default in the United States edition, and is not available in the international edition.)

In the conventional configuration, separate instances of the upclient process request data from the /usr/afs/bin and /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 upclientbin and upclientetc respectively.

The upclient and 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 /usr/afs/etc/KeyFile file to construct a server ticket for mutual authentication.

Cautions

Do not use the Update Server to distribute the contents of the /usr/afs/etc directory if using the international edition of AFS. The contents of this directory are sensitive and the international edition of AFS does not include the encryption routines necessary for encrypting files before transfer across the network.

Options

hostname
Names either the cell's system control machine (if the requested directory is /usr/afs/etc), or the binary distribution machine for the local machine's CPU and operating system type (if the requested directory is /usr/afs/bin).

-crypt
Requests the transfer of data from the upserver process in encrypted form. With the United States edition of AFS, use this flag to set the default explicitly. Provide this flag or the -crypt flag, but not both.
Note:This flag is not available in the international edition of AFS.

-clear
Requests transfer of data from the upserver process in unencrypted form. Use this flag to change from the default for the United States edition of AFS. Provide this flag or the -crypt flag, but not both.

-t
Specifies how often to check for changes in each specified directory, as a number of seconds. If this argument is omitted, the default is 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.

-verbose
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.

dir
Names each directory to check for modified files. The conventional choices are the following:

-help
Prints the online help for this command. All other valid options are ignored.

Examples

The following bos create command creates an upclientbin process on the machine fs4.abc.com that refers to the machine fs1.abc.com as the source for the /usr/afs/bin directory (thus fs1.abc.com is the binary distribution machine for machines of fs4.abc.com's type). The files in the /usr/afs/bin directory are distributed every 120 seconds. The command requests transfer in unencrypted form.

   % bos create  -server fs4.abc.com -instance upclientbin -type simple   \
                 -cmd "/usr/afs/bin/upclient fs1.abc.com -clear  \
                 -t 120 /usr/afs/bin"
   

Privilege Required

The issuer must be logged in as the superuser 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 bos create command.

Related Information

BosConfig

bos create

upserver


[Return to Library] [Contents] [Previous Topic] [Top of Topic] [Next Topic] [Index]



© IBM Corporation 2000. All Rights Reserved