Chapter 3. Administering Server Machines

Table of Contents

Summary of Instructions
Local Disk Files on a Server Machine
Binaries in the /usr/afs/bin Directory
Common Configuration Files in the /usr/afs/etc Directory
Local Configuration Files in the /usr/afs/local Directory
Replicated Database Files in the /usr/afs/db Directory
Log Files in the /usr/afs/logs Directory
Volume Headers on Server Partitions
The Four Roles for File Server Machines
Simple File Server Machines
Database Server Machines
Binary Distribution Machines
The System Control Machine
To locate database server machines
To locate the system control machine
To locate the binary distribution machine for a system type
Interpreting the Output from the bos status Command
Administering Database Server Machines
Replicating the OpenAFS Administrative Databases
Backing Up and Restoring the Administrative Databases
To back up the administrative databases
To restore an administrative database
Installing Server Process Software
Installing New Binaries
To install new server binaries
Reverting to the Previous Version of Binaries
To revert to the previous version of binaries
Displaying Binary Version Dates
To display binary version dates
Removing Obsolete Binary Files
To remove obsolete binaries
Displaying A Binary File's Build Level
To display an AFS binary's build level
Maintaining the Server CellServDB File
Distributing the Server CellServDB File
To display a cell's database server machines
To add a database server machine to the CellServDB file
To remove a database server machine from the CellServDB file
Managing Authentication and Authorization Requirements
Authentication versus Authorization
Controlling Authorization Checking on a Server Machine
To disable authorization checking on a server machine
To enable authorization checking on a server machine
Bypassing Mutual Authentication for an Individual Command
To bypass mutual authentication for bos, kas, pts, and vos commands
To bypass mutual authentication for fs commands
Adding or Removing Disks and Partitions
To add and mount a new disk to house AFS volumes
To unmount and remove a disk housing AFS volumes
Managing Server IP Addresses and VLDB Server Entries
To create or edit the server NetInfo file
To create or edit the server NetRestrict file
To display all server entries from the VLDB
To remove obsolete server entries from the VLDB
To change a server machine's IP addresses
Rebooting a Server Machine
To reboot a file server machine from its console
To reboot a file server machine remotely

This chapter describes how to administer an AFS server machine. It describes the following configuration information and administrative tasks:

To learn how to install and configure a new server machine, see the OpenAFS Quick Beginnings.

To learn how to administer the server processes themselves, see Monitoring and Controlling Server Processes.

To learn how to administer volumes, see Managing Volumes.

Summary of Instructions

This chapter explains how to perform the following tasks by using the indicated commands:

Install new binariesbos install
Examine binary check-and-restart timebos getrestart
Set binary check-and-restart timebos setrestart
Examine compilation dates on binary filesbos getdate
Restart a process to use new binariesbos restart
Revert to old version of binariesbos uninstall
Remove obsolete .BAK and .OLD versionsbos prune
List partitions on a file server machinevos listpart
Shutdown AFS server processesbos shutdown
List volumes on a partitionvos listvldb
Move read/write volumesvos move
List a cell's database server machinesbos listhosts
Add a database server machine to server CellServDB filebos addhost
Remove a database server machine from server CellServDB filebos removehost
Set authorization checking requirementsbos setauth
Prevent authentication for bos, pts, and vos commandsInclude -noauth flag
Prevent authentication for kas commandsInclude -noauth flag on some commands or issue noauthentication while in interactive mode
Display all VLDB server entriesvos listaddrs
Remove a VLDB server entryvos changeaddr
Reboot a server machine remotelybos exec reboot_command