A file server works as a required component of a Kaspersky Security Center Linux failover cluster.
To prepare a file server:
Depending on your Linux distribution, install either nfs-utils package or nfs-kernel-server package by running the corresponding command:
sudo yum install nfs-utils
sudo apt install nfs-kernel-server
Run the following commands:
sudo mkdir -p /mnt/KlFocStateShare
sudo mkdir -p /mnt/KlFocDataShare_klfoc
sudo chown ksc:kladmins /mnt/KlFocStateShare
sudo chown ksc:kladmins /mnt/KlFocDataShare_klfoc
sudo chmod -R 777 /mnt/KlFocStateShare /mnt/KlFocDataShare_klfoc
sudo sh -c "echo /mnt/KlFocStateShare *\(rw,sync,no_subtree_check,no_root_squash\) >> /etc/exports"
sudo sh -c "echo /mnt/KlFocDataShare_klfoc *\(rw,exec,sync,no_subtree_check,no_root_squash\) >> /etc/exports"
sudo exportfs -a
sudo systemctl start rpcbind
sudo service nfs start
Enable autostart by running the following command:
sudo systemctl enable rpcbind
The file server is prepared. To deploy the Kaspersky Security Center Linux failover cluster, follow the further instructions in this scenario.