Kaspersky Security Center

为 Kaspersky Security Center Linux 故障转移集群准备文件服务器

2024年5月6日

ID 222364

文件服务器是 Kaspersky Security Center Linux 故障转移集群的必需组件。

要准备文件服务器:

  1. 确保文件服务器满足硬件和软件要求
  2. 安装和配置 NFS 服务器:
    • 必须在 NFS 服务器设置中为两个节点都启用对文件服务器的访问。
    • NFS 协议的版本必须是 4.0 或 4.1。
    • Linux 内核的最低要求:
      • 3.19.0-25,如果您使用 NFS 4.0
      • 4.4.0-176,如果您使用 NFS 4.1
  3. 在文件服务器上,创建两个文件夹并使用 NFS 共享它们。其中一个用于保存有关故障转移集群状态的信息。另一个用于存储 Kaspersky Security Center Linux 的数据和设置。您在配置 Kaspersky Security Center Linux 的安装时将指定共享文件夹的路径。

    运行以下命令:

    sudo yum install nfs-utils

    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,sync,no_subtree_check,no_root_squash\) >> /etc/exports"

    sudo cat /etc/exports

    sudo exportfs -a

    sudo systemctl start rpcbind

    sudo service nfs start

    通过运行以下命令启用自动启动:

    sudo systemctl enable rpcbind

  4. 重新启动文件服务器。

文件服务器已准备就绪。要部署 Kaspersky Security Center Linux 故障转移集群,请按照此方案中的进一步说明进行操作。

另请参阅:

关于 Kaspersky Security Center Linux 故障转移集群

方案:部署 Kaspersky Security Center Linux 故障转移集群

Did you find this article helpful?
What can we do better?
Thank you for your feedback! You're helping us improve.
Thank you for your feedback! You're helping us improve.