To install Dynatrace OneAgent on AIX
- If you have a Dynatrace SaaS deployment, go to Dynatrace.com and Login using the username and password you received from Dynatrace in your signup confirmation email.
- If you have a Dynatrace Managed deployment, access the Cluster Management Console and choose the environment you want to monitor.
Then continue with the installation steps provided below.
- You need Download/install OneAgent permissions to download and install OneAgent.
- You need administrator rights for the servers where OneAgent will be installed as well as for changing firewall settings (necessary only if your internal routing policy may prevent Dynatrace software from reaching the internet).
- You need permissions and credentials for restarting all your application services.
- Check the disk space requirements.
- Your host requires 200 MB free memory to run OneAgent installation and update.
- All hosts that are to be monitored need to be able to send data to the Dynatrace cluster. Depending on whether your Dynatrace deployment is SaaS or Managed, and on your network layout and security settings, you may choose to either provide direct access to the Dynatrace cluster, or to set up an ActiveGate.
- OneAgent installation isn't supported on networked storage mount points that are managed by standards such as NFS or iSCSI.
- Log Monitoring isn't supported on AIX hosts.
In the Dynatrace menu, select Deploy Dynatrace.
Select Start installation and then select AIX.
Provide a PaaS token. This token is required to download the OneAgent installer from your environment. If you don't have a PaaS token, you can create one right in the UI. The token is automatically appended to the download and installation commands you'll use later.
Click Copy to copy the
wget command to the clipboard.
Log into your AIX host and then paste and execute the
wgetcommand isn't installed on AIX by default. Either install it or use an alternative means of downloading OneAgent.
- If you receive an error while downloading OneAgent, install the required certificate by downloading the root CA file from Comodo and then concatenating the content of the CRT file to
/var/ssl/cert.pem. You can alternatively skip the certificate check by adding the parameter
- If you plan to download OneAgent directly to a server, note that outdated or missing libraries (for example, CA certificates or OpenSSL) will prevent the installer from downloading. We use encrypted connections. OpenSSL is required to enable
wgetto access the server.
Verify the signature
After the download is complete, paste the provided command into your terminal window and execute it. Make sure your system is up to date, especially SSL and related certificate libraries.
optional Customize your installation
- Set a network zone for this host.
- If your environment is segmented (for example, into development and production), consider organizing your hosts into host groups.
- You can override the automatically detected host name. This is useful in large and dynamic environments, where defined host names can be unintuitive or can change frequently.
- You can also apply tags to the host to organize your monitored environments in a meaningful way.
- Enable Infrastructure Monitoring in place of Full-Stack Monitoring.
- Disable Log Monitoring.
Note: the OneAgent command-line installer provides more options for customizing your installation.
Copy the command provided in the And run the installer with root rights text field.
Run the installer.
Paste the command into your terminal and execute it.
- You need root privileges. You'll need to make the script executable before you can run it as root.
- You can use
sudoto run the installation script. To do this, type the following command into the directory where you downloaded the installation script.
sudo /bin/sh Dynatrace-OneAgent-AIX-1.0.0.sh
For a summary of the changes made to your system by OneAgent installation, see OneAgent security on AIX.
On AIX, Dynatrace supports deep code-monitoring for Java, Apache, WebLogic and Websphere applications. It's automated for OneAgent version 1.189+. For earlier releases, you need to perform some configuration on AIX, which can be easily done both for single applications as well as shell-wide.
Note: The automated injection of deep-code monitoring is enabled by default since Dynatrace version 1.195 for fresh OneAgent 1.189+ installations.
You can enable deep-code monitoring after you install OneAgent and it successfully connects to Dynatrace. In the Hosts page, find your host, go to Host settings > Monitoring mode and select Allow AIX kernel extension.
Manual OneAgent injection
If you have problems with the unified monitoring approach, you can inject OneAgent manually.
Modify the command line of your Java application:
DT_HOME=/opt/dynatrace/oneagent . $DT_HOME/dynatrace-java-env.sh 64 java $JAVA_OPTS <MainClass>
Make sure that you include the
$JAVA_OPTS variable in your command. For 32-bit Java processes, omit the
httpd.conf and add the following two lines at a location of your choice:
LoadModule oneagent_module /opt/dynatrace/oneagent/agent/bin/aix-ppc-64/liboneagentloader.so OneAgentConfig tenant=<tenant-id>,tenantToken=<tenant-token>,server=https://<server-url>/communication
Alternatively, if you prefer to leave your
httpd.conf unchanged, you can specify the same directives using the command line:
apachectl -c "LoadModule oneagent_module /opt/dynatrace/oneagent/agent/bin/aix-ppc-64/liboneagentloader.so" -c "OneAgentConfig tenant=<tenantUUID>,tenantToken=<tenant-token>,server=<communicationEndpoints>" -k start
tenantUUIDis the environment ID of your Dynatrace environment that should be pulled from
dynatrace-env.sh(located in the OneAgent installation root directory). The
tenantUUIDparameter is represented in the script as
tenantTokenis the token that OneAgent uses to send data Dynatrace. It should be pulled from
ruxitagent.conf, depending on your OneAgent version), which is located in the OneAgent installation root directory. The
tenantTokenparameter is represented in the script as
Attention: This token should not be confused with Dynatrace API or PaaS tokens. Those tokens can't be used here.
communicationEndpointscorresponds to one or multiple HTTP addresses that represent Dynatrace Servers or ActiveGates. The
communicationEndpointsparameter is represented in the script as
DT_CONNECTION_POINT. For example, the
dynatrace-env.sh(located in the OneAgent installation root directory) may contain the following:
In this case, the parameter would be
Great, setup is complete! You can now take a look around your new monitoring environment. If you are a SaaS customer, you can access your monitoring environment anytime by going to Dynatrace website and clicking the Login button in the upper-right corner. If you are a Dynatrace Managed customer, you can access your monitoring environment through the Cluster Management Console.
One last thing: to monitor your processes, you need to restart them. At any time, you can check which processes aren't monitored and need to be restarted. Just select Deployment status from the navigation menu, click the All hosts or Recently connected hosts tab, and expand the host you are interested in.