Defining Redis servers

There are 3 WebSEAL configuration stanzas which are used to define the Redis servers.

Refer to the following figure:

The details for each of the stanzas are included in the following table:
Stanza Description
[redis] This is the 'master' configuration stanza which contains the configuration data which is common to all collections of Redis servers. This configuration data includes:
  • the prefix to be used for all Redis keys;
  • the name of the default collection to be used.
[redis-collection:<name>] This stanza contains the configuration entries which are common to all replicated Redis servers within a single collection of servers. This includes configuration data such as:
  • the Host header which is used to match this collection;
  • the list of Redis server names within the collection;
  • various performance and timeout configuration entries.
[redis-server:<name>] This stanza contains the configuration entries which are used to define the connection details for a single Redis server. This includes configuration data such as:
  • the server and port on which to connect to the Redis server;
  • the password which is used when authenticating to the Redis server;
  • SSL/TLS information for making a secure connection to the Redis server.