This section provides details about configuring CloudBees CD/RO servers to operate in a clustered mode. After you install CloudBees CD/RO on servers participating in the cluster, you must configure them to operate in a clustered mode.
Prerequisites:
IPv6 addresses are only supported for Kubernetes platforms. If using an IPv6 address, enclose the address in square brackets. Example: [<IPv6-ADDRESS>] .
|
Configure cluster servers
Follow the steps in this section to configure all the CloudBees CD/RO servers and web servers participating in the cluster. You need the following information:
-
The load balancer IP addresses or FQDNs.
-
The list of ZooKeeper server IP addresses or FQDNs.
In addition, locate the ecconfigure
tool:
-
Linux:
/opt/cloudbees/sda/bin/ecconfigure
-
Windows:
C:\Program Files\CloudBees\Software Delivery Automation\bin\ecconfigure.exe
On each CloudBees CD/RO server and web server node,
-
Sign in as the user that runs the CloudBees CD/RO server or as a user with administrative privileges.
-
On each CloudBees CD/RO server node, issue the following command:
ecconfigure --serverName <load_balancer_FQDN> \ --serverZooKeeperConnection <ZooKeeper_servers> \
Where:
-
<load_balancer_FQDN>
is the fully-qualified domain name of your load balancer machine. -
<ZooKeeper_servers>
is a comma-separated (no spaces) list of theIP_address:port_number
orFQDN:port_number
for each of your three or five ZooKeeper servers. The port number for ZooKeeper is normally 2181.Example for a three-ZooKeeper cluster:
ecconfigure --serverName machine.example.com \ --serverZooKeeperConnection 10.0.2.1:2181,10.0.2.2:2181,10.0.2.3:2181
-