Before continuing, ensure that you completed the previous steps in the Scenario: Deployment of Kaspersky failover cluster.
Prepare two devices to work as the active and passive nodes of the Kaspersky Security Center Linux failover cluster.
Common folders configuration
To configure common folders:
yum install nfs-utils
apt install nfs-kernel-server
mkdir -p /mnt/KlFocStateShare
mkdir -p /mnt/KlFocDataShare_klfoc
sudo sh -c "echo <file server>:/mnt/KlFocStateShare /mnt/KlFocStateShare nfs vers=4,soft,timeo=50,retrans=2,auto,user,rw 0 0 >> /etc/fstab"
sudo sh -c "echo <file server>:/mnt/KlFocDataShare_klfoc /mnt/KlFocDataShare_klfoc nfs vers=4,noauto,user,rw,exec 0 0 >> /etc/fstab"
Where, {file server} is the FQDN of the file server with shared folders.
mount /mnt/KlFocStateShare
mount /mnt/KlFocDataShare_klfoc
Run the following command:
ls -la /mnt/
Network adapters configuration
A secondary network adapter can be physical or virtual. If you chose a deployment schema with a secondary network adapter, perform the corresponding procedure on both nodes:
yum install iputilsor
apt install iputils-arpingnmcli device status
If the command output shows the physical network adapter as not being managed, configure the NetworkManager to manage the physical network adapter. The exact configuration steps depend on your Linux distributive.
ip a
nmcli connection add type macvlan dev <physical interface> mode bridge ifname <virtual interface> ipv4.addresses <address mask> ipv4.method manual autoconnect no
yum install iputilsor
apt install iputils-arpingnmcli con del <connection name>
To check connections to the target interface, run the following command:
nmcli con show
unmanaged-devices parameter:[keyfile]
unmanaged-devices=interface-name:<interface name>
systemctl reload NetworkManager
To ensure that the target interface is no longer managed, run the following command:
nmcli dev status
Load balancer configuration
If you chose a deployment schema with a load balancer, follow the instruction below to configure it.
To configure the load balancer:
To deploy Kaspersky Security Center Linux failover cluster, follow the further instructions of the scenario.
The availability of the failover cluster nodes should be determined by the availability of the main connection ports to the Administration Server. The passive node does not accept any external connections until a switch occurs.