이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 3. Install and Configure ReaR


To back up the undercloud and the overcloud control plane, you must first install and configure Relax and Recover (ReaR) on the undercloud and on each Control Plane node.

3.1. Install the Required Packages

The Undercloud and Control Plane Back Up and Restore procedure requires the installation of the Relax and Recover (ReaR) packages and packages for generating ISO images on the undercloud node and on each Control Plane node.

  1. Install the required packages on the undercloud and on each Control Plane node. For example:

    [root@controller-x ~]# yum install rear genisoimage nfs-utils -y
    Copy to Clipboard Toggle word wrap
  2. Create a backup directory on the undercloud and on each Control Plane node. For example:

    [root@controller-x ~]# mkdir -p /ctl_plane_backups
    Copy to Clipboard Toggle word wrap
  3. Mount the ctl_plane_backups NFS directory from the backup node running NFS on the undercloud and on each Control Plane node. For example:

    [root@controller-x ~]# mount -t nfs  <ip-addr>:/ctl_plane_backups /ctl_plane_backups
    Copy to Clipboard Toggle word wrap

    Replace <ip-addr> with the IP address of the backup node running the NFS server.

3.2. Create the Configuration Files

As root on the undercloud and on each Control Plane node, perform the following steps:

  1. Create the ReaR configuration file.

    [root@controller-x ~]# mkdir -p /etc/rear
    [root@controller-x ~]# tee -a "/etc/rear/local.conf" > /dev/null <<'EOF'
    OUTPUT=ISO
    OUTPUT_URL=nfs://{{nfs_server_ip}}/ctl_plane_backups
    ISO_PREFIX={{SERVER_NAME-X}}
    BACKUP=NETFS
    BACKUP_PROG_COMPRESS_OPTIONS=( --gzip )
    BACKUP_PROG_COMPRESS_SUFFIX=".gz"
    BACKUP_PROG_EXCLUDE=( '/tmp/*' '/data/*' )
    BACKUP_URL=nfs://{{nfs_server_ip}}/ctl_plane_backups
    BACKUP_PROG_EXCLUDE=("${BACKUP_PROG_EXCLUDE[@]}" '/media' '/var/tmp' '/var/crash')
    BACKUP_PROG_OPTIONS+=( --anchored --xattrs-include='*.*' --xattrs )
    EOF
    Copy to Clipboard Toggle word wrap

    Replace {{SERVER_NAME-X}} with the hostname of the node. For example, if the node hostname is controller-0, replace {{SERVER_NAME-X}} with controller-0. Replace {{nfs_server_ip}} with the IP address of the backup node running the NFS server configured in Chapter 2, Prepare the Backup Node.

    Important

    If the undercloud or Control Plane nodes use UEFI as their boot mode, you MUST add USING_UEFI_BOOTLOADER=1 to the configuration file too.

  2. Create the rescue.conf file.

    [root@controller-x ~]# tee  -a "/etc/rear/rescue.conf" > /dev/null <<'EOF'
    BACKUP_PROG_OPTIONS+=( --anchored --xattrs-include='*.*' --xattrs )
    EOF
    Copy to Clipboard Toggle word wrap
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2026 Red Hat
맨 위로 이동