Creating and configuring a high-availability cluster of Linux-based Integration Servers involves the following steps:
You need to install the components of the high-availability cluster on separate Linux devices. The installation is performed on the command line.
The Kaspersky Security 6.4 solution supports the installation of no more than one reserve Integration Server as part of a high-availability cluster of Integration Servers.
The procedures for installing the primary and reserve Integration Servers are the same as the procedure for installing a standalone Integration Server. By default, any installed Integration Server has the standalone role, you can change the roles of the Integration Servers later, see step 3.
To manage the certificate, you need to use the certificate management tool:
--address option, specify additional addresses: the address of the reserve Integration Server and the address of the load balancer:
sudo /opt/kaspersky/viis/bin/certificate_manager.sh create-self-signed-certs --outputFolder <path to the directory with the certificate> --address <address of the reserve Integration Server> --address <address of the load balancer>
The certificate is created in the specified directory.
sudo /opt/kaspersky/viis/bin/certificate_manager.sh replace --certificatePath <path to certificate>
On the Integration Server that will become the primary Integration Server, use the Integration Server REST API to do the following (open the description of REST API requests):
PUT /api/3.0/server/configuration/role).
Assigning the "primary" role on the Integration Server makes available the reserve Integration Server registration and de-registration functionality. The primary Integration Server starts duplicating information about the virtual infrastructure to the reserve Integration Server and periodically synchronizes data between the primary and reserve Integration Servers.
GET /api/3.0/sslConfig/getCertificate?address=<address>:<port>).POST /api/3.0/sslConfig/certificateValidator/rules).POST /api/3.0/ha/instances).
The registered Integration Server gets the "reserve" role. As a result, the Integration Server with the "reserve" role can get information about the virtual infrastructure from the primary Integration Server and provide information about SVMs to Light Agents whenever the primary Integration Server is unavailable. The rest of the Integration Server functions are blocked for the reserve Integration Server.
In the settings of SVMs and Light Agents, you need to specify the address and port of the load balancer as the address and port for connecting to the Integration Server.