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
- You installed and enabled the NFS server. For more information, see Preparing the NFS server.
Procedure
Create the backup directory:
[root@backup ~]# mkdir /ctl_plane_backups
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
Restart the NFS server:
[root@backup ~]# systemctl restart nfs-server
Verify that the entries are correctly configured in the NFS server:
[root@backup ~]# showmount -e `hostname`