Setting up cache server

Use the same Linux package that you used to install the application servers to install a separate cache server that application servers can use in a cluster.

If your installation uses a single application node, the installation does not enable the cache services; instead, the installation use the local cache installed with the application server. When you have a multi-node configuration, use the following steps to set up a cache service in the cluster.

To install a cache server:

  1. Install the RPM as described in Installing Jive package and starting up.
  2. Because the cache server machine's only function is operating as a cache server, only enable the cache service. To do this, type the following as jive user:
    jive enable cache
    Note: If you're logged in as root, you can use su - jive to become the jive user.
  3. Configure the cache server with its address.
  4. Register and start the caching service by using the following commands.
    jive set cache.hostnames hostname
    jive start

    For more information on setting up multiple cache servers and high-availability, see Configuring Cache servers for high-availability.

    The cache service writes several log files to $JIVE_HOME/var/logs/. These are:

    • cache-service.out: Cache startup messages, output from the cache processes, showing start flags, restarts, and general errors.
    • cache-gc.log: Output from garbage collection of the cache process.
  5. If you haven't already, set up your application cluster to use the cache server address. You can find this in the Admin Console, at System > Settings > Caches.