此内容没有您所选择的语言版本。

Chapter 2. Preparing the backup node


Before you back up the undercloud or control plane nodes, prepare the backup node to accept the backup images.

2.1. Preparing the NFS server

ReaR can use multiple transport methods. Red Hat supports back up and restore with ReaR using NFS.

  1. Install the NFS server on the backup node.

    [root@backup ~]# dnf install -y nfs-utils
  2. Add the NFS service to the firewall to ensure ports 111 and 2049 are open. For example:

    [root@backup ~]# firewall-cmd --add-service=nfs
    [root@backup ~]# firewall-cmd --add-service=nfs --permanent
  3. Enable the NFS server and start it.

    [root@backup ~]# systemctl enable nfs-server
    [root@backup ~]# systemctl restart nfs-server

2.2. Creating and exporting the backup directory

To copy backup ISO images from the undercloud or control plane nodes to the backup node, you must create a backup directory.

Prerequisites

Procedure

  1. Create the backup directory:

    [root@backup ~]# mkdir /ctl_plane_backups
  2. Export the directory. Replace <ip-addr>/24 with the IP address and subnet mask of the network:

    [root@backup ~]# cat >> /etc/exports << EOF
    /ctl_plane_backups <ip-addr>/24(rw,sync,no_root_squash,no_subtree_check)
    EOF

    The entries in the /etc/exports file are in a space-delimited list. If the undercloud and the overcloud control plane nodes use different networks or subnets, repeat this step for each network or subnet, as shown in this example:

    cat >> /etc/exports << EOF
    /ctl_plane_backups 192.168.24.0/24(rw,sync,no_root_squash,no_subtree_check)
    /ctl_plane_backups 10.0.0.0/24(rw,sync,no_root_squash,no_subtree_check)
    /ctl_plane_backups 172.16.0.0/24(rw,sync,no_root_squash,no_subtree_check)
    EOF
  3. Restart the NFS server:

    [root@backup ~]# systemctl restart nfs-server
  4. Verify that the entries are correctly configured in the NFS server:

    [root@backup ~]# showmount -e `hostname`
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2026 Red Hat
返回顶部