Setting Up State Server Based on Memcached

Information about installation and basic settings for Memcached can be found at the website http://memcached.org/.

NOTE. It supports working with Memcached 1.4.36 or earlier.

After installing the Memcached application, execute the following to set up the application to use as a state server:

  1. Specify state server parameters at the workstation with installed BI server. In Windows OS, settings are determined in the Settings.xml settings file or in registry. In Linux OS, settings are determined in the registry.reg or settings.xml files (for details about purpose and location of the files, see the Configuration and Setup subsection).
    Set the Statable parameter to Yes. In the StateServer section specify state server parameters:

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

The example of the settings.xml configuration file:

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

See also:

Working with State Server