Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Paragon シェル CLI コマンドを使用したトラブルシューティング

Paragon ShellのCLIコマンドを使用してParagon Automationクラスターの問題をトラブルシューティングする方法については、以下のトピックをお読みください。

概要

Paragon Automationでは、Paragon ShellのCLIコマンドを使用して、Paragon Automationクラスター関連の問題をトラブルシューティングできます。これらのParagon Shell CLIトラブルシューティングコマンドを実行するには、いずれかのクラスターノードにログインする必要があります。これらのコマンドを実行すると、一連のコマンドが次々と実行されます。

Paragon Shell CLIのトラブルシューティングコマンドは次のとおりです。

Paragon Automationでは、Redisデータベース、Kafkaメッセージ、サービスログ、時系列データベース(TSDB)からデータを収集することで、問題をデバッグすることもできます。これらのコマンドは、Paragon Shell CLIトラブルシューティングコマンドの一部ではないため、個別に実行する必要があります。詳細については、 問題をデバッグするためのその他のトラブルシューティングコマンド を参照してください。

サポート情報の請求

request support information コマンドは、Paragon Automationクラスターの詳細なステータスレポートを表示します。

request support information コマンドの実行時に実行される show コマンドは、表 1 にリストされています。

表 1: サポート情報の要求 コマンド

命令

形容

show paragon cluster nodes

Paragon Automationクラスターのノード情報を表示します。

show paragon cluster pods

Paragon Automationクラスターのポッド情報を表示します。

show paragon cluster namespaces

Paragon Automationクラスターの名前空間情報を表示します。

show paragon cluster details

Paragon Automationクラスターのストレージおよびコントローラーノード情報を表示します。

show paragon version

Paragon Automationクラスターのバージョンを表示します。

show paragon images version

Paragon Automationクラスター内のポッドのバージョンを表示します。

show paragon cluster pods namespace healthbot sort memory

healthbot名前空間の上位ポッドをメモリ使用率で並べ替えて表示します。

show paragon cluster pods namespace healthbot sort cpu

healthbot名前空間の上位ポッドを CPU 使用率で並べ替えて表示します。

show paragon pvc details

永続ボリューム (PV) と永続ボリューム要求 (PVC) の情報を表示します。

Paragonトラブルシューティング情報をリクエストする

request paragon troubleshooting information コマンドは、emsfoghorninsightspaatrust、および pathfinder Paragon Automation サービスのトラブルシューティング情報を提供します。

使用可能なサービスのリストを表示するには、次のコマンドを実行します。

request paragon troubleshooting information コマンドを実行すると、troubleshooting_date_time.tar.gzファイルが生成されます。このファイルは、ジュニパー技術支援センター(JTAC)と共有して、詳細な評価を受けることができます。この.tar.gzファイルは、/root/troubleshooting/ディレクトリに保存されます。

request paragon troubleshooting information コマンドの実行時に実行されるコマンドは、表 2 にリストされています。

表2:Request Paragonトラブルシューティング情報 コマンド

命令

形容

request paragon debug logs namespace healthbot service tsdb-shim

healthbot名前空間内のtsdb-shimサービスのログファイルを生成します。

request paragon debug logs namespace healthbot service tand

healthbot名前空間内のtandサービスのログファイルを生成します。

request paragon debug logs namespace healthbot service jtimon

healthbot名前空間内のjtimonサービスのログファイルを生成します。

request paragon debug logs namespace healthbot service config-server container config-server

healthbot名前空間内のconfig-serverサービスのログファイルを生成します。

request paragon debug logs namespace healthbot service api-server

healthbot名前空間内のapi-serverサービスのログファイルを生成します。

request paragon debug logs namespace healthbot service analytical-engine

healthbot名前空間内のanalytical-engineサービスのログファイルを生成します。

request paragon debug logs namespace healthbot service alerta

healthbot名前空間内のalertaサービスのログファイルを生成します。

request paragon debug postgres database postgres username healthbot measurement db_counters output file

Postgres 情報を含むテキスト ファイル (JSON 形式) を生成します。

request paragon debug logs namespace foghorn service order-management

foghorn名前空間内のorder-managementサービスのログファイルを生成します。

request paragon debug logs namespace foghorn service placement

foghorn名前空間内のplacementサービスのログファイルを生成します。

request paragon debug logs namespace foghorn service cmgd

foghorn名前空間内のcmgdサービスのログファイルを生成します。

request paragon debug logs namespace airflow service workflow-manager

airflow名前空間内のworkflow-managerサービスのログファイルを生成します。

request paragon debug logs namespace northstar service toposerver

northstar名前空間内のtoposerverサービスのログファイルを生成します。

request paragon debug logs namespace northstar service configmonitor

northstar名前空間内のconfigmonitorサービスのログファイルを生成します。

request paragon debug logs namespace northstar service web

northstar名前空間内のwebサービスのログファイルを生成します。

request paragon debug logs namespace northstar service api-aggregator

northstar名前空間内のapi-aggregatorサービスのログファイルを生成します。

request paragon debug logs namespace papi service oc-term

papi名前空間内のoc-termサービスのログファイルを生成します。

request paragon debug logs namespace papi service papi

papi名前空間内のpapiサービスのログファイルを生成します。

request paragon debug logs namespace papi service papi-ws

papi名前空間内のpapi-wsサービスのログファイルを生成します。

問題をデバッグするためのその他のトラブルシューティング コマンド

コマンドを実行して、Redis データベース、Kafka メッセージ、サービス ログ、時系列データベース (TSDB) からデータを収集できます。このデータを使用して、Paragon Automationクラスターの問題のトラブルシューティングを行うことができます。これらのコマンドは、Paragon Shell CLIトラブルシューティングコマンドの一部ではないため、個別に実行する必要があります。 表 3 にコマンドを示します。

表 3:問題をデバッグするための代替コマンド

命令

形容

カフカ

request paragon debug kafka ?

request paragon debug kafka コマンドの補完候補を表示します。

request paragon debug kafka options "-C -t topic-name -o s@start-time -o e@end-time -e -JB" output-file "file-name"

指定した期間のトピックの Kafka メッセージの出力ファイルを生成します。

Insights Kafka

request paragon debug insights-kafka-data ?

request paragon debug insights-kafka-data コマンドの補完候補を表示します。

request paragon debug insights-kafka-data device "device-id" time-period "duration"

特定の期間のデバイスの insights-kafka-data 情報を表示します。情報の出力ファイルが生成されます。

Redis

request paragon debug redis ?

request paragon debug redis コマンドの補完候補を表示します。

request paragon debug redis redis-key-pattern "insights"

パターン"insights"redis-keysのRedisキーパターン情報を表示します。

request paragon debug redis-key-pattern "insights" output file

パターン"insights"redis-keysするためのRedisキーパターン情報の出力ファイルを生成します。

サービスログ

request paragon debug logs ?

request paragon debug logs コマンドの補完候補を表示します。

request paragon debug logs namespace name service service-name time duration

指定した期間の名前空間内のサービスのログ ファイルを生成します。

TSDBの

request paragon debug get-tsdb-data ?

request paragon debug get-tsdb-data コマンドの補完候補を表示します。

request paragon debug get-tsdb-data device device-id topic "topic-name" output file

特定のデバイスのTSDBデータの出力ファイルを生成します。

Postgres

request paragon debug postgres ?

request paragon debug postgres コマンドの補完候補を表示します。

request paragon debug postgres database database-name username username measurement measurement-name output (file)

Postgresデータベースの測定値情報の出力ファイルを生成します。