Solution

Copy the installer on the servers meant for Web and Application components. In this scenario, Web and Application Components are to be hosted on different servers.

  1. To install iAutomate components, follow the steps mentioned in the Lab Exercise 2 on both Web and Application servers.
  2. Once the installation of Web and Application components is complete on both servers, next step is to perform the load balancer configuration to enable HA mode.

Load Balancer Configuration

  1. Press Win+R and type inetmgr.
  2. Click OK to open IIS.
    Figure 1. Load Balancer Configuration
  3. Expand Sites in Connections section and click HCLiAutomateBaseUI.
    Figure 2. Load Balancer Configuration (Cont.)
  4. Click Bindings in the Edit Site section.
    Figure 3. Load Balancer Configuration (Cont.)
    Figure 4. Load Balancer Configuration (Cont.)
  5. Ensure that the value of Port mentioned is same as configured in Load Balancer. If that is not the case, click Edit to change the Port value.
  6. Right-click HCLiAutomateBaseUI and click Explore.
  7. Find Web.config file and open it in Notepad.
    Figure 5. Load Balancer Configuration (Cont.)
  8. Within the Web.config file, search for the key ‘URL’ and replace the ‘localhost:portnumber’ with the Load balancer IP and KRS Port.
    Figure 6. Load Balancer Configuration (Cont.)
  9. Save the file for changes to be reflected.
  10. Select the service and click Restart to restart the services.
  11. Expand sites in Connections section and click HCLiAutomateWEBAPI.
    Figure 7. Load Balancer Configuration (Cont.)

    Figure 8. Load Balancer Configuration (Cont.)
  12. Right-click HCLiAutomateWEBAPI and click Explore.
  13. Find Web.config file and open it in Notepad.
    Figure 9. Load Balancer Configuration (Cont.)
  14. Within the Web.config file, search for the key ‘URL’ and replace the ‘localhost:portnumber’ with the Load balancer IP and KRS Port
    Figure 10. Load Balancer Configuration (Cont.)
  15. Save the file for changes to be reflected.
  16. Select the service and click Restart to restart the services.
  17. Press Win+R and type services.msc.
    Figure 11. Load Balancer Configuration (Cont.)
  18. Click OK to open Windows Services.
    Figure 12. Load Balancer Configuration (Cont.)
  19. Search for HCL.iAutomate.Listener.
  20. Right-click HCL.iAutomate.Listener service and click Properties.
    Figure 13. Load Balancer Configuration (Cont.)
  21. Copy the value mentioned in ‘Path to executable’ as shown in the image below:
    Figure 14. Low Balancer Configuration (Cont.)
  22. Open File Explorer and paste the copied path and press Enter to open the desired folder.
  23. Search for HCL.iAutomate.Listner.Service.Host config file and open it in a Notepad.
    Figure 15. Load Balancer Configuration (Cont.)
  24. Within the HCL.iAutomate.Listner.Service.Host config file, search for the key ‘URL’ and replace the ‘localhost:portnumber’ with the Load balancer IP and KRS Port.
    Figure 16. Load Balancer Configuration (Cont.)
  25. Save the file for changes to be reflected.
  26. Select the service and click Restart to restart the services.
Note:

Repeat the steps mentioned above on all the load balanced servers.

  1. Login to iAutomate using the Super Admin credentials.
  2. Roll-over the Advance Configuration and click Product Configuration.
  3. Select Component Name as ‘KRS’. Change the Load Balancer URL to the Load Balancer IP.
    Figure 17. Component Configuration
  4. Click Update to save the changes.
    Note:

    Above step has to be repeated for all the components.

  5. Additionally, for the Component Name i.e. Recommendation, provide the path of the shared drive location in the Recommendation Model Location field.
    Figure 18. Component Configuration (Cont.)
  6. Click Update to save the changes.
  7. Additionally, for the Component Name as Entity Model, provide the path of the shared drive location in the EntityModel Model Location field.
    Figure 19. Component Configuration (Cont.)
  8. Click Update to save the changes.
  9. Additionally, for the Component Name i.e. Crawler, provide the path of the shared drive location in the Data Directory Location field.
    Figure 20. Component Configuration (Cont.)
  10. Click Update to save the changes.