openstack-manuals/doc/install-guide/source/cinder-backup-install-obs.rst
Doug Hellmann c7bfdbb44f split install guide into separate files by OS
Provide a script for interpreting the "only" directives and splitting
the existing content up into standalone files for each OS to make it
easier for project teams to copy the parts they need into their own
project documentation trees without requiring separate platform builds.

The files have been hand-edited to pass the niceness check and to allow
the install guide to build.

The script for building the guide has been changed to not build separate
copies per OS.

Change-Id: Ib88f373190e2a4fbf14186418852d971b33dca85
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
2017-06-19 11:29:52 -04:00

1.6 KiB

orphan

Install and configure the backup service

Optionally, install and configure the backup service. For simplicity, this configuration uses the Block Storage node and the Object Storage (swift) driver, thus depending on the Object Storage service.

Note

You must install and configure a storage node <cinder-storage> prior to installing and configuring the backup service.

Install and configure components

Note

Perform these steps on the Block Storage node.

  1. Install the packages:

    # zypper install openstack-cinder-backup
  2. Edit the /etc/cinder/cinder.conf file and complete the following actions:

    • In the [DEFAULT] section, configure backup options:

      [DEFAULT]
      # ...
      backup_driver = cinder.backup.drivers.swift
      backup_swift_url = SWIFT_URL

      Replace SWIFT_URL with the URL of the Object Storage service. The URL can be found by showing the object-store API endpoints:

      $ openstack catalog show object-store

Finalize installation

Start the Block Storage backup service and configure it to start when the system boots:

# systemctl enable openstack-cinder-backup.service
# systemctl start openstack-cinder-backup.service