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
Ensure that the following folders do not exist:
If any of these folders exists, recursively delete it.
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 770 /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,sync,no_subtree_check,no_root_squash\) >> /etc/exports"
sudo exportfs -a
sudo systemctl start rpcbind
sudo systemctl start nfs-server
Enable autostart by running the following command:
sudo systemctl enable rpcbind
You can specify custom folders, but we recommend that you use the suggested folder names for convenience when using the Online Help.
The file server is prepared. To deploy the Kaspersky Security Center Linux failover cluster, follow the further instructions in this scenario.