Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / bos_restart.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3bos_restart - Restarts a server process
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<bos restart> S<<< B<-server> <I<machine name>> >>> S<<< [B<-instance> <I<instances>>+] >>>
11 [B<-bosserver>] [B<-all>] S<<< [B<-cell> <I<cell name>>] >>> [B<-noauth>]
12 [B<-localauth>] [B<-help>]
13
14B<bos res> S<<< B<-s> <I<machine name>> >>> S<<< [B<-i> <I<instances>>+] >>> [B<-b>]
15 [B<-a>] S<<< [B<-c> <I<cell name>>] >>> [B<-n>] [B<-l>] [B<-h>]
16
17=for html
18</div>
19
20=head1 DESCRIPTION
21
22The B<bos restart> command stops and immediately restarts server processes
23on the server machine named by the B<-server> argument. Indicate which
24process or processes to restart by providing one of the following
25arguments:
26
27=over 4
28
29=item *
30
31The B<-instance> argument names each AFS server process to stop and
32restart immediately, regardless of its status flag in the
33F</usr/afs/local/BosConfig> file. Do not include B<bosserver> in the list
34of processes; use the B<-bosserver> flag instead.
35
36=item *
37
38The B<-bosserver> flag stops all AFS server processes running on the
39machine, including the BOS Server. A new BOS Server starts immediately,
40and it starts a new instance of each process that is marked with the
41C<Run> status flag in the F<BosConfig> file.
42
43=item *
44
45The B<-all> flag stops all AFS server processes running on the machine,
46except the BOS Server, and immediately restarts the processes that are
47marked with the C<Run> status flag in the F<BosConfig> file.
48
49=back
50
51This command does not change a process's status flag in the F<BosConfig>
52file.
53
54=head1 OPTIONS
55
56=over 4
57
58=item B<-server> <I<machine name>>
59
60Indicates the server machine on which to restart each process. Identify
61the machine by IP address or its host name (either fully-qualified or
62abbreviated unambiguously). For details, see L<bos(8)>.
63
64=item B<-instance> <I<instances>>+
65
66Names each process to stop and then restart immediately regardless of its
67status flag setting. Use the process name assigned with the B<-instance>
68argument to the B<bos create> command. The output from the B<bos status>
69command lists the names. Provide this flag or one of the B<-bosserver> or
70B<-all> options, but do not combine them.
71
72=item B<-bosserver>
73
74Stops all AFS server processes running on the machine, including the BOS
75Server. A new BOS Server instance immediately starts, and starts all
76processes marked with the C<Run> status flag in the F<BosConfig>
77file. Provide this flag or one of the B<-instance> or B<-all> options, but
78do not combine them.
79
80=item B<-all>
81
82Stops all AFS server processes running on the machine other than the BOS
83Server, and immediately restarts the processes marked with the B<Run>
84status flag in the F<BosConfig> file. Provide this flag or one of the
85B<-instance> or B<-bosserver> options, but do not combine them.
86
87=item B<-cell> <I<cell name>>
88
89Names the cell in which to run the command. Do not combine this argument
90with the B<-localauth> flag. For more details, see L<bos(8)>.
91
92=item B<-noauth>
93
94Assigns the unprivileged identity C<anonymous> to the issuer. Do not
95combine this flag with the B<-localauth> flag. For more details, see
96L<bos(8)>.
97
98=item B<-localauth>
99
100Constructs a server ticket using a key from the local
101F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file.
102The B<bos> command interpreter presents the
103ticket to the BOS Server during mutual authentication. Do not combine this
104flag with the B<-cell> or B<-noauth> options. For more details, see
105L<bos(8)>.
106
107=item B<-help>
108
109Prints the online help for this command. All other valid options are
110ignored.
111
112=back
113
114=head1 EXAMPLES
115
116The following command stops and restarts all processes running on the
117machine C<fs3.example.com>, including the BOS Server.
118
119 % bos restart -server fs3.example.com -bosserver
120
121The following command stops and restarts all processes running on the
122machine C<fs5.example.com>, excluding the BOS Server.
123
124 % bos restart -server fs5.example.com -all
125
126The following command stops and restarts the Protection Server and Volume
127Location (VL) Server processes on the machine C<db3.example.com>:
128
129 % bos restart -server db3.example.com -instance ptserver vlserver
130
131=head1 PRIVILEGE REQUIRED
132
133The issuer must be listed in the F</usr/afs/etc/UserList> file on the
134machine named by the B<-server> argument, or must be logged onto a server
135machine as the local superuser C<root> if the B<-localauth> flag is
136included.
137
138=head1 SEE ALSO
139
140L<BosConfig(5)>,
141L<KeyFile(5)>,
142L<KeyFileExt(5)>,
143L<UserList(5)>,
144L<bos(8)>,
145L<bos_create(8)>,
146L<bos_status(8)>
147
148=head1 COPYRIGHT
149
150IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
151
152This documentation is covered by the IBM Public License Version 1.0. It was
153converted from HTML to POD by software written by Chas Williams and Russ
154Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.