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.
- To install iAutomate components, follow the steps mentioned in the Lab Exercise 2 on both Web and Application servers.
- 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
- Press Win+R and type inetmgr.
- Click OK to open IIS.
Figure 1. Load Balancer Configuration
- Expand Sites in Connections section and click HCLiAutomateBaseUI.
Figure 2. Load Balancer Configuration (Cont.)
- Click Bindings in the Edit Site section.
Figure 3. Load Balancer Configuration (Cont.)
Figure 4. Load Balancer Configuration (Cont.)
- 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.
- Right-click HCLiAutomateBaseUI and click Explore.
- Find Web.config file and open it in Notepad.
Figure 5. Load Balancer Configuration (Cont.)
- 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.)
- Save the file for changes to be reflected.
- Select the service and click Restart to restart the services.
- Expand sites in Connections section and click HCLiAutomateWEBAPI.
Figure 7. Load Balancer Configuration (Cont.)
Figure 8. Load Balancer Configuration (Cont.)
- Right-click HCLiAutomateWEBAPI and click Explore.
- Find Web.config file and open it in Notepad.
Figure 9. Load Balancer Configuration (Cont.)
- 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.)
- Save the file for changes to be reflected.
- Select the service and click Restart to restart the services.
- Press Win+R and type services.msc.
Figure 11. Load Balancer Configuration (Cont.)
- Click OK to open Windows Services.
Figure 12. Load Balancer Configuration (Cont.)
- Search for HCL.iAutomate.Listener.
- Right-click HCL.iAutomate.Listener service and click Properties.
Figure 13. Load Balancer Configuration (Cont.)
- Copy the value mentioned in ‘Path to executable’ as shown in the image below:
Figure 14. Low Balancer Configuration (Cont.)
- Open File Explorer and paste the copied path and press Enter to open the desired folder.
- Search for HCL.iAutomate.Listner.Service.Host config file and open it in a Notepad.
Figure 15. Load Balancer Configuration (Cont.)
- 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.)
- Save the file for changes to be reflected.
- Select the service and click Restart to restart the services.
Note:
Repeat the steps mentioned above on all the load balanced servers.
- Login to iAutomate using the Super Admin credentials.
- Roll-over the Advance Configuration and click Product Configuration.
- Select Component Name as ‘KRS’. Change the Load Balancer URL to the Load Balancer IP.
Figure 17. Component Configuration
- Click Update to save the changes.Note:
Above step has to be repeated for all the components.
- 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.)
- Click Update to save the changes.
- 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.)
- Click Update to save the changes.
- 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.)
- Click Update to save the changes.