Reveal Help Center

Install Reveal AI Service

The AI (artificial intelligence) service provides COSMIC, Alerts, Language Modeling, Job Scheduling and Vector creation services.

Follow the steps below to install Reveal AI AI Service:

  1. Copy all files from 04.Service folder to a local folder on AI Server, for example, “C:\nexlp”:

    6063879c5bc44.png
  2. Browse to folder “2.90.xx\04.Service\service\ServiceTemplateProduction\NexlpServiceAi_2.90.xx”:

    6063879f1bfff.png
  3. Open config_this_service.bat file, update the highlighted sections below:

    REM Location of the Reveal AI root folder for which the service will need read/write access

    REM This folder will contain a subfolder for logs among other things

    REM Do not end in a slash, no quotes

    SET C_NEXLP_ROOT_PATH=c:\nexlp

    REM The account the service will run under

    REM If local account, you can use .\[username], otherwise use [domain]\[username]

    SET C_SERVER_SERVICE_USER=.\NexlpServiceAccount

    REM Don't leave your real password here in plain text after installing the service

    REM It is preferred to set this through the Windows Services window after installation; the service won't start without a valid password

    REM Be sure to read the README file. It is better to set the password through the Windows Services app because of permissions

    SET C_SERVER_SERVICE_PASSWORD=PASSWORD_HERE_TEMPORARILY

    REM Java max memory value. 10000m=10GB, 40000m=40GB

    SET C_JAVA_MAX_MEMORY=12000m

    REM based on server size. Typically server memory * 0.8

    • SET C_NEXLP_ROOT_PATH =

      • Create the following folder path in the folder specified by “C_NEXLP_ROOT_PATH” parameter above: Logs\Service.

      • For example, if the “C_NEXLP_ROOT_PATH” is “C:\nexlp”, create the following folder paths: “C:\NexLP\Logs\Service”:

        60414dc1894f5.png
    • SET C_SERVER_SERVICE_USER = (Optional) You do not have to configure this option here, but this will be the account that will run the AI Service

    • SET C_JAVA_MAX_MEMORY = This will be the Maximum amount of memory given to the AI Service. We recommend that you do not use 100% of the available memory on the server to set this value.

  4. Open configService.xml file, update the highlighted sections below (this should be the same root path as the SET C_NEXLP_ROOT_PATH setting above):

    <nexlpAdminServerName>localhost</nexlpAdminServerName> <nexlpAdminDatabaseName>NexlpAdmin</nexlpAdminDatabaseName> <serviceLogRootFolder>C:\nexlp</serviceLogRootFolder>

  5. Go to NexlpUtilityConsole folder (under C:\NexLP\2.90.xx\04.Service)

    • Open “NexLPUtilityConsole.exe.config”.

    • Update the <connectionStrings> section:

      <connectionStrings>

      <add name="NexLPAdmin" connectionString="Server=localhost;Database=NexLPAdmin;Integrated Security=SSPI;Connection Timeout=120" providerName="System.Data.SqlClient" />

      </connectionStrings>

  6. Open a command line window in Admin mode, browse to “C:\NexLP\2.90.xx\04.Service\service\ServiceTemplateProduction\NexlpServiceAi_2.90.00.xxxx” folder, run the following commands:

    606387a16d3a0.png
    • C:\NexLP\2.90.xx\04.service\Service\ServiceTemplateProduction\NexlpServiceAi_2.12\install_this_service.bat
  7. Open Windows Services, find NexlpServiceAi_2.90.xx service:

    606387a34d55b.png
  8. Right click the service and open Properties page.

    • Click “Log On” tab.

    • Make sure to enter the correct password for the service account.

    • Click OK to save any changes.

    • Start the service.

      60414dc67b667.png

      Tip

      On the Recovery tab of the service you can set the First, Second and Subsequent Failures to ‘Restart the Service’. With this setting should the machine be reset or the service get turned off the service will look to start itself back up automatically.

      60414dc83b846.png
  9. Start the service and confirm that the AI Service is Running.

    606387a72fd75.png