Install SmartHub with Elasticsearch

Be sure to install all of the prerequisites listed for your SmartHub and search engine The search engine your SmartHub instance uses to perform queries. SmartHub can be configured to use more than one search engine..

Any issues experienced by BA Insight clients during installation are typically traced to a failure to meet the required prerequisites.

You must satisfy all of the requirements listed in the Prerequisites topic for your search engine.

To be guided through installing BA Insight SmartHub v5, see the following video How to Install and Configure SmartHub v5). 

Use the following procedure to install SmartHub.

Extract SmartHub Files to a Local Directory

  1. In Windows Explorer navigate to the location where you downloaded the SmartHub installation package.
  2. Extract the archive to a directory of your choice, such as C:\Program Files\BA Insight\SmartHub\.

Give Read/Write Permissions to System User Running Application Pool

To give permissions only to the system user running the application pool, assuming you are using IIS7, perform the following steps:

  1. Open IIS7.
  2. Select the web site for which you need to modify permissions.
  3. Go to Basic Settings and identify which application pool account you are using.
    1. For example, "SmartHub".
    2. By default you see ApplicationPoolIdentity When a new application pool is created, IIS creates a virtual account that has the name of the new application pool and that runs the application pool worker process under this account. This is also a least-privileged account..
    3. Note that most administrators change this identity to a different user account, such as <domain>\<YourSmartHubUser>.
  4. Go to Application pools and find the application pool from the previous step.
  5. Find the system account used for running this application pool (Identity column).

  6. Navigate to your SmartHub site in IIS, select it, and click Edit Permissions under the Actions pane on the right side.
    1. Click the Security tab and add the desired permissions for only the user account identified in step 3.

Note: If you choose the use the default identity user account ApplicationPoolIdentity in step 3, reference this system user in the format IIS AppPool\<application_pool_name>.
For example, IIS AppPool\DefaultAppPool.

Note: When adding this user, make sure to set correct locations in the Select Users or Groups dialog.
This must be set to the local machine because this is a local account.

Create the SmartHub Web Site in IIS

Note: When using the default settings below, the Application Pool account that is created does not have "Modify" permissions on the configuration folder and therefore cannot read or write configuration settings.

To secure the configuration folder for the App pool account (if the application pool account is the "auto-generated" one), see "Give Read/Write Permissions to System User running Application Pool" above.

  1. Open IIS manager.
  2. Expand <Sites>.
    1. Right-click <Sites> and select Add Website from the pop-up window that appears.
  3. Site name:
    1. Enter your site name.
    2. For example, enter SmartHub.
  4. Application pool: Select an Application pool account that has FULL permissions to your SmartHub installation directory and the files within it.
    1. The default AppPool account DOES NOT have the necessary permissions.
    2. See the topic "How to Change Your Application Pool Identity Account" below.
  5. Physical path: Enter the path to the unzipped SmartHub package as shown in the graphic above.

Bindings

As part of the installation process you create both HTTP and HTTPS bindings.

  • Type: http or https. SmartHub must have bindings for both HTTP and HTTPS. See the graphic above.

Use the following steps to enable both bindings in your SmartHub site:

  1. The Site Creation Wizard in IIS allows only a single binding when first creating a site (either HTTP or HTTPS).
  2. After you create your SmartHub site, create a second, additional binding to the same site (either HTTP or HTTPS).
  3. Port:
    1. Enter a port that is not used by another site from IIS.
      1. HTTP: Port 80 or 8080 is commonly used
      2. HTTPS: Port 443 is commonly used
  4. Host name
    1. Optional
    2. Enter a host name to restrict access to the host name (address your users enter into a web browser).
    3. The host name can be a DNS The system that converts website domain names (hostnames) into numerical values (IP address) so they can be found and loaded into your web browser. address, local machine name, localhost, and so on.
  5. Click Save.
  6. If you select Content View from the bottom of your SmartHub Content site, your folder structure should resemble the structure shown below:

    1. Note: The "Configuration" folder does not appear until you have set your Authentication mode under the "Security Settings" category in the SmartHub Administration site.


IMPORTANT! To access the site, users must have READ access to the folder.

How to Change Your Application Pool Identity Account

The SmartHub Application Pool Identity account must be the Local Administrator account with the following permissions:

  1. Run a Windows Scheduled Task (required for the BA Insight Analytics Sync Tool).
  2. Manage the Windows Service Bus (required for the BA Insight Analytics).
    To verify if the user has permission follow the next steps:
    1. Open a Service Bus PowerShell as administrator.
    2. Check to see if you have created a service namespace by issuing the following PowerShell command: Get-SBNamespace
    3. Verify if the ManageUsers group include your account.
    4. Add permissions to your account using the following PowerShell command: 
Copy
Set-SBNamespace -Name "YourNamespace" -Manage YourUser

Use the following instructions to change your Application Pool Identity account.

  1. Open IIS manager if it is not already open.
  2. Click Application Pools from the left-side Connections pane.
  3. Select the Application Pool you wish to change. Note that you can sort your Application Pools by categories such as Name, Status, Identity, Applications, and so on.
  4. Right-click the Application Pools whose identity you wish to change and select the "..." button.

  5. Select the built-in account you wish to use from the drop-down menu or else click the Custom account radio button and click the Set button.
  6. Enter the credentials of the Application Pool Identity account you wish to use. Be sure to enter the account user name in the format <domain>\<name>.