Dependencies for Clustering

1 minute read

A clustered configuration has the following minimum requirements:

  • Two or more copies of the CloudBees CD server. Clustering is supported starting with CloudBees CD 5.0.

  • Two or more CloudBees CD agents.

  • At least one CloudBees CD web server on its own machine, or two or more servers if you are using clustering for reliability improvements.

  • An enterprise license. The license is required by CloudBees CD to connect to an external database.

  • Apache ZooKeeper as the centralized service for maintaining configuration information.

  • ZooKeeper should be installed on a machine without a CloudBees CD server or load balancer. This separation of services is advised to optimize the performance and reliability of your configuration.

  • ZooKeeper must be installed on an odd number of machines. For example, you may need 1, 3, 5, or more instances of the software depending on your environment.

  • The CloudBees CD servers must be configured to appear as a single instance in ZooKeeper.

  • A hardware load balancer or load-balancing software installed on one machine.

  • The web servers, agents, and CloudBees CD servers should share a common file system for plugin information.

CloudBees recommends at least one CloudBees CD web server on its own machine or two or more servers if you are using clustering for reliability improvements.

Multiple CloudBees CD clusters can use the same database server, but not the same database schema instance.