You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+60-56Lines changed: 60 additions & 56 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,6 @@
2
2
3
3
# AI Data Advisor (AIDA)
4
4
5
-
6
5
## Content
7
6
-[Introduction](#introduction)
8
7
-[Prerequisites](#prerequisites)
@@ -19,22 +18,22 @@
19
18
-[Troubleshooting](#troubleshooting)
20
19
21
20
## Introduction
22
-
**AI Data Advisor (AIDA)** is a component of HCL Workload Automation since V10.1, and is based on Artificial Intelligence and Machine Learning techniques. It enables fast and simplified data-driven decision making for an intelligent workload management. By analyzing workload historical data and metrics gathered by HCL Workload Automation and predicting their future patterns, AIDA identifies anomalies in KPIs trend (such as the jobs in plan by status and the jobs in plan by workstation) and sends immediate alerts to prevent problems and delays. Alerts show up on the Workload Dashboard and can be notified via email.
21
+
**AI Data Advisor (AIDA)** is a component of HCL Workload Automation since V10.1, based on Artificial Intelligence and Machine Learning techniques. It enables fast and simplified data-driven decision making for an intelligent workload management. By analyzing workload historical data and metrics gathered by HCL Workload Automation and predicting their future patterns, AIDA identifies anomalies in KPIs trend (such as the jobs in plan by status and the jobs in plan by workstation) and sends immediate alerts to prevent problems and delays. Alerts show up on the Workload Dashboard and can be notified via email.
23
22
24
-
For more information about AIDA, see [AIDA User's Guide](https://help.hcltechsw.com/workloadautomation/v101/common/src_ai/awsaimst_welcome.html).
23
+
For more information about AIDA, see [AIDA User's Guide](https://help.hcltechsw.com/workloadautomation/v102/common/src_ai/awsaimst_welcome.html).
25
24
26
25
27
26
28
27
## Prerequisites
29
28
30
-
- HCL Workload Automation V10.1 or above exposed metrics.
31
-
- For information about HCL Workload Automation exposed metrics, see [Exposing metrics to monitor your workload](https://help.hcltechsw.com/workloadautomation/v101/distr/src_ref/awsrgmonprom.html).
29
+
- HCL Workload Automation V10.1 or higher exposed metrics.
30
+
- For information about HCL Workload Automation exposed metrics, see [Exposing metrics to monitor your workload](https://help.hcltechsw.com/workloadautomation/v102/distr/src_ref/awsrgmonprom.html).
32
31
33
-
- For information about HCL Workload Automation for Z exposed metrics, see [Exposing metrics to monitor your workload](https://help.hcltechsw.com/workloadautomation/v101/zos/src_man/eqqr1metricsmonitoring.html).
32
+
- For information about HCL Workload Automation for Z exposed metrics, see [Exposing metrics to monitor your workload](https://help.hcltechsw.com/workloadautomation/v102/zos/src_man/eqqr1metricsmonitoring.html).
34
33
35
-
- Docker Compose 1.28 or later.
34
+
- Docker Compose 1.28 or higher.
36
35
37
-
Docker 19.x or later.
36
+
-Docker from version 20.10+ to version 24.0+.
38
37
39
38
Verify that Docker and Docker Compose are installed, configured, and ready to use.
40
39
@@ -45,7 +44,8 @@ For more information about AIDA, see [AIDA User's Guide](https://help.hcltechsw.
45
44
46
45
- External container image for OpenSearch 2.3.0 (an Elasticsearch based technology).
47
46
48
-
- External container image for Keycloak (JBoss Keycloak V17.0.0). Optional, if you want to access AIDA UI from outside the Dynamic Workload Console.
47
+
- External container image for Keycloak V22.0.0. (only for HCL Workload Automation users). Optional, if you want to access AIDA UI from outside the Dynamic Workload Console.
48
+
Note: HCL Workload Automation for Z users can only access AIDA UI from the alert widget in the Workload Dashboard of the Dynamic Workload Console.
49
49
50
50
- Before starting AIDA installation, verify that `vm.max_map_count` parameter for Elasticsearch is at minimum 262144 on the host machine (not inside the container).
51
51
@@ -72,23 +72,23 @@ Linux intel based 64-bit, and Linux on Z.
72
72
73
73
- Contact your HCL sales representative for the login details required to access the Entitled Registry.
74
74
75
-
- Execute the following command to log in into the Entitled Registry:
75
+
- Execute the following command to log into the Entitled Registry:
@@ -104,7 +104,7 @@ Only if you are accessing the images from HCL Flexera source repository (offline
104
104
``./AIDA.sh load``
105
105
106
106
where AIDA.sh is the AIDA installation script: it provides options to run Docker Compose operations and AIDA configuration steps.
107
-
You can find the script in the installation package.
107
+
You can find the script in the installation package or on the [HCL TECH SOFTWARE public github repository]( https://github.com/HCL-TECH-SOFTWARE/HCL-AI-Data-Advisor-For-HCL-Workload-Automation/blob/main/AIDA.sh).
108
108
109
109
110
110
For zlinux:
@@ -131,35 +131,38 @@ AIDA package includes the following containers:
131
131
132
132
Also, AIDA uses:
133
133
134
-
- **Keycloak** - To manage security and user access. Keycloak is optional: if used, it enables the creation of AIDA administrators who can access AIDA UI from outside the Dynamic Workload Console. Otherwise, AIDA can only be accessed from the alert widget in the Workload Dashboard of the Dynamic Workload Console.
134
+
- **Keycloak** - To manage security and user access, for HCL Workload Automation only (not for HCL Workload Automation for Z). Keycloak is optional: if used, it enables the creation of AIDA administrators who can access AIDA UI from outside the Dynamic Workload Console. Otherwise, AIDA can only be accessed from the alert widget in the Workload Dashboard of the Dynamic Workload Console.
135
+
Note: For HCL Workload Automation for Z, AIDA can only be accessed from the alert widget.
135
136
136
137
- **OpenSearch (an Elasticsearch based technology)** - To store and analyze data.
137
138
138
139
139
140
## AIDA installation
140
141
To install AIDA, run the following procedure:
141
142
142
-
1. Accept the product license by setting the LICENSE parameter to **accept** in the common.env file located in the [docker_deployment_dir] directory.
143
-
2. To use custom SSL certificates for AIDA, in the <install_path>/nginx/cert folder replace aida.crt e aida.key with your own files (do not change the default names).
144
-
3. Verify that the `DWC_PUBLIC_KEY` parameter in the common.env file is set to the DWC public key of the Liberty SSL certificates.
143
+
1. To use custom SSL certificates for AIDA, in the <install_path>/nginx/cert folder replace aida.crt e aida.key with your own files (do not change the default names).
144
+
2. Verify that the `DWC_PUBLIC_KEY` parameter in the common.env file is set to the DWC public key of the Liberty SSL certificates.
145
145
146
-
If you are using custom certificates for the DWC, replace the `DWC_PUBLIC_KEY` value accordingly.
147
-
4. In the common.env file, set the ``OPENSSL_PASSWORD`` parameter. This parameter will be used to generate an encryption key to hide the HCL Workload Automation engine credentials.
148
-
5. Edit the common.env file to set mandatory parameters (parameters whose value you must provide). For example, if you want to receive alert notification via email, properly set the configuration parameters in the aida-email section in the common.env file. For the non-mandatory parameters of the common.env file, you can use the default values. For details, see [Configuration parameters](#configuration-parameters).
146
+
If you are using custom certificates for the DWC, replace the `DWC_PUBLIC_KEY` value accordingly.
147
+
3. In the common.env file, set the ``OPENSSL_PASSWORD`` parameter. This parameter will be used to generate an encryption key to hide the HCL Workload Automation engine credentials.
148
+
4. Edit the common.env file to set mandatory parameters (parameters whose value you must provide). For example, if you want to receive alert notification via email, properly set the configuration parameters in the aida-email section in the common.env file. For the non-mandatory parameters of the common.env file, you can use the default values. For details, see [Configuration parameters](#configuration-parameters).
149
+
5. To prevent HTTP Host Header attacks, in the common.env file add the string ``EXTERNAL_HOSTNAME=IP where IP`` is the IP address of the machine where AIDA is being installed.
149
150
6. Optionally, from [docker_deployment_dir], run the command
150
151
151
152
``./AIDA.sh first-start``
152
153
153
-
This command starts a guided configuration procedure. Follow the guided procedure and answer the prompts to configure AIDA with your settings.
154
+
This command starts a guided configuration procedure. Follow the guided procedure and answer the prompts to configure AIDA with your settings.
155
+
Accept the product license when prompted.
154
156
155
-
7. Build, create, and start AIDA containers by running the command
157
+
7. Build, create, and start AIDA containers by running the following command
156
158
157
-
``./AIDA.sh build-start``
159
+
``./AIDA.sh build-start``
158
160
159
-
AIDA is now up and running.
160
-
8. Configure the first server to be monitored by running the command
161
+
Accept the product license when prompted.
162
+
163
+
8. AIDA is now up and running. Configure the first server to be monitored by running the command
161
164
162
-
``./AIDA.sh add-credentials``
165
+
``./AIDA.sh add-credentials``
163
166
164
167
This command starts a guided configuration of the server.
165
168
For details, see [Managing Workload Automation server credentials](#managing-workload-automation-server-credentials).
@@ -171,7 +174,8 @@ To install AIDA, run the following procedure:
171
174
Specify ``aida-port`` only if it is different from the default value (9432).
172
175
Otherwise, AIDA can only be accessed from the alert widget in the Workload Dashboard of the Dynamic Workload Console.
173
176
174
-
**Note**: The **common.env** environment file contains all the environment variables. For details, see [Configuration parameters](#configuration-parameters). After AIDA installation, if you want to modify the configuration parameters, edit the common.env file and then run the comand: **./AIDA.sh restart**.
177
+
**Note**: The **common.env** environment file contains all the environment variables. For details, see [Configuration parameters](#configuration-parameters).
178
+
After AIDA installation, if you want to modify the configuration parameters, edit the common.env file and then run the command: ./AIDA.sh restart.
175
179
176
180
## Managing Workload Automation server credentials
177
181
You can manage the credentials needed to connect to a Workload Automation server using AIDA.sh script.
@@ -211,21 +215,24 @@ To **delete existing credentials**, run the following steps:
211
215
212
216
## Updating AIDA installation
213
217
214
-
To update an existing AIDA installation, you just need to refresh AIDA images in the installation folder and rerun the installation steps:
215
-
1. ``./AIDA.sh down``
216
-
2. For linux:
217
-
218
-
``./AIDA.sh load``
219
-
220
-
221
-
222
-
For zlinux:
223
-
224
-
``tar -xvzf aida-images.tgz``
225
-
``for f in ./aida-images/aida-*.tar*; do cat $f | docker load; done``
226
-
3. ``./AIDA.sh build-start``
218
+
If you are using AIDA V10.1 or V10.2.0.0 with Keycloak V17.0.0 and want to update your AIDA installation to V10.2.1.0, you must first migrate your previous Keycloak V17.0.0 data to Keycloak V22.0.0.
219
+
Run the following procedure.
220
+
221
+
1. Download data from Keycloak V17.0.0 to a file named `aida-realm.json` by running the following commands:
@@ -383,13 +390,10 @@ The following tables list the configurable parameters of each service in the com
383
390
384
391
385
392
386
-
387
-
388
393
## Troubleshooting
389
394
390
395
1. If the Elasticsearch container fails to get up, verify the ``vm.max_map_count`` parameter is at minimum 262144 on the host machine (not inside the container).
391
396
392
397
To get the current value, run the command: ``sysctl vm.max_map_count``.
393
398
394
399
To set the new value, run the command: ``sudo sysctl vm.max_map_count=262144``.
0 commit comments