Integrating AIDA after an environment update
Following this procedure, you can integrate AIDA in the Dynamic Workload Console.
To integrate AIDA in the Dynamic Workload Console, proceed as follows:
- Configure the engine on the AIDA server. For further information, see: Adding IBM Workload Scheduler engines to AIDA.
-
Stop the Dynamic Workload Console by using the
following command: <DWC_home>/appservertools/stopAppServer.sh
[-direct].
Note: On Windows systems, the command is: <DWC_home>\appservertools\stopAppServer.bat [-direct].
-
Modify the widget_config.xml file as follows:
-
Copy the widget_config.xml template from the following
path:<DWC_home>/usr/servers/dwcServer/configDropins/templates
Note: On Windows systems, the path is: <DWC_home>\usr\servers\dwcServer\configDropins\templates
-
Paste the widget_config.xml template in the following path:
<DWC_DATA_dir>/usr/servers/dwcServer/configDropins/overrides
Note: On Windows systems, the path is: <DWC_home>\usr\servers\dwcServer\configDropins\overrides
-
Insert a value for aidaHostname and
baseUrl.
Where
aidaHostname is the IP address where AIDA is hosted.
baseUrl is the server URL where AIDA is hosted, and it also includes the server port where AIDA is running.
<server description="widget_config_variables"> <!-- Update the host name and base url AIDA --> <variable name="aidaHostname" value=""/> <variable name="baseUrl" value="https://{IP_AIDA_Server}:{Port_AIDA_SERVER}"/> <!-- DO NOT CHANGE --> <jndiEntry id="aidaHost" jndiName="aidaHost" decode="false" value="${aidaHostname}"/> <jndiEntry id="baseUrlAida" jndiName="baseUrlAida" decode="false" value="${baseUrl}"/> <!-- DO NOT CHANGE ENDS --> <!-- Update the value of the below variable with the alias of the keystore only if a new store is used other than provided store--> <variable name="certificateAlias" value=""/> <!-- DO NOT CHANGE --> <jndiEntry id="certificateAlias" jndiName="certificateAlias" decode="false" value="${certificateAlias}"/> <!-- DO NOT CHANGE ENDS --> </server>
-
Copy the widget_config.xml template from the following
path:<DWC_home>/usr/servers/dwcServer/configDropins/templates
-
Copy the aida.crt certificate from
<aida_install_path>/nginx/cert and paste it in any
folder.
For custom certificates, see the AIDA Readme Files.
-
Add the token as follows:
-
Where the Dynamic Workload Console is
installed, go to the java bin folder:
<DWC_home>/java/jre/bin
Note: On Windows systems, the path is: <DWC_home>\java\jre\bin
-
Launch the following command:
keytool -importcert -alias aidaTest -file <Local path where certificate is stored>/aida.crt -keystore <DWC_home>/usr/servers/dwcServer/resources/security/TWSServerTrustFile.jks -storepass default -storetype jks
Note: On Windows systems, the command is:keytool -importcert -alias aidaTest -file <Local path where certificate is stored>/aida.crt -keystore <DWC_home>\usr\servers\dwcServer\resources\security\TWSServerTrustFile.jks -storepass default -storetype jks
-
Where the Dynamic Workload Console is
installed, go to the java bin folder:
<DWC_home>/java/jre/bin
- Confirm to upload the certificate.
-
Start the Dynamic Workload Console by using
the following command: <DWC_home>/appservertools/startAppServer.sh
[-direct].
Note: On Windows systems, the command is: <DWC_home>\appservertools\startAppServer.bat [-direct].