Set up PSA in Podman
You can set up PSA in Podman using the automation script, which is available with the installation zip file. When you run the installation command, the script automatically builds the podman image and deploys PSA.
Supported Operating System
- Linux (RHEL 8)
podman system service unix:///var/run/docker.sock &
Download the PSA Installation Files
Download the PSA installation zip file from the Splunk AppDynamics Download Center or from the beta upload tool. This file contains podman files for sum-chrome-agent, sum-api-monitoring-agent, sum-heimdall, Helm charts, and automation scripts. To build an image for sum-chrome-agent, sum-api-monitoring-agent, and sum-heimdall, ensure that Podman is installed.
(Optional) Configure Proxy Server
When you configure a proxy server, it applies to all the domains. Configure a proxy server by specifying the proxy server address on the application-onprem.yaml file. Key-Value Pairs Configuration.
To bypass any domains from the proxy server, perform the following steps:
Configure Proxy Server at a Job Level
Deploy PSA in Podman Using the Automation Script
| 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, Kubernetes or Podman. |
| -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, 26.4 |
| -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 |
Monitor PSA
To monitor the CPU and memory usage of the Heimdall and Ignite containers, run the following command:
./monitoring_psa
Deploy PSA Manually
Perform the following steps:
Upgrade PSA
Perform the following steps to upgrade PSA:
| Flag | Description |
|---|---|
| -d | Debug mode |
| -v |
*PSA release tag. This is the version to which you are upgrading. For example, 26.4.0. |
Uninstall PSA
To uninstall PSA, run the following commands:
| Operating System | Command |
|---|---|
| Linux |
CODE
|