How to Install SmartHub on Multiple Servers (Optional)

To enable load balancing or failover protection for the SmartHub application use these steps:

  1. Install SmartHub on each of your IIS servers.

  2. Create a SmartHub Configuration folder (preferably on a different server) and share it. 
    1. SmartHub must have READ/WRITE access to this folder.
    2. User accounts require READ/WRITE access to this folder. 
    3. All the IIS servers where SmartHub is installed must have access to this directory.

  3. Shared folders:
    1. Create folders and save the UNC path for each of the below settings from web.config.

      1. Example UNC path: (notice the trailing "\" characters):
           \\server_name\share_name\Configuration\

        Copy
        <add key="ConfigFolder" value="~/Configuration/" />
        <add key="CachingFolder" value="~/Caching/" />
        <add key="OAuthFolder" value="~/OAuth/" />
        <add key="FederatorAppFile" value="~/Configuration/TrustedApps.xml" />
        <add key="UserProfilePreferences" value="~/UserPreferences" />
        <add key="DictionaryFolder" value="~/Dictionary/" />
        <add key="BotTemplatesPath" value="~/BotTemplates" />
        <add key="KibanaSettingsFolder" value="~/KibanaSettings/" />
        <add key="AnalyticsBackupFolder" value="~/AnalyticsBackup/" />
  4. On each IIS server where you installed SmartHub:
    1. Modify the web.config file by updating the  settings with the UNC path of the shared folder created in step 3.

Any manual modification made to other SmartHub files (that is, settings files for custom pages) must be copied over across all IIS servers where SmartHub is installed.