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 using the systemd unit file bpragent in CentOS 7.x.
The following table describes the command-line interface (CLI) commands available for use with the Prime Cable Provisioning process watchdog.
Command |
Description |
---|---|
systemctl start bpragent |
Starts the Prime Cable Provisioning process watchdog, including all monitored processes. |
systemctl stop bpragent |
Stops the Prime Cable Provisioning process watchdog, including all monitored processes. |
systemctl restart bpragent |
Restarts the Prime Cable Provisioning process watchdog, including all monitored processes. |
systemctl status bpragent |
Gets the status of the Prime Cable Provisioning process watchdog, including all monitored processes. |
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.