Stopping and Removing Processes

You can stop a process by using the bos stop command to set its status flag to NotRun in both the BOS Server's memory and the BosConfig file. The process then appears as disabled in the output from the bos status command. The entry remains in the file, but it does not run again until you issue the bos start command, which changes its status flag to Run in both the memory and the BosConfig file. You can also issue the bos startup command to run the process by changing its status flag only in memory.

To halt a process temporarily (for example, to perform maintenance or make alterations to a configuration), use the bos shutdown command to change the process's status in the BOS Server's memory to NotRun. The effect is immediate and remains until you again change the memory state or until the BOS Server restarts, at which time it consults the BosConfig file and sets the memory state to match the information in the file.

After you stop a process with the bos stop command, you can remove it from the BosConfig file with the bos delete command. It then no longer appears in the output from the bos status command. You must use the bos stop command to stop a process (simple or cron) whose status is Run before you use the bos delete command to remove it from the BosConfig file. An error occurs if the status of a process being deleted is Run when the bos delete command is issued.

Caution: Do not temporarily stop a database server process on all machines simultaneously. This would make the database totally unavailable.

More:

Stopping Processes by Changing Their Status Flags to NotRun

Stopping Processes Temporarily

Removing Processes from the BosConfig File