Import Upstream version 1.8.5
[hcoop/debian/openafs.git] / doc / man-pages / pod8 / bos_shutdown.pod
CommitLineData
805e021f
CE
1=head1 NAME
2
3bos_shutdown - Stops a process without changing its status flag
4
5=head1 SYNOPSIS
6
7=for html
8<div class="synopsis">
9
10B<bos shutdown> S<<< B<-server> <I<machine name>> >>>
11 S<<< [B<-instance> <I<instances>>+] >>> [B<-wait>] S<<< [B<-cell> <I<cell name>>] >>>
12 [B<-noauth>] [B<-localauth>] [B<-help>]
13
14B<bos sh> S<<< B<-s> <I<machine name>> >>> S<<< [B<-i> <I<instances>>+] >>> [B<-w>]
15 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 shutdown> command stops, on the server machine named by the
23B<-server> argument, either
24
25=over 4
26
27=item *
28
29All of the currently running AFS server processes, except the BOS Server.
30
31=item *
32
33Only the processes specified by the B<-instance> argument.
34
35=back
36
37This command does not change a process's status flag in the
38F</usr/afs/local/BosConfig> file, but only in the BOS Server's memory. To
39stop a process and change its F<BosConfig> status flag, use the B<bos
40stop> command instead.
41
42Once stopped with this command, a process does not run again until an
43administrator starts it by using the B<bos start>, B<bos startup>, or
44B<bos restart> command, or until the BOS Server restarts (assuming that
45the process's F<BosConfig> status flag is C<Run>).
46
47=head1 OPTIONS
48
49=over 4
50
51=item B<-server> <I<machine name>>
52
53Indicates the server machine on which to stop processes. Identify the
54machine by IP address or its host name (either fully-qualified or
55abbreviated unambiguously). For details, see L<bos(8)>.
56
57=item B<-instance> <I<instances>>+
58
59Names each process to stop. Use the process name assigned with the
60B<-instance> argument to the B<bos create> command. The output from the
61B<bos status> command lists the names. Omit this argument to stop all
62processes other than the BOS Server.
63
64=item B<-wait>
65
66Delays the return of the command shell prompt until all processes actually
67stop. If this argument is omitted, the prompt returns almost immediately
68even if all processes are not stopped.
69
70=item B<-cell> <I<cell name>>
71
72Names the cell in which to run the command. Do not combine this argument
73with the B<-localauth> flag. For more details, see L<bos(8)>.
74
75=item B<-noauth>
76
77Assigns the unprivileged identity C<anonymous> to the issuer. Do not
78combine this flag with the B<-localauth> flag. For more details, see
79L<bos(8)>.
80
81=item B<-localauth>
82
83Constructs a server ticket using a key from the local
84F</usr/afs/etc/KeyFile> or F</usr/afs/etc/KeyFileExt> file.
85The B<bos> command interpreter presents the
86ticket to the BOS Server during mutual authentication. Do not combine this
87flag with the B<-cell> or B<-noauth> options. For more details, see
88L<bos(8)>.
89
90=item B<-help>
91
92Prints the online help for this command. All other valid options are
93ignored.
94
95=back
96
97=head1 EXAMPLES
98
99The following command stops all processes other than the BOS Server on the
100machine C<fs3.example.com>.
101
102 % bos shutdown fs3.example.com
103
104The following command stops the C<upserver> process (server portion of the
105Update Server) on the machine C<fs5.example.com>.
106
107 % bos shutdown -server fs5.example.com -instance upserver
108
109=head1 PRIVILEGE REQUIRED
110
111The issuer must be listed in the F</usr/afs/etc/UserList> file on the
112machine named by the B<-server> argument, or must be logged onto a server
113machine as the local superuser C<root> if the B<-localauth> flag is
114included.
115
116=head1 SEE ALSO
117
118L<BosConfig(5)>,
119L<KeyFile(5)>,
120L<KeyFileExt(5)>,
121L<UserList(5)>,
122L<bos(8)>,
123L<bos_create(8)>,
124L<bos_restart(8)>,
125L<bos_start(8)>,
126L<bos_startup(8)>,
127L<bos_status(8)>
128
129=head1 COPYRIGHT
130
131IBM Corporation 2000. <http://www.ibm.com/> All Rights Reserved.
132
133This documentation is covered by the IBM Public License Version 1.0. It was
134converted from HTML to POD by software written by Chas Williams and Russ
135Allbery, based on work by Alf Wachsmann and Elizabeth Cassell.