Adding servers to clusters
You can add new servers to a cluster at installation time, or you can move existing servers to be part of a cluster.
Installing new cluster servers
The easiest way to add servers to a cluster is to install new servers. The installation program sets them up to be part of the cluster.
Before you begin
- Set up a cluster of servers, including setting up a load balancer, shared database, and network storage. See Setting up clusters of servers.
- Each server must run the same version of HCL Launch.
Procedure
-
On the system on which you are installing the new server, set up a connection to the
network storage.
For example, on Linux™ systems, you might mount a remote drive to the local file system.
-
Install the server as described in Installing the server in interactive mode with
the following details:
- When the installation program asks for database information, specify the shared database for the cluster.
- When the installation program asks for the host name for users to access, specify the host name of the load balancer.
- When the installation program asks whether the server is part of a high-availability cluster, specify yes.
- When the installation program asks for the location of the application data, specify the same folder on the network storage that the other cluster servers are using. If this is the first server in the cluster, you can specify any folder on the network storage. In this case, other servers that you add to the cluster must also use this folder.
-
Set the new server to use the same security certificate as the existing servers.
For example, you can copy the certificate in the /opt/tomcat/conf/tomcat.keystore file to the other servers. Edit the tomcat.key.alias property in installed.properties file to specify the alias in the keystore that contains the certificate to use.
tomcat.key.alias=alias_of_your_certificate_in_tomcat_keystore
- If there are other servers in the cluster, create a cluster connect on one of the existing servers to the new server.
- Configure the load balancer to send HTTP/HTTPS traffic to the new cluster server.
Moving existing servers to a cluster
Before you begin
- Set up a cluster of servers, including setting up a load balancer, shared database, and network storage. See Setting up clusters of servers.
- Each server must run the same version of HCL Launch.
Procedure
-
On the system that hosts the server, set up a connection to the network
storage.
For example, on Linux™ systems, you might mount a remote drive to the local file system.
- If the sever contains elements that you want to keep, such as components, applications, or processes, export those elements and import them into an existing cluster server.
- Stop the server.
-
Edit the installed.properties file on the server, located in the
install_folder/conf/server directory.
-
Set the new server to use the same security certificate as the existing servers.
For example, you can copy the certificate in the /opt/tomcat/conf/tomcat.keystore file to the other servers. Edit the tomcat.key.alias property in installed.properties file to specify the alias in the keystore that contains the certificate to use.
tomcat.key.alias=alias_of_your_certificate_in_tomcat_keystore
- 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
- Click Save.
- On one of the existing cluster servers, create a network relay to the new server.