Converting a stand-alone server to high availability
You can convert an HCL DevOps Deploy (Deploy) server into the first node of a high-availability cluster.
Before you begin
- Each server in the cluster must run the same version of Deploy.
About this task
To convert a stand-alone server to the first node in a clustered configuration, you first move CodeStation to shared network storage, and then modify the server settings for multi-server operation.
Procedure
-
Move CodeStation to a shared storage location with a fast network connection.
Because each cluster server must access the same configuration files, each server must have access to this network storage. See Relocating CodeStation.
-
Install a load balancer to send requests to the servers.
The load balancer must be able to forward requests to the HTTP and HTTPS ports for the servers. For more information, see the documentation for your load balancer.Important: You must configure the load balancer for session persistence, also known as session affinity.
- Stop of the server.
-
Add the following line of code to the
install_folder/conf/server/installed.properties file:
com.urbancode.ds.UDeployServer.multiserver=true
- Start the server.
- On the new cluster server, click External Agent URL and the External User URL to the URL for the load balancer. , and set the
Results
What to do next
- Add new servers to the cluster. See Adding servers to clusters.