Setting Up a Cache Server

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

If your installation uses a single application node, the installation will not enable the cache services; instead, the installation will 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 the (installation documentation).
  2. Because the cache server machine's only function will be operating as a cache server, only enable the cache service. To do this, type the following as jive user:
    Note: If you're logged in as root, you can use su - jive to become the jive user.
    jive enable cache
  3. Configure the cache server with its address.
  4. Register and start the caching service by using the following commands. For more on setting up multiple cache servers and high-availability, see Configuring the Cache Servers for High-Availability
    jive set cache.hostnames hostname
    jive start
    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, when you go to System > Settings > Caches