engine-shutdown
Terminates Watson™ Explorer Engine and all related serviced in an orderly fashion
Synopsis
engine-shutdown [-h|-help|-?| [-force] [-reason reason] [-quiet] [-yes]
Description
The engine-shutdown command is located in the bin subdirectory of a Watson Explorer Engine installation (on Microsoft operating systems, this command has the .exe file extension).
Executing this command with the -yes flag or by answering 'y' to all of its prompts initiates the Watson Explorer Engine shutdown process, which cleanly terminates all Watson Explorer Engine services, prevents these services from restarting, and prevents any other Watson Explorer Engine services from being started.
Options
- -h|-help|-? Display the command line help message and exit.
- -force Terminates all Watson Explorer Engine processes immediately, without waiting for those processes to terminate cleanly. Using this option can cause delays when restarting Watson Explorer Engine if crawls were in progress when Watson Explorer Engine was shut down. You should specify this option if you ware using the Collection Broker.
- -reason "reason" provides reason as the reason that Watson Explorer Engine was shut down, storing this information in files named maintenance-mode that are located in the top level and bin directories of /path/to/engine/installation. If you do not specify a reason, the default reason "The system administrator shutdown Engine" is used.
- -quiet Suppress standard messages and only display fatal error messages. Setting this flag implies -yes
- -yes Proceeds without prompting the user for confirmation.
Exit Status
- 0 - Command executed successfully
- 1 - Command encountered an error
- 2 - Usage requested by user
Note: On Linux systems, exit codes above 127 are returned by the shell. Consult
the documentation for the shell that you are using for more information.