BOSSERVER(8) | AFS Command Reference | BOSSERVER(8) |
bosserver - Initializes the BOS Server
bosserver
[-noauth]
[-log]
[-enable_peer_stats]
[-auditlog <log path>]
[-audit-interface ( file | sysvmq )]
[-enable_process_stats]
[-allow-dotted-principals]
[-cores[=none|<path>]]
[-restricted]
[-rxmaxmtu <bytes>]
[-rxbind]
[-syslog[=<facility>]>]
[-transarc-logs]
[-pidfiles[=<path>]]
[-nofork]
[-help]
The bosserver command initializes the Basic OverSeer (BOS) Server (bosserver process). In the conventional configuration, the binary file is located in the /usr/lib/openafs directory on a file server machine.
The BOS Server must run on every file server machine and helps to automate file server administration by performing the following tasks:
The BOS Server is configured via the BosConfig configuration file. Normally, this file is managed via the bos command suite rather than edited directly. See the BosConfig(5) man page for the syntax of this file.
The BOS Server will rewrite BosConfig when shutting down, so changes made manually to it will be discarded. Instead, to change the BOS Server configuration only for the next restart of bosserver, create a file named /etc/openafs/BosConfig.new. If BosConfig.new exists when bosserver starts, it is renamed to /etc/openafs/BosConfig, removing any existing file by that name, before bosserver reads its configuration.
The BOS Server logs a default set of important events in the file /var/log/openafs/BosLog. To record the name of any user who performs a privileged bos command (one that requires being listed in the /etc/openafs/server/UserList file), add the -log flag. To display the contents of the BosLog file, use the bos getlog command.
The first time that the BOS Server initializes on a server machine, it creates several files and subdirectories in the local /usr/afs directory, and sets their mode bits to protect them from unauthorized access. Each time it restarts, it checks that the mode bits still comply with the settings listed in the following chart. A question mark indicates that the BOS Server initially turns off the bit (sets it to the hyphen), but does not check it at restart.
/usr/afs drwxr?xr-x /var/lib/openafs/backup drwx???--- /usr/lib/openafs drwxr?xr-x /var/lib/openafs/db drwx???--- /etc/openafs/server drwxr?xr-x /etc/openafs/server/KeyFile -rw????--- /etc/openafs/server/UserList -rw?????-- /var/lib/openafs/local drwx???--- /var/log/openafs drwxr?xr-x
If the mode bits do not comply, the BOS Server writes the following warning to the BosLog file:
Bosserver reports inappropriate access on server directories
However, the BOS Server does not reset the mode bits, so the administrator can set them to alternate values if desired (with the understanding that the warning message then appears at startup).
This command does not use the syntax conventions of the AFS command suites. Provide the command name and all option names in full.
The name of the pid files for "simple" BOS Server process types are the BOS Server instance name followed by ".pid".
The name of the pid files for "fs" and "dafs" BOS Server process types are the BOS Server type name, "fs" or "dafs", followed by the BOS Server core name of the process, followed by ".pid". The pid file name for the "fileserver" process is "fs.file.pid". The pid file name for the "volserver" is "fs.vol.pid".
BOS Server instance names are specfied using the bos create command. See bos_create for a description of the BOS Server process types and instance names.
The following command initializes the BOS Server and logs the names of users who issue privileged bos commands.
% bosserver -log
The issuer most be logged onto a file server machine as the local superuser "root".
BosConfig(5), BosLog(5), bos(8), bos_create(8), bos_exec(8), bos_getlog(8), bos_getrestart(8), bos_restart(8), bos_setrestricted(8), bos_shutdown(8), bos_start(8), bos_startup(8), bos_status(8), bos_stop(8)
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.
2021-01-14 | OpenAFS |