Integrating AIDA after an environment update

Following this procedure, you can integrate AIDA in the Dynamic Workload Console.

About this task

To integrate AIDA in the Dynamic Workload Console, proceed as follows:

Procedure

  1. Configure the engine on the AIDA server. For further information, see: Adding HCL Workload Automation engines to AIDA.
  2. 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].
  3. Modify the widget_config.xml file as follows:
    1. 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
    2. 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
    3. 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>
  4. 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.
  5. Add the token as follows:
    1. 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
    2. 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
  6. Confirm to upload the certificate.
  7. 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].

Results

You successfully integrated AIDA in the Dynamic Workload Console, and now you can start monitoring your workload, prevent problems and reach operational excellence.