Docker エンジンでの PSA の設定
インストール zip ファイルに含まれている自動化スクリプトを使用して、Docker エンジンで PSA を設定できます。インストールコマンドを実行すると、スクリプトによって docker イメージが自動的に構築され、PSA が展開されます。
サポートされるオペレーティングシステム
- Linux(CentOS および Ubuntu)
- Intel または M1 プロセッサを搭載した macOS
-
Windows
注: 自動化スクリプトを使用した PSA のインストールは、Windows ではサポートされていません。Windows で PSA をインストールするには、次を参照してください。
次の表は、Kubernetes と Docker での PSA のインストールの違いを示しています。
| Kubernetes | Docker |
|---|---|
|
Heimdall と Ignite は、Helm チャートを介して既存の Kubernetes クラスタにポッドとして展開されます。 |
Heimdall と Ignite はコンテナとして展開されます。 |
| Heimdall は、Kube API を介して Web モニタリングと API モニタリングの測定ジョブポッドを作成します。 | Heimdall は、Docker API を介して Web モニタリングと API モニタリングの測定ジョブコンテナを作成します。 |
| 測定の準備ができると、Heimdall は Kube API を介してジョブポッドを削除します。 | 測定の準備ができると、Heimdall は Docker API を介してジョブコンテナを削除します。 |
PSA インストールファイルのダウンロード
Splunk AppDynamicsPSA インストール zip ファイルを、Cisco AppDynamics ダウンロードセンターまたはベータアップロードツールからダウンロードします。このファイルには、sum-chrome-agent、sum-api-monitoring-agent、sum-heimdall、Helm チャート、および自動化スクリプトの Docker ファイルが含まれています。sum-chrome-agent、sum-api-monitoring-agent、および sum-heimdall のイメージをビルドする場合は、Docker がインストールされていることを確認します。インストールされていない場合は、ここから Docker をダウンロードしてインストールできます。
(オプション)プロキシサーバーの設定
プロキシサーバーを設定すると、すべてのドメインに適用されます。application-onprem.yaml ファイルにプロキシサーバーアドレスを指定して、プロキシサーバーを設定します。キーと値のペアの設定
プロキシサーバーからドメインをバイパスするには、次の手順を実行します。
Configure Proxy Server at a Job Level
Deploy PSA in Docker
| Flag | Configuration Key | Description |
|---|---|---|
| -a | EUM_ACCOUNT |
*EUM Account For example, Ati-23-2-saas-nov2 |
| -A | SERVICE_ACCOUNT | Specify the service account of the sum-chrome-agent and sum-api-monitoring-agent pod. |
| -B | BYPASS_LIST |
Specify the domain URLs that you want to bypass from the proxy server. For example, "*abc.com;*xyz1.com;*xyz2.com" |
| -c | LOCATION_CODE |
*Location Code For example, DEL NY |
| -C | CHROME_PERFORMANCE_LOGS | Specify true to enable performance logs on the Chrome browser. The default value is false. |
| -d | LOCATION_DESCRIPTION |
*Location Description For example, 'Delhi, 100001' |
| -e | ENVIRONMENT |
*Environment For example, Docker, Minikube, or Kubernetes. |
| -F | FS_GROUP | Specify the file system group ID of the sum-chrome-agent or sum-api-monitoring-agent container. |
| -g | LOCATION_LONGITUDE |
Location Longitude For example, 77.10 |
| -G | RUN_AS_GROUP | Specify the group ID that the sum-chrome-agent or sum-api-monitoring-agent container should run as. |
| -i | LOCATION_LATITUDE |
Location Latitude For example, 28.70 |
| -k | EUM_KEY |
*EUM Key For example, 2d35df4f-92f0-41a8-8709-db54eff7e56c |
| -m |
First value: CHROME_MIN_MEMORY Second value: CHROME_MAX_MEMORY |
*Minimum/Maximum memory in Mi/Gi for sum-chrome-agent |
| -n |
First value: API_MIN_MEMORY Second value: API_MAX_MEMORY |
*Minimum/Maximum memory in Mi/Gi for sum-api-monitoring-agent |
| -N | RUN_AS_NON_ROOT | Specify if the sum-chrome-agent or sum-api-monitoring-agent container should run as a non-root user. The default value is true. |
| -o | LOCATION_COUNTRY |
*Location Country For example, India, United States |
| -O | OVERRIDE_SECURITY_CONTEXT_FOR_WEB_API_MON | Specify true to override the security context for Web and API monitoring. The default value is false. |
| -p | TAG |
*PSA release tag For example, 23.12 |
| -q | IGNITE_PERSISTENCE | Specify true or false to enable or disable Ignite Persistence. |
| -r | HEIMDALL_REPLICA | *Heimdall replica count |
| -s | LOCATION_STATE |
*Location State For example, CA |
| -t | LOCATION_CITY |
*Location City For example, Delhi |
| -u | EUM_URL |
*Shepherd URL For example, https://sum-shadow-master-shepherd.saas.appd-test.com/ For the list of Shepherd URLs, See Shepherd URL. |
| -U | RUN_AS_USER | Specify the user ID that the sum-chrome-agent or sum-api-monitoring-agent container should run as. |
| -v | VERBOSE | Debug mode |
| -w |
First value: HEIMDALL_PROXY Second value: API_MON_PROXY Third value: WEB_MON_PROXY |
Specify the proxy servers for Heimdall, API, and Web monitoring, separated by a tilde(~). If you do not need to set up any proxy server, you can leave it blank. |
| -x |
First value: CHROME_MIN_CPU Second value: CHROME_MAX_CPU |
*Minimum/Maximum CPU for sum-chrome-agent |
| -y |
First value: API_MIN_CPU Second value: API_MAX_CPU |
*Minimum/Maximum CPU for sum-api-monitoring-agent |
| -z | AGENT_TYPE |
*Agent type For example, web, api, or all |
PSA のモニター
Heimdall コンテナと Ignite コンテナの CPU とメモリの使用率をモニターするには、次のコマンドを実行します。
./monitoring_psa
PSA の手動展開
以下の手順を実行します。
PSA のアップグレード
PSA をアップグレードするには、次の手順を実行します。
| フラグ | 説明 |
|---|---|
| -d | デバッグモード |
| -v |
*PSA リリースタグ。 これは、アップグレードするバージョンです。たとえば、23.9.0 などです。 |
PSA のアンインストール
PSA をアンインストールするには、次のコマンドを実行します。
| オペレーティングシステム | コマンド |
|---|---|
| Linux および macOS |
CODE
|
| Windows |
|