Working with the Axon Agent
The Axon Agent is the service that exchanges information between Axon and Informatica Data Quality.
The Axon Agent reads the data quality rules in Axon that you create for profiles and scorecards. The Axon Agent also reads the scheduling information for the data quality rules.
At the scheduled time, the Axon Agent retrieves data quality scores from Informatica Data Quality. The Axon Agent then updates the corresponding data quality rules in Axon with the scores.
The following sections provide information on setting up and configuring the Axon Agent if it does not work as expected.
Start or Stop the Axon Agent
If the Axon Agent stops, you can restart the Axon Agent. For example, if you want to modify the connection details of the Axon Agent, you must stop and restart the Axon Agent.
Run the following command to start the Axon Agent:
<Axon_Agent_Home>/sh startup.sh
Run the following command to stop the Axon Agent:
<Axon_Agent_Home>/sh shutdown.sh
When the Axon Agent starts, it verifies that the Informatica Domain, Model Repository Service, and the Data Integration Service are running. The Axon Agent does not start if any of these components is not running.
Monitor the Axon Agent
When the Axon Agent is running, you can monitor its status by viewing the log file.
Open the following file to monitor the Axon Agent:
<Axon_Agent_Home>/logs/dq-axon/dqagent.log
Modify Connection Details
You must configure the Axon Agent to connect to other components that are required by Axon. For example, if you update the LDAP namespace of the Informatica domain or update the Axon application URL, you must update the connection details in the Axon Agent to point to the new location.
- Connect to LDAP-Configured Informatica Domain
- To point the Axon Agent to the LDAP-configured Informatica domain, edit the dis.securityDomain and mrs.securityDomain properties in the following file:
<Axon_Agent_Home>/conf/application-mrs-dis.properties
- Connect to Informatica Domain, Model Repository Service, or Data Integration Service
- To point the Axon Agent to a new location for the Informatica Domain, Model Repository Service, or the Data Integration Service, edit the properties in the following file:
<Axon_Agent_Home>/conf/application-mrs-dis.properties
- Connect to Axon
- To point the Axon Agent to a new location for the Axon application, edit the properties in the following file:
<Axon_Agent_Home>/conf/application-axon.properties
- Change Password
- To change the password for Axon, Model Repository Service, or Data Integration Service, run the following command during startup:
<Axon_Agent_Home>/sh startup.sh --mrs.userName=Administrator --mrs.password=<MRS_password> --dis.userName=Administrator --dis.password=<DIS_password> --axon.userName=admin@informatica.com --axon.password=<Axon_password>
Note: Do not update the password by modifying the application-mrs-dis.properties and application-axon.properties files.
Configure Synchronization Delay and Synchronization Interval
You can update the synchronization delay and synchronization interval between Axon, the Axon Agent, and Informatica Data Quality.
- Synchronization Delay Between Axon and the Axon Agent
- After the Axon Agent starts, it synchronizes with Axon. Synchronization delay is the time after which Axon and the Axon Agent start synchronization after the Axon Agent is started. For example, if you set the synchronization delay to 5 minutes, Axon and the Axon Agent start the synchronization task 5 minutes after the Axon Agent starts.
- 1. To configure the synchronization delay, modify the following file:
<Axon_Agent_Home>/conf/application-app.properties
- 2. Modify the value for the app.syncDelay property. Enter the synchronization delay in minutes. The default value is 1 minute.
- Synchronization Interval Between Axon and the Axon Agent
- You can configure the interval frequency at which Axon and the Axon Agent synchronize with each other. For example, if you set the synchronization interval to 3 minutes, Axon and the Axon Agent synchronize with each other every 3 minutes.
- 1. To configure the synchronization interval, modify the following file:
<Axon_Agent_Home>/conf/application-axon.properties
- 2. Modify the value for the axon.delayInterval property. Enter the synchronization interval in minutes. The default value is 1 minute.
- Synchronization Interval Between the Axon Agent and Informatica Data Quality
- You can configure the interval frequency at which the Axon Agent and Informatica Data Quality synchronize with each other. For example, if you set the synchronization interval to 60 minutes, the Axon Agent and Informatica Data Quality synchronize with each other every 60 minutes.
- 1. To configure the synchronization interval, modify the following file:
<Axon_Agent_Home>/conf/application-axon.properties
- 2. Modify the value for the axon.ruleDelayInterval property. Enter the synchronization interval in minutes. The default value is 120 minutes.