Troubleshoot Using the Paragon Shell CLI Commands
Read the following topics to understand how to use the Paragon Shell CLI commands to troubleshoot issues with your Paragon Automation cluster.
Overview
Paragon Automation enables you to troubleshoot Paragon Automation cluster-related issues using Paragon Shell CLI commands. To execute these Paragon Shell CLI troubleshooting commands, you must log in to any of the cluster nodes. When you execute these commands, a series of commands are executed one after the other.
The Paragon Shell CLI troubleshooting commands are:
Paragon Automation also enables you to debug issues by collecting data from the Redis database, Kafka messages, service logs, and the time series database (TSDB). These commands are not part of the Paragon Shell CLI troubleshooting commands, and must be run separately. See Other Troubleshooting Commands to Debug Issues for more information.
request paragon support information
The request paragon support information
command displays an
in-depth status report of your Paragon Automation cluster configuration.
The show
commands that are executed when you run the
request paragon support information
command are listed in
Table 1.
Command |
Description |
---|---|
Show node information of your Paragon Automation cluster. |
|
Show pod information of your Paragon Automation cluster. |
|
Show namespace information of your Paragon Automation cluster. |
|
Show storage and controller node information of your Paragon Automation cluster. |
|
Show the version of your Paragon Automation cluster. |
|
Show the version of pods in your Paragon Automation cluster. |
|
Show the top pods of the |
|
Show the top pods of the |
|
Show the persistent volume (PV) and persistent volume claim (PVC) information. |
The request paragon support information
command also runs many
kubectl
commands. These commands provide you debugging
information such as Helm deployment service information for the NorthStar
namespace, Kubernetes deployment information for api-aggregator service and so
on.
request paragon troubleshooting information
The request paragon troubleshooting information
command provides
troubleshooting information of the ems
,
foghorn
, insights
, paa
,
trust
, and pathfinder
Paragon Automation
services.
To view the list of available services, run the following command:
user@node> request paragon troubleshooting information service ? Possible completions: ems ems service foghorn foghorn service insights insights service paa paa service pathfinder pathfinder service trust trust service
When you run the request paragon troubleshooting information
command, a
troubleshooting_date_time.tar.gz
file is generated. You can share this file with the Juniper Technical Assistance Center (JTAC) for further evaluation.
This .tar.gz
file is saved in the
/root/troubleshooting/
directory.
The commands that are executed when you run the request paragon
troubleshooting information
command are listed in Table 2.
Command |
Description |
---|---|
|
Generate a log file of the |
Generate a log file of the |
|
|
Generate a log file of the |
|
Generate a log file of the |
|
Generate a log file of the |
|
Generate a log file of the |
|
Generate a log file of the |
Generate a text file (JSON format) with Postgres information. |
|
|
Generate a log file of the |
|
Generate a log file of the |
Generate a log file of the |
|
|
Generate a log file of the |
|
Generate a log file of the |
|
Generate a log file of the |
Generate a log file of the |
|
|
Generate a log file of the |
Generate a log file of the |
|
Generate a log file of the |
|
Generate a log file of the |
Other Troubleshooting Commands to Debug Issues
You can run commands to collect data from the Redis database, Kafka messages, service logs, and the time series database (TSDB). You can use this data to troubleshoot issues with your Paragon Automation cluster. These commands are not part of the Paragon Shell CLI troubleshooting commands, and must be run separately. Table 3 lists the commands.
Command |
Description |
---|---|
Kafka |
|
|
Display possible completions for the |
Generate an output file of Kafka messages for a topic for a specified period of time. |
|
Insights Kafka |
|
|
Display possible completions for the |
|
Display |
Redis |
|
|
Display possible completions for the |
Display Redis key pattern information for
|
|
|
Generate an output file of Redis key pattern information for
|
Service Logs |
|
|
Display possible completions for the |
|
Generate a log file for a service within a namespace for the specified time period. |
TSDB |
|
|
Display possible completions for the |
|
Generate an output file of TSDB data for a particular device. |
Postgres |
|
|
Display possible completions for the |
Generate an output file of the measurement value information of the Postgres database. |