Skip to content

Commit ba63129

Browse files
Update README.md
Update README.md for AIDA 10.2.1.0
1 parent c49a648 commit ba63129

File tree

1 file changed

+60
-56
lines changed

1 file changed

+60
-56
lines changed

README.md

Lines changed: 60 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
# AI Data Advisor (AIDA)
44

5-
65
## Content
76
- [Introduction](#introduction)
87
- [Prerequisites](#prerequisites)
@@ -19,22 +18,22 @@
1918
- [Troubleshooting](#troubleshooting)
2019

2120
## 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.
2322

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).
2524

2625

2726

2827
## Prerequisites
2928

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).
3231

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).
3433

35-
- Docker Compose 1.28 or later.
34+
- Docker Compose 1.28 or higher.
3635

37-
Docker 19.x or later.
36+
- Docker from version 20.10+ to version 24.0+.
3837

3938
Verify that Docker and Docker Compose are installed, configured, and ready to use.
4039

@@ -45,7 +44,8 @@ For more information about AIDA, see [AIDA User's Guide](https://help.hcltechsw.
4544

4645
- External container image for OpenSearch 2.3.0 (an Elasticsearch based technology).
4746

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.
4949

5050
- 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).
5151

@@ -72,23 +72,23 @@ Linux intel based 64-bit, and Linux on Z.
7272

7373
- Contact your HCL sales representative for the login details required to access the Entitled Registry.
7474

75-
- Execute the following command to log in into the Entitled Registry:
75+
- Execute the following command to log into the Entitled Registry:
7676

7777
```
7878
docker login -u <your_username> -p <your_entitled_key> hclcr.io
7979
8080
```
8181
The images are as follows:
8282
83-
- ``hclcr.io/wa/aida-ad:10.2.0.0``
84-
- ``hclcr.io/wa/aida-exporter:10.2.0.0``
85-
- ``hclcr.io/wa/aida-email:10.2.0.0``
86-
- ``hclcr.io/wa/aida-nginx:10.2.0.0``
87-
- ``hclcr.io/wa/aida-orchestrator:10.2.0.0``
88-
- ``hclcr.io/wa/aida-predictor:10.2.0.0``
89-
- ``hclcr.io/wa/aida-redis:10.2.0.0``
90-
- ``hclcr.io/wa/aida-config:10.2.0.0``
91-
- ``hclcr.io/wa/aida-ui:10.2.0.0``
83+
- ``hclcr.io/wa/aida-ad:10.2.1.0``
84+
- ``hclcr.io/wa/aida-exporter:10.2.1.0``
85+
- ``hclcr.io/wa/aida-email:10.2.1.0``
86+
- ``hclcr.io/wa/aida-nginx:10.2.1.0``
87+
- ``hclcr.io/wa/aida-orchestrator:10.2.1.0``
88+
- ``hclcr.io/wa/aida-predictor:10.2.1.0``
89+
- ``hclcr.io/wa/aida-redis:10.2.1.0``
90+
- ``hclcr.io/wa/aida-config:10.2.1.0``
91+
- ``hclcr.io/wa/aida-ui:10.2.1.0``
9292
9393
9494
@@ -104,7 +104,7 @@ Only if you are accessing the images from HCL Flexera source repository (offline
104104
``./AIDA.sh load``
105105
106106
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).
108108
109109
110110
For zlinux:
@@ -131,35 +131,38 @@ AIDA package includes the following containers:
131131
132132
Also, AIDA uses:
133133
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.
135136
136137
- **OpenSearch (an Elasticsearch based technology)** - To store and analyze data.
137138
138139
139140
## AIDA installation
140141
To install AIDA, run the following procedure:
141142
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.
145145
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.
149150
6. Optionally, from [docker_deployment_dir], run the command
150151
151152
``./AIDA.sh first-start``
152153
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.
154156
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
156158
157-
``./AIDA.sh build-start``
159+
``./AIDA.sh build-start``
158160
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
161164
162-
``./AIDA.sh add-credentials``
165+
``./AIDA.sh add-credentials``
163166
164167
This command starts a guided configuration of the server.
165168
For details, see [Managing Workload Automation server credentials](#managing-workload-automation-server-credentials).
@@ -171,7 +174,8 @@ To install AIDA, run the following procedure:
171174
Specify ``aida-port`` only if it is different from the default value (9432).
172175
Otherwise, AIDA can only be accessed from the alert widget in the Workload Dashboard of the Dynamic Workload Console.
173176
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.
175179
176180
## Managing Workload Automation server credentials
177181
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:
211215
212216
## Updating AIDA installation
213217
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:
227222
228-
Existing configuration parameters are used.
223+
``timeout --preserve-status -s SIGINT 60 docker exec -it aida-keycloak /opt/jboss/keycloak/bin/standalone.sh -Djboss.socket.binding.port-offset=100 -Dkeycloak.migration.action=export -Dkeycloak.migration.provider=singleFile -Dkeycloak.migration.realmName=aida -Dkeycloak.migration.usersExportStrategy=REALM_FILE -Dkeycloak.migration.file=/opt/jboss/aida-realm.json; docker cp aida-keycloak:opt/jboss/aida-realm.json aida-realm.json``
224+
225+
2. Save the file ``aida-realm.json`` to a disk drive.
226+
3. Remove the data volume from Keycloak V17.0.0 by running the following commands:
227+
``./AIDA.sh down; docker run --rm -it --entrypoint /bin/sh -v docker-deployment_aida-keycloak-data:/keycloak docker-deployment_keycloak -c 'mkdir keycloak/old_backup_data; mv keycloak/* keycloak/old_backup_data'``
228+
4. Download AIDA V10.2.1.0 images from the source repository.
229+
5. Copy the file ``aida-realm.json`` to the ``keycloak/`` folder in the [docker_deployment_dir].
230+
6. From [docker_deployment_dir],run the following command:
231+
``sed -i 's+"loginTheme" : "custom"+"loginTheme" : "keycloakTemplate_HCL"+g' ./keycloak/aida-realm.json``
232+
7. Complete AIDA V10.2.1.0 installation by running the following commands:
233+
``./AIDA.sh load``
234+
``./AIDA.sh build-start``
235+
229236
230237
## Uninstalling AIDA
231238
@@ -280,13 +287,13 @@ For the command usage, run
280287
281288
## Configuration parameters
282289
283-
AIDA configuration parameters in the common.env file are divided in three categories:
284-
1. Parameters whose value users **must provide** (Mandatory=Y)
285-
2. Parameters with a default value that users can **optionally customize** ( Customizable =Y)
286-
3. Parameters with a default value that users **should not change** ( Customizable =N)
290+
AIDA configuration parameters in the common.env file are divided in three categories:
287291
292+
1. Parameters whose value users must provide (Mandatory=Y)
293+
2. Parameters with a default value that users can optionally customize ( Customizable =Y)
294+
3. Parameters with a default value that users should not change ( Customizable =N)
288295
289-
- ### Common parameters
296+
- ### Common parameters
290297
The following table lists the common configurable parameters in the common.env file and their default values:
291298
292299
| **Parameter** | **Description** | **Mandatory** | **Customizable** | **Default value** |
@@ -383,13 +390,10 @@ The following tables list the configurable parameters of each service in the com
383390
384391
385392
386-
387-
388393
## Troubleshooting
389394
390395
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).
391396
392397
To get the current value, run the command: ``sysctl vm.max_map_count``.
393398
394399
To set the new value, run the command: ``sudo sysctl vm.max_map_count=262144``.
395-

0 commit comments

Comments
 (0)