Setting Up Redis-Based State Server

State server is set up on a server with installed BI server.

To set up state server based on Redis:

  1. Create the Statable parameters of the REG_DWORD type with the 1 value in the registry key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\PP\BIS\System\Session] or with the Yes value in the identical section of the settings.xml file.

  2. Create the StateServer subsection in the registry key [HKLM\SOFTWARE\Foresight\Foresight Analytics Platform\10.0\PP\BIS\System] or in the identical section of the settings.xml file. Fill in the subsection with state server connection parameters:

NOTE. To use state server, monikers must be generated by BI server via GUID (the KeyIncr parameter in settings must be set to 0).

The example of settings in the settings.xml file:

<Configuration>
  <Root>
    <Key Name="PP">
      <BIS>
        <Key Name="System">
          <Session KeyIncr="0" Statable="Yes" />
          <StateServer Type="Redis" Host="state-server.sample.com" Port="6379" ExpireTime="3600" />
        </Key>
      </BIS>
    </Key>
  </Root>
</Configuration>

See also:

State Server