Using Prime Cable Provisioning Process Watchdog from CLI
The Prime Cable Provisioning process watchdog automatically starts whenever the system boots up. Consequently, this watchdog also starts those Prime Cable Provisioning system components installed on the same system. You can control the Prime Cable Provisioning watchdog through a simple command-line utility by running the /etc/init.d/bprAgent command.
The following table describes the command-line interface (CLI) commands available for use with the Prime Cable Provisioning process watchdog.
Command |
Description |
---|---|
bprAgent start |
Starts the Prime Cable Provisioning process watchdog, including all monitored processes. |
bprAgent stop |
Stops the Prime Cable Provisioning process watchdog, including all monitored processes. |
bprAgent restart |
Restarts the Prime Cable Provisioning process watchdog, including all monitored processes. |
bprAgent status |
Gets the status of the Prime Cable Provisioning process watchdog, including all monitored processes. |
bprAgent start process-name |
Starts one particular monitored process. The value process-name identifies that process. |
bprAgent stop process-name |
Stops one particular monitored process. The value process-name identifies that process. |
bprAgent restart process-name |
Restarts one particular monitored process. The value process-name identifies that process. |
bprAgent status process-name |
Gets the status of one particular monitored process. The value process-name identifies that process. The process-name mentioned in this table can be: rdu, pws, dpe, kdc, snmpAgent, adminui or cli(for DPE CII). |
When the operating system (Linux) is rebooted, the Prime Cable Provisioning process watchdog is first stopped, allowing Prime Cable Provisioning servers to shut down properly. To shut down or reboot the operating system gracefully, use the init 6 command.
The reboot command does not execute application shutdown hooks and kills Prime Cable Provisioning processes rather than shutting them down. While this action is not harmful to Prime Cable Provisioning, it may delay server start-up and skew certain statistics and performance counters.
The events that trigger an action in the Prime Cable Provisioning watchdog daemon, including process crashes and restarts, are logged in a log file, BPR_DATA/agent/logs/agent.log. The watchdog daemon also logs important events to syslog under the standard local6 facility.