logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

bos_shutdown - Stops a process without changing its status flag

Description

       The bosshutdown command stops, on the server machine named by the -server argument, either

       •   All of the currently running AFS server processes, except the BOS Server.

       •   Only the processes specified by the -instance argument.

       This  command does not change a process's status flag in the /etc/openafs/BosConfig file, but only in the
       BOS Server's memory. To stop a process and change its BosConfig status flag, use  the  bosstop  command
       instead.

       Once  stopped  with  this command, a process does not run again until an administrator starts it by using
       the bosstart, bosstartup, or bosrestart command, or until the BOS Server restarts (assuming  that  the
       process's BosConfig status flag is "Run").

Examples

       The following command stops all processes other than the BOS Server on the machine "fs3.example.com".

          % bos shutdown fs3.example.com

       The following command stops the "upserver" process (server portion of the Update Server) on  the  machine
       "fs5.example.com".

          % bos shutdown -server fs5.example.com -instance upserver

Name

       bos_shutdown - Stops a process without changing its status flag

Options

-server <machinename>
           Indicates  the  server  machine on which to stop processes. Identify the machine by IP address or its
           host name (either fully-qualified or abbreviated unambiguously). For details, see bos(8).

       -instance <instances>+
           Names each process to stop. Use the process name assigned with the  -instance  argument  to  the  boscreate  command.  The  output from the bosstatus command lists the names. Omit this argument to stop
           all processes other than the BOS Server.

       -wait
           Delays the return of the command shell prompt until all processes actually stop. If this argument  is
           omitted, the prompt returns almost immediately even if all processes are not stopped.

       -cell <cellname>
           Names  the  cell  in which to run the command. Do not combine this argument with the -localauth flag.
           For more details, see bos(8).

       -noauth
           Assigns the unprivileged identity "anonymous" to the issuer.  Do  not  combine  this  flag  with  the
           -localauth flag. For more details, see bos(8).

       -localauth
           Constructs   a   server   ticket   using   a   key  from  the  local  /etc/openafs/server/KeyFile  or
           /etc/openafs/server/KeyFileExt file.  The bos command interpreter presents  the  ticket  to  the  BOS
           Server  during mutual authentication. Do not combine this flag with the -cell or -noauth options. For
           more details, see bos(8).

       -help
           Prints the online help for this command. All other valid options are ignored.

Privilege Required

       The  issuer  must  be listed in the /etc/openafs/server/UserList file on the machine named by the -server
       argument, or must be logged onto a server machine as the local superuser "root" if the -localauth flag is
       included.

See Also

BosConfig(5),   KeyFile(5),   KeyFileExt(5),   UserList(5),   bos(8),   bos_create(8),    bos_restart(8),
       bos_start(8), bos_startup(8), bos_status(8)

Synopsis

bosshutdown-server <machinename>
           [-instance <instances>+] [-wait] [-cell <cellname>]
           [-noauth] [-localauth] [-help]

       bossh-s <machinename> [-i <instances>+] [-w]
           [-c <cellname>] [-n] [-l] [-h]

See Also