Download page Ansible Configuration for IIB Agent.
Ansible Configuration for IIB Agent
The following is an example of AnsibleĀ® role to install PHP Agent on AIX or Redhat based Linux system.
---
- hosts: all
tasks:
- name: Include variables for the controller settings
include_vars:
# Include all yaml files under the vars directory
dir: vars
extensions:
- 'yaml'
- 'yml'
- include_role:
name: appdynamics.agents.iib
vars:
agent_version: latest
# possible value:
# - latest: Latest version
# - 22.10.0.5500.0: Any Specific version number
agent_type: iib
agent_action: upgrade
# possible value:
# - upgrade: upgrade currently installed agent to agent_version
# - install: install agent_version
# - rollback: rollback to previous backup if any
YML
IIB Agent Variables
Variable
Description
Possible Values
Required
Default
iib_log_dir
Path to the directory containing the IIB agent log files.
directory path
Optional
/tmp/appd
iib_user_exit
The exit name of the user. This must be in the alphanumeric format, as provided in the mqsichangebroker command.
The node name reuse function enables users to reuse the node names of historical VMs for new VMs. It prevents the rapid increase of differently named nodes, especially when the nodes are identical processes that run over different times. This helps you monitor environments with short-life VMs. See Enable the Node Name Reuse.
trueorfalse
Optional
None
iib_node_reuse_prefix
Use this property when iib-node-reuse is set to true. If you do not set this property, the agent generates node names as per the internal node name standards of IBM. See Enable the Node Name Reuse.
ecom
Optional
None
config_file_path
Use this property to set the path for node or server configuration files. You can specify multiple paths separated by a comma.
/opt/node1.conf.yaml, /opt/node2.conf.yaml
Optional
None
iib_controller_cert_file
Full path to the PEM format X509 certificate for SSL. See, Enable SSL for the C/C++ SDK for more information on how to obtain the certificate file.