Debug cPCE and cPCEP Adaptor
Troubleshooting is a systematic approach to solving a problem. The goal of troubleshooting is to determine why something does not work as expected and how to resolve the problem.
Troubleshooting Container
You can implement various docker commands to monitor and troubleshoot issues at container level when cPCE is deployed as a docker container.
-
docker ps
: List out active containers and their state. -
docker stats
: Continuous monitor the resource utilization. -
docker logs
: Extract container logs in case the container terminates unexpectedly. -
docker stop
: Stop the Docker from the current state. -
docker start
: Restart the Docker container.
Verify Docker
Verify Reachability of cPCE Bash Shell
Verify Sample outputs from cPCE
Verify Reachability from R1
Verify Sample Outputs from cPCEPAdaptor
Verify Sample Outputs from R1
View Trace Files
Restart cPCEPAdaptor
root@CPCE1-pcepAdaptor# run restart
pceserver
Pce Server Daemon started, pid 24564