Setting Up a Cluster

Before you set up the nodes in a cluster you should have already configured a cache server, as described in the high-level steps below. The cluster will require the presence of a cache server in order to cache data that should be available to all nodes in the cluster. If your cache server isn't configured and running, you won't be able to set up the cluster.

Note: Your license determines whether or not clustering is enabled and how many nodes are supported. To check on the number of clustered servers your license allows, see the license information after logging into the admin console.

Topology

The nodes in a cluster need to be installed on the same subnet, and preferably on the same switch. You cannot install nodes in a cluster across a WAN.

Important Notes

Before you get started, be sure to read through the following notes related to setting up a cluster.

High-Level New Installation Steps

Important: If, as part of your new installation, you're setting up one node as a template, then copying the home directory (such as /usr/local/jive/applications/<instance_name>/home) to other nodes in the cluster, you must remove the node.id file and the crypto directory from the home directory before starting the server. The application will correctly populate them.
  1. Use the application package (such as the RPM on Linux) to set up a cache server on a separate machine. See Setting Up a Cache Server for more information. Note the cache server address for use in setting up application servers.
  2. Before proceeding, make sure the cache server you set up is running. It must be running while you set up application server nodes.
  3. On each node in the cluster, install the application instance using the package (RPM on Linux or package on Solaris), but don't run the setup tool yet.

    See the installation instructions for more information on installing the application with a package.

  4. Start one node and navigate to its instance with a web browser. In the setup screen provided, enter the address of the cache server you installed, then complete the setup tool.
  5. After you've finished with the setup tool, restart the application server.
  6. Manually copy the encryption keys from the /usr/local/jive/applications/app_name/home/crypto directory to each of the other nodes.
  7. Start the application server on each of the other nodes. Because it's connecting to the same database used by the server on the node you've already set up, the server on each subsequent node will detect that clustering is enabled. Each will also pick up configuration you set on the first node.
  8. After setting up all of the application server nodes and running them once, restart all servers in the cluster to ensure that the address of each node in the cluster is known to all the other nodes. The entire cluster must be bounced after all the nodes are set up.

High-Level Upgrade Steps

When you're upgrading from a version prior to 4.5.0 (and after 3.0.0), be sure to follow the high-level steps listed here. Note that you must upgrade from version 4.0.0 or later.

  1. Stop all application server nodes in the cluster.
  2. Use the application package (such as the RPM on Linux) to set up a cache server on a separate machine. See Setting Up a Cache Server for more information. Note the cache server address for use later in setting up application servers.
  3. Before proceeding, make sure the cache server you set up is running. It must be running while you set up application server nodes.
  4. On each node in the cluster, upgrade the application instance using the package (RPM on Linux or package on Solaris), but don't run the setup tool yet.

    For more information on upgrading the package, see Upgrading a Linux Package.

  5. Start one node and navigate to its instance with a web browser. Work through the upgrade tool, allowing it to run the upgrade tasks it lists.
  6. Restart the application server you've upgraded navigate to it with a web browser again. In the setup screen provided, enter the address of the cache server you installed, then complete the setup tool.
  7. After you've finished with the setup tool, restart the application server.
  8. Start the application server on each of the other nodes. Because it's connecting to the same database used by the server on the node you've already set up, the server on each subsequent node will detect that clustering is enabled. Each will also pick up configuration you set on the first node.
  9. After setting up all of the application server nodes and running them once, restart all servers in the cluster to ensure that the address of each node in the cluster is known to all the other nodes. The entire cluster must be bounced after all the nodes are set up.