Troubleshoot Optic Management Toolkit


This page will help enable and collect the correct logs based upon the product area which needs further analysis.


The CDF Doctor can be used to perform a series of diagnostic checks at the cluster and node level
On any node, run the following command to perform the diagnostic checks:
- $CDF_HOME/tools/cdf-doctor/cdf-doctor cluster check

CDF doctor can be used to generate a dump file containing cluster and node information.
On any node run the following command to generate a dump file:
- $CDF_HOME/tools/cdf-doctor/cdf-doctor cluster dump

You can configure the parameters that can configure certain diagnostic checks.
To configure diagnostic check parameters, edit the following file:
- $CDF_HOME/tools/cdf-doctor/cfg/checkpoint_cdf.json

Default: $CDF_HOME = /opt/cdf/bin

Stop:
Stop kubernetes CDF node (worker or master)
- $CDF_HOME/bin/kube-stop.sh
add the -u option, if you dont want to drain the running node

Start:
Start kubernetes CDF node (worker or master)
- $CDF_HOME/bin/kube-start.sh

Restart:
Restart kubernetes CDF node (worker or master)
- $CDF_HOME/bin/kube-restart.sh
add the -u option, if you dont want to drain the running node
Status:
Check and display the styatus of the kubernetes cluster
- $CDF_HOME/bin//kube-status.sh