PingDirectory

Configuring multiple preloading methods

You can configure multiple preloading methods to achieve the benefits of preloading without delaying PingDirectory server startup.

Steps

  1. Set prime-method to preload-internal-nodes-only, which caches all of the keys within the database, but not the values.

    The database values themselves can be cached in the background after the server has been started with the cursor-across-indexes option.

    Example:

    $ bin/dsconfig set-backend-prop \
      --backend-name userRoot \
      --add prime-method:preload-internal-nodes-only \
      --add prime-method:cursor-across-indexes \
      --set background-prime:true
  2. To apply the changes, restart the PingDirectory server.

    1. Run bin/stop-server.

    2. Run bin/start-server.