4 4 3 Tigon:OpenNebula Backup

From SEPsesam
Jump to: navigation, search
Other languages:
Deutsch • ‎English

Copyright © SEP AG 1999-2020. All rights reserved.

Any form of reproduction of the contents or parts of this manual is allowed only with the express written permission from SEP AG. When compiling and designing user documentation SEP AG uses great diligence and attempts to deliver accurate and correct information. However, SEP AG cannot issue a guarantee for the contents of this manual.

Docs latest icon.png Welcome to the latest SEP sesam documentation version 4.4.3 Tigon/4.4.3 Beefalo V2. For previous documentation version(s), check documentation archive.


Information sign.png SEP AG has discontinued support for SEP sesam version 4.4.3 Tigon (V1 and V2). Instructions are still available for these SEP sesam products, however, SEP AG accepts no responsibility or liability for any errors or inaccuracies in the instructions or for the incorrect operation of obsolete SEP sesam software. It is strongly recommended that you update your SEP sesam software to the latest version.


Overview

SEP sesam provides efficient data protection for virtual machines (VMs) running in OpenNebula environments. Supported are OpenNebula 5.2.1 with DRBD backend. By using the SEP Sesam OpenNebula module, you can benefit from online backup of your virtual machines including configuration.

SEP sesam OpenNebula integration advantages

  • Live FULL backup of persistent OpenNebula virtual machines via snapshot.
  • Backup of virtual machine configuration.
  • Simple restore of complete OpenNebula virtual machines and single file restore of files, folders, and volumes from the OpenNebula VM backup (v. ≥ 4.4.3 Beefalo V2). For details, see OpenNebula Restore.

SEP sesam requirements

To ensure error-free operation of SEP sesam and improve performance, make sure that the following conditions are met:

OpenNebula environment requirements

SEP sesam backup module for OpenNebula utilizes the standard OpenNebula toolset. It expects the OpenNebula virtual machines to be manageable using the standard onevm and oneimage tools. It also expects the VMs to be hosted upon central storage within the ONE cluster environment, preferably using the DRBD backend.

Backup workflow

  • Snapshot for the virtual machines image file is created using OpenNebula snapshot tools.
  • Virtual machine disks are backed up on block level.
  • Virtual machine config is backed up.
  • Snapshot is deleted.

Adding the OpenNebula client to SEP sesam environment

Once you have downloaded the SEP sesam package, configure your OpenNebula as a client by adding it to the SEP sesam environment. From Main selection -> Components -> Topology -> New Client -> add your OpenNebula client. For details, see Configuring Clients.

Information sign.png Note
Before proceeding, you should validate that you can backup to SEP sesam. Run a test Path backup manually to ensure that the backups work. For details on typical backup configuration, see Standard Backup Procedure.

Configuring OpenNebula backup task

Configuring an OpenNebula backup on a SEP sesam Server involves creating an OpenNebula backup task, setting up a backup schedule (specifying when you want to back up your data) and linking the schedule to a backup event (specifying how to back up the data and where to back it up to). For general details on backup configuration and prerequisites, see Standard Backup Procedure. However, configuring an OpenNebula backup differs slightly from the standard procedure and requires some OpenNebula-specific steps, which are described below.

Information sign.png Note
  • Make sure to remove any existing snapshots of the virtual machine you want to back up before starting the backup.
  • When backing up via hypervisor and using external disk, SEP sesam cannot back up the data on the RDM disks or on a VM without attached SCSI controller(s). The data of such disks is silently skipped from backup, hence the backup saveset contains no data for the external disk, while the backup succeeds and no warning about the missing data is issued. If a restore of a VM with external disk is performed to the original VM by using the option overwrite, the disk is re-created and all existing data on the restore target is lost.
    To back these hypervisors, you have to add one or more SCSI controller to the virtual machine before performing a backup, even if there are no devices to use the SCSI, or you have to install a SEP sesam Client in the virtual machine and perform an additional file or application backup to back up this data.
  1. From Main Selection -> Tasks -> By Clients, select OpenNebula client and click New Backup Task. The New Backup Task window opens.
  2. Select the Source. Click the Browse button (big arrow) and select the OpenNebula virtual machine that you want to back up from the listed virtual machines detected on the host system.
  3. OpenNebula source.jpg

    By selecting the source, the task type and task name are set automatically.

    OpenNebula bck task.jpg

  4. If you want to define other options (such as pre/post backup and restore commands, set encryption or compress data (do not use this option if you want to restore a single file!), set credentials for OS access, consolidate individual tasks under a specific task group, assign a task to the schedule), click the corresponding tabs in the New Backup Task window.
    Click OK to create the task.
  5. If you want to start the newly created task immediately, right-click the name of the task and click Immediate Start. If you want to create a periodic backup, you have to create a schedule for your backup task: Click New Schedule under Main Selection -> Scheduling -> Schedules and set up a schedule. For more details, see Creating a schedule.
  6. SEP Tip.png Tip
    You can also add your backup task to an existing schedule by double-clicking the backup task, selecting the tab Schedules and adding it to one or more schedules. Additionally, you can group your backup tasks to task groups. For details, see Adding a Task to the Task Group.
  7. Once you have configured a schedule, you must create a new backup event for it. For general information on creating a backup event, see Creating a backup event. Note that only FULL or COPY backups of OpenNebula virtual machines are supported.

You can view the status of your backup jobs by selecting Last Backup State in the Main Selection window. The backup status overview provides detailed information on the last run of backup jobs, including the task name, start and stop time of the last backup, backup level, data size, throughput, assigned media pool, etc.

Information sign.png Note
As of 4.4.3 Beefalo V2, you can check the details of your backups online by using new Web UI. For details, see SEP sesam Web UI.