-
Notifications
You must be signed in to change notification settings - Fork 37
Ephemeral Data Storage Support
SSDB has been selected as an alternative to storing short lived data inside the LDAP directory. If SSDB is not available or un-configured the {product-name} will continue to store the following types of short-lived data in LDAP:
-
Authentication tokens
-
CSRF tokens
-
Last Login Timestamps
Storing these types of data in LDAP has been reported to cause LDAP instability when an installation has large numbers of active accounts. The number of accounts necessary to cause an issue varies with the size of the machines running the {product-name} platform.
There are two methods of enabling SSDB support in {product-name}:
-
During {product-name} installation
-
Post-installation configuration
Note: SSDB server installation is outside of the scope of this document. It must be installed and running before completing the configuration steps.
The Ephemeral data storage method is configured during the post-install configuration
menu underneath the zimbra-ldap
section.
-
From the
main menu
select option #2 forzimbra-ldap
. -
Choose option #4 to enable
Store ephemeral attributes outside Ldap
-
Provide the
SSDB
connection string -
The installer will attempt to connect to the
SSDB
server specified and if successful will save the configuration.
ssdb:<ip address|hostname>:<port> ssdb:127.0.0.1:8888 ssdb:ssdb-server.local:8888
Configuring an already running {product-name} installation
to utilize SSDB
instead of LDAP
for short lived data storage
through the following process:
-
Install
SSDB
and note the ip address and port configured since you will need this data for the next steps. -
Configure the {product-name} to utilize
SSDB
. -
Migrate any existing short-lived data to
SSDB
using the/opt/zimbra/bin/zmmigrateattrs
command.
The migration procedure will start from step #2 above:
-
Access the command prompt on one of the machines in the installation.
-
Configure the {product-name} to use
SSDB
:
You may use either an ip address or a hostname for the host portion of the configuration item. In this case you will need to ensure it resolves to the proper ip address.
sudo su - zimbra zmprov mcf zimbraEphemeralBackendURL ssdb:<ip address|hostname>:port # subsituting your server values
-
Migrate any existing attributes from LDAP → SSDB
sudo su - zimbra # Specify -r for a dry run /opt/zimbra/bin/zmmigrateattrs zimbraAuthTokens zimbraCsrfTokenData zimbraLastLogonTimestamp -n 4