3 bos restart - Restarts a server process
7 B<bos restart> B<-server> <I<machine name>> [B<-instance> <I<instances>>+]
8 [B<-bosserver>] [B<-all>] [B<-cell> <I<cell name>>] [B<-noauth>]
9 [B<-localauth>] [B<-help>]
11 B<bos res> B<-s> <I<machine name>> [B<-i> <I<instances>>+] [B<-b>]
12 [B<-a>] [B<-c> <I<cell name>>] [B<-n>] [B<-l>] [B<-h>]
16 The B<bos restart> command stops and immediately restarts server processes
17 on the server machine named by the B<-server> argument. Indicate which
18 process or processes to restart by providing one of the following
25 The B<-instance> argument names each AFS server process to stop and
26 restart immediately, regardless of its status flag in the
27 F</usr/afs/local/BosConfig> file. Do not include B<bosserver> in the list
28 of processes; use the B<-bosserver> flag instead.
32 The B<-bosserver> flag stops all AFS server processes running on the
33 machine, including the BOS Server. A new BOS Server starts immediately,
34 and it starts a new instance of each process that is marked with the
35 C<Run> status flag in the F<BosConfig> file.
39 The B<-all> flag stops all AFS server processes running on the machine,
40 except the BOS Server, and immediately restarts the processes that are
41 marked with the C<Run> status flag in the F<BosConfig> file.
45 This command does not change a process's status flag in the F<BosConfig>
52 =item B<-server> <I<machine name>>
54 Indicates the server machine on which to restart each process. Identify
55 the machine by IP address or its host name (either fully-qualified or
56 abbreviated unambiguously). For details, see L<bos(8)>.
58 =item B<-instance> <I<instances>>+
60 Names each process to stop and then restart immediately regardless of its
61 status flag setting. Use the process name assigned with the B<-instance>
62 argument to the B<bos create> command. The output from the B<bos status>
63 command lists the names. Provide this flag or one of the B<-bosserver> or
64 B<-all> options, but do not combine them.
68 Stops all AFS server processes running on the machine, including the BOS
69 Server. A new BOS Server instance immediately starts, and starts all
70 processes marked with the C<Run> status flag in the F<BosConfig>
71 file. Provide this flag or one of the B<-instance> or B<-all> options, but
76 Stops all AFS server processes running on the machine other than the BOS
77 Server, and immediately restarts the processes marked with the B<Run>
78 status flag in the F<BosConfig> file. Provide this flag or one of the
79 B<-instance> or B<-bosserver> options, but do not combine them.
81 =item B<-cell> <I<cell name>>
83 Names the cell in which to run the command. Do not combine this argument
84 with the B<-localauth> flag. For more details, see L<bos(8)>.
88 Assigns the unprivileged identity C<anonymous> to the issuer. Do not
89 combine this flag with the B<-localauth> flag. For more details, see
94 Constructs a server ticket using a key from the local
95 F</usr/afs/etc/KeyFile> file. The B<bos> command interpreter presents the
96 ticket to the BOS Server during mutual authentication. Do not combine this
97 flag with the B<-cell> or B<-noauth> options. For more details, see
102 Prints the online help for this command. All other valid options are
109 The following command stops and restarts all processes running on the
110 machine C<fs3.abc.com>, including the BOS Server.
112 % bos restart -server fs3.abc.com -bosserver
114 The following command stops and restarts all processes running on the
115 machine C<fs5.abc.com>, excluding the BOS Server.
117 % bos restart -server fs5.abc.com -all
119 The following command stops and restarts the Protection Server and Volume
120 Location (VL) Server processes on the machine C<db3.abc.com>:
122 % bos restart -server db3.abc.com -instance ptserver vlserver
124 =head1 PRIVILEGE REQUIRED
126 The issuer must be listed in the F</usr/afs/etc/UserList> file on the
127 machine named by the B<-server> argument, or must be logged onto a server
128 machine as the local superuser C<root> if the B<-localauth> flag is
142 IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
144 This documentation is covered by the IBM Public License Version 1.0. It was
145 converted from HTML to POD by software written by Chas Williams and Russ
146 Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.