Archive:RHEV backup: Difference between revisions

From SEPsesam
(Undo revision 46788 by Crissi (talk))
m (Jus moved page RHEV backup to Archive:RHEV backup)
 
(14 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<!-- {{draft‎}} -->
<!-- {{draft‎}} -->
{{Copyright SEP AG|en}}
{{Copyright SEP AG|en}}
{{Navigation_latest|release=4.4.3/4.4.3 ''Tigon''|link=[[RHEV|RHEV archive]]}}<br />
{{Navigation_previous|link=[[Special:MyLanguage/RHV|RHV]]}}<br />
==Overview==
==Overview==
<div class="boilerplate metadata" id="Additional resources" style="background-color: #f0f0f0; color:#636f73; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b>Additional resources</b></center>
<div class="boilerplate metadata" id="Additional resources" style="background-color: #f0f0f0; color:#636f73; border: 1px ridge #cdd3db; margin: 0.5em; padding: 0.5em; float: right; width: 35%; "><center><b>Additional resources</b></center>
Line 11: Line 11:


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Troubleshooting_Guide#VMware_vStorage_API]]
| rowspan="2" style="padding:0px 10px 0px;" | [[File:SEP Troubleshooting.png|45px|link=Special:MyLanguage/Troubleshooting_Guide#Other]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | If you have a problem with your RedHat Enterprise Linux, check the [[Troubleshooting_Guide#Red_Hat_Enterprise_Linux|Troubleshooting Red Hat Enterprise Linux]].  
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | If you have a problem with your RedHat Enterprise Linux, check the [[Special:MyLanguage/Troubleshooting_Guide#Red_Hat_Enterprise_Linux|Troubleshooting Red Hat Enterprise Linux]].  
|}
|}


{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
{|style="margin: auto; margin-bottom:1em; width:100%; border:0px solid grey;"
| rowspan="2" style="padding:0px 10px 0px;" | [[File:icon_archived_docs.png|45px|link=VMWare]]
| rowspan="2" style="padding:0px 10px 0px;" | [[File:icon_archived_docs.png|45px|link=Special:MyLanguage/RHEV]]
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | If you are using an older SEP sesam version, refer to [[RHEV|RHEV previous version]] of the documentation.
| style="padding:0px 40px 0px 10px; color: grey; font-size: 90%; text-align:left;" | If you are using an older SEP sesam version, refer to [[Special:MyLanguage/RHEV|RHEV previous version]] of the documentation.
|}</div>
|}</div>
SEP AG offers a solution to perform snapshot based backups of virtual machines in RHEV (Red Hat Enterprise Virtualization) environments. This backup technology is developed together with Red Hat and uses components of the libvirt API to grant a consistent backup.
SEP AG offers a solution to perform snapshot based backups of virtual machines in RHEV (Red Hat Enterprise Virtualization) environments. This backup technology is developed together with Red Hat and uses components of the libvirt API to grant a consistent backup.


=== Key features ===
=== {{anchor|key}}Key features ===
===== <span style="color:darkgreen">Supported Systems</span> =====
===== <span style="color:darkgreen">Supported Systems</span> =====
* Red Hat Enterprise Linux Server 7
* Red Hat Enterprise Linux Server 7


===== <span style="color:darkgreen">Backup level</span> =====
===== <span style="color:darkgreen">Backup level</span> =====
For now, only '''COPY''' backup is supported for RHEV. With this backup all data defined by the backup task is backed up (provisioned space). Therefore it is recommended to use the SEP Si3 target deduplication for your RHEV backups. Note that other backup types will be available soon.
For now, only '''COPY''' backup is supported for RHEV. With this backup all data defined by the backup task is backed up (provisioned space). Therefore it is recommended to use the SEP Si3 target deduplication for your RHEV backups. Note that other [[Special:MyLanguage/SEP_sesam_Glossary#backup_level|backup levels]] will be available soon.


By default the RHEV backup module creates fully memory aware snapshots of the virtual machine, if you want to disable memory snapshots you can add the additional option "-a qui=0" in the expert options.
By default the RHEV backup module creates fully memory aware snapshots of the virtual machine, if you want to disable memory snapshots you can add the additional option "-a qui=0" in the expert options.
Line 34: Line 34:
* The backup of '''individual VMs''' is supported on RHEV single server as well as on RHEV cluster.
* The backup of '''individual VMs''' is supported on RHEV single server as well as on RHEV cluster.
* The following backup methods are available for backing up multiple VMs in a RHEV cluster/data-center or RHEV single server:
* The following backup methods are available for backing up multiple VMs in a RHEV cluster/data-center or RHEV single server:
** A '''config only backup''' which backups only the virtual machine configuration
** A '''config only backup''' which backs up only the virtual machine configuration
** Backup of '''individual VMs''' which can be grouped together in one task group running on multiple hosts via the RHEV Manager resource
** Backup of '''individual VMs''' which can be grouped together in one task group running on multiple hosts via the RHEV Manager resource
*** Backup of VMs with '''specific disks''' (disk exclude)
*** Backup of VMs with '''specific disks''' (disk exclude)
Line 47: Line 47:


* SEP sesam supports restore of only one VM at a time.
* SEP sesam supports restore of only one VM at a time.
* Virtual machines must use the VirtIO subsystem for disks (SCSI). IDE or RAW disks cannot be backed up currently. In this case only backup of the virtual machine configuration is possible.
* Direct attached disks (via passthrought) are not supported.
* Only one virtual machine per task can be backed up
* Only one virtual machine per task can be backed up
* Only FULL backup or configuration backup is possible currently
* Only FULL backup or configuration backup is possible currently
Line 53: Line 53:
* During restore the Virtual Disk will consume complete thick provisioned space on the target storage! In case you have backed up a 1 TB VM disk, 1 TB must be free on the target pool the VM is created on!
* During restore the Virtual Disk will consume complete thick provisioned space on the target storage! In case you have backed up a 1 TB VM disk, 1 TB must be free on the target pool the VM is created on!


===Prerequisites===
==={{anchor|prerequisites}}Prerequisites===
* RHEL Version 7 <!-- either RHEL 7 or RHEV 3 -->
* RHEL Version 7 <!-- either RHEL 7 or RHEV 3 -->
* SEP sesam Server Version V4.4.3 or higher
* SEP sesam Server Version V4.4.3 or higher
* SEP sesam Client 4.4.3.x
* SEP sesam Client 4.4.3.x
* Working name resolution for RHEV nodes and the RHEV resource (RHEV Manager)
* Working name resolution for RHEV nodes and the RHEV resource (RHEV Manager)
* Check the [[SEP_sesam_OS_and_Database_Support_Matrix|support matrix]] for the list of supported RHEV versions.
* Check the [[Special:MyLanguage/SEP_sesam_OS_and_Database_Support_Matrix|support matrix]] for the list of supported RHEV versions.
* Access to the RHEV management center (administrative user)
* Access to the RHEV management center (administrative user)
* For '''RHEV 4.0''' and sesam versions <= 4.4.3.22 an additional servicepack has to be installed on the data-mover system:
* For '''RHEV 4.0''' and sesam versions <= 4.4.3.22 an additional servicepack has to be installed on the data-mover system:


  http://download.sep.de/servicepacks/4.4.3/linux/sbc_proxy_d795ebc_x86_64_rhel7-4.4.3.22.tgz
  {{DDL|servicepacks/4.4.3/<release_version_number>/linux/sbc_proxy_d795ebc_x86_64_rhel7-4.4.3.22.tgz}}


{{Box Hint|Note|
{{Note|
We recommend our customers to update to the latest RHEV stable version available. Older RHEV versions often have problems on snapshot consolidations which can lead to broken backups. Newer RHEV versions have gained more stability in this regard and are recommended to use.}}
We recommend our customers to update to the latest RHEV stable version available. Older RHEV versions often have problems on snapshot consolidations which can lead to broken backups. Newer RHEV versions have gained more stability in this regard and are recommended to use.}}


====Hardware====
====Hardware====
{{:Hardware requirements/en}}
{{Source:Hardware_requirements}}


=== Functionality ===
=== {{anchor|functionality}}Functionality ===


<!-- INSERT DATA-FLOW CHART HERE -->
<!-- INSERT DATA-FLOW CHART HERE -->
Line 114: Line 114:
! scope="col" style="width: 100px;" | LAN based backup
! scope="col" style="width: 100px;" | LAN based backup
|-
|-
|[[File:Rhev-lan-bck.jpg]]
|[[File:Rhev-lan-bck.jpg|link=]]
|}
|}
   
   
Line 128: Line 128:
! scope="col" style="width: 100px;" | LAN free backup
! scope="col" style="width: 100px;" | LAN free backup
|-     
|-     
|[[File:Rhev-san-bck.jpg]]     
|[[File:Rhev-san-bck.jpg|link=]]     
|}
|}


== Installing RHEV Backup Client ==
== {{anchor|install}}Installing RHEV Backup Client ==
In order to use the RHEV backup module a SEP sesam client with additional components must be installed on a virtual machine running RHEL 7 OS inside the RHEV environment.
In order to use the RHEV backup module a SEP sesam client with additional components must be installed on a virtual machine running RHEL 7 OS inside the RHEV environment.


Line 138: Line 138:
  rpm -ihv sesam_cli-4.4.xxx.rhel7.x86_64.rpm
  rpm -ihv sesam_cli-4.4.xxx.rhel7.x86_64.rpm


== Preparation of SEP sesam Backup Server ==
== {{anchor|preparation}}Preparation of SEP sesam Backup Server ==
Before you start with the configuration of the backup client the following steps have to be done to prepare the backup server.
Before you start with the configuration of the backup client the following steps have to be done to prepare the backup server.


Line 148: Line 148:
  sm_glbv w gv_multi_restore 1
  sm_glbv w gv_multi_restore 1


== Configuring RHEV Backup Client as DataMover ==
== {{anchor|data_mover}}Configuring RHEV Backup Client as Data Mover ==
Now the virtual machine with installed sesam client must be added with the SEP sesam server GUI. This client acts as the data mover for backups.
Now the virtual machine with installed sesam client must be added with the SEP sesam server GUI. This client acts as the data mover for backups.


Line 155: Line 155:


'''2.''' Enter the '''Client Name'''.  
'''2.''' Enter the '''Client Name'''.  
{{Box Hint|Note|
{{Note|
The datamover must have the same name as the VM in RHEV has! Means the RHEV virtual machine name for the datamover must be the same as hostname for sesam client.}}
The datamover must have the same name as the VM in RHEV has! Means the RHEV virtual machine name for the datamover must be the same as hostname for sesam client.}}


'''3.''' From the '''Platform''' drop-down list select ''Unix'', and from the '''Operating system''' select ''Linux''.
'''3.''' From the '''Platform''' drop-down list select ''Unix'', and from the '''Operating system''' select ''Linux''.


[[image:rhev-data-mover.jpg|left]]
[[image:rhev-data-mover.jpg|link=]]


<br clear=all>
<br clear=all>
Line 166: Line 166:
Click '''OK''' to add the new client.
Click '''OK''' to add the new client.


==Configuring RHEV Manager as Client==
=={{anchor|client}}Configuring RHEV Manager as Client==
The RHEV Manager must be added as client.
The RHEV Manager must be added as client.
{{Box Hint|Note|
{{Box Hint|Note|
Line 182: Line 182:
'''5.''' Change the '''VM Server Type''' to ''RHEV-Management-Server''.  
'''5.''' Change the '''VM Server Type''' to ''RHEV-Management-Server''.  


[[image:rhev-m.jpg|left]]
[[image:rhev-m.jpg|link=]]


<br clear=all>
<br clear=all>
Line 188: Line 188:
'''6.''' Select the '''RHEV Access''' tab and enter '''Account''', '''Password''' and '''Data Mover'''.
'''6.''' Select the '''RHEV Access''' tab and enter '''Account''', '''Password''' and '''Data Mover'''.


[[image:rhev-access.jpg|left]]
[[image:rhev-access.jpg|link=]]


<br clear=all>
<br clear=all>


==Backing up RHEV Virtual Machines==
=={{anchor|bck}}Backing up RHEV Virtual Machines==
Now we have to create new backup tasks for the RHEV Manager client.  
Now we have to create new backup tasks for the RHEV Manager client.  


Line 198: Line 198:
'''1.''' In the '''Main Selection''' -> '''Tasks''' -> '''By clients''', select the ''RHEV Manager'' client and then click '''New backup task'''. The ''New backup task'' window appears.
'''1.''' In the '''Main Selection''' -> '''Tasks''' -> '''By clients''', select the ''RHEV Manager'' client and then click '''New backup task'''. The ''New backup task'' window appears.


'''2.''' Specify the '''Source''' of the virtual machine you want to backup. By selecting the source, the ''backup type'' and ''task name'' are set automatically.
'''2.''' Specify the '''Source''' of the virtual machine you want to backup. By selecting the source, the ''[[Special:MyLanguage/SEP_sesam_Glossary#task_type|task type]]'' and ''task name'' are set automatically.
 
[[image:rhev-browse.jpg|link=]]
 


[[image:rhev-browse.jpg|left]]
==== Excluding Disks ====
 
Disks can be excluded by specifying the disks name in the exclude section of the backup task. As exclude the logical disk name as shown in the RHEV managment center has to specified in the exclude list. Multiple disks can be excluded by beeing seperated, example: "disk_name1,disk_name2"


<br clear=all>
<br clear=all>
Click '''OK''' to create the task.  
Click '''OK''' to create the task.<br />
[[image:rhev-task.jpg|left]]
[[image:rhev-task.jpg|link=]]


<br clear=all>
<br clear=all>
Line 212: Line 217:
'''4.''' Check backup status in SEP sesam GUI under (Main Selection) '''Job State''' -> '''Backups'''.
'''4.''' Check backup status in SEP sesam GUI under (Main Selection) '''Job State''' -> '''Backups'''.


[[File:Result.jpg]]   
[[File:Result.jpg|link=]]   


<br>'''Tip''': You can also add your backup task to an already existing schedule by double-clicking the backup task, selecting the tab '''Schedules''' and adding it to one or more schedules.
<br>'''Tip''': You can also add your backup task to an already existing schedule by double-clicking the backup task, selecting the tab '''Schedules''' and adding it to one or more schedules.


Once you configured a schedule, you need to create a new backup event for it. Go to the '''Main Selection''' -> '''Scheduling''' -> '''New Backup Event''', click the '''Parameter''' tab and select ''COPY'' backup from the '''Backup Type''' drop-down list. Note that COPY is the only supported backup level type for SEP sesam RHEV clients! For more information on Schedules and related events, see [[Schedules 4.4]].
Once you configured a schedule, you need to create a new backup event for it. Go to the '''Main Selection''' -> '''Scheduling''' -> '''New Backup Event''', click the '''Parameter''' tab and select ''COPY'' backup from the '''Backup Level''' drop-down list. Note that COPY is the only supported backup level for SEP sesam RHEV clients! For more information on Schedules and related events, see [[Special:MyLanguage/Creating_a_Schedule|Creating a Schedule]].


=== Adding a task to the task group ===
=== {{anchor|add}}Adding a task to the task group ===
Optionally, you can add your tasks for individual node or individual VM to a task group and enable triggering all tasks at once with a single event.
Optionally, you can add your tasks for individual node or individual VM to a task group and enable triggering all tasks at once with a single event.


Line 228: Line 233:
<br> '''Tip''': If you already have a configured schedule, you can link your task group to it by clicking the Schedule tab in the ''Task group'' properties window.
<br> '''Tip''': If you already have a configured schedule, you can link your task group to it by clicking the Schedule tab in the ''Task group'' properties window.


Once you configured a schedule, you need to create a new backup event for it. Go to the '''Main Selection''' -> '''Scheduling''' -> '''New Backup Event''', click the '''Parameter''' tab and select ''COPY'' backup from the '''Backup Type''' drop-down list. Note that COPY is the only supported backup level type for SEP sesam RHEV clients! For more information on Schedules and related events, see [[Schedules 4.4]].
Once you configured a schedule, you need to create a new backup event for it. Go to the '''Main Selection''' -> '''Scheduling''' -> '''New Backup Event''', click the '''Parameter''' tab and select ''COPY'' backup from the '''Backup Level''' drop-down list. Note that COPY is the only supported backup level for SEP sesam RHEV clients! For more information on Schedules and related events, see [[Special:MyLanguage/Creating_a_Schedule|Creating a Schedule]].


==Restoring RHEV Virtual Machines==
=={{anchor|restore}}Restoring RHEV Virtual Machines==
Now we have to create new backup tasks for the RHEV Manager client.  
Now we have to create new restore tasks for the RHEV Manager client.  


=== Steps ===
=== Steps ===
<ol><li> Start the '''Restore Wizard''' from '''Main Selection''' and select the RHEV backup task you want to restore.</li>
<ol><li> Start the '''Restore Wizard''' from '''Main Selection''' and select the RHEV backup task you want to restore.</li>


[[File:Rhev restore1.jpg]]
[[File:Rhev restore1.jpg|link=]]


<li>Select the RHEV backup saveset you want to restore.</li>
<li>Select the RHEV backup saveset you want to restore.</li>


[[File:Rhev restore2.jpg]]
[[File:Rhev restore2.jpg|link=]]


<li>Select the target virtual machine name you want to restore the virtual machine to.</li>
<li>Select the target virtual machine name you want to restore the virtual machine to.</li>


[[File:Rhev restore3.jpg]]
[[File:Rhev restore3.jpg|link=]]


<li>Optionally, if the virtual machine should be restored with a different name select the option '''New restore Target''' and enter a different virtual machine name.</li>
<li>Optionally, if the virtual machine should be restored with a different name select the option '''New restore Target''' and enter a different virtual machine name.</li>
Line 253: Line 258:
<br clear=all>
<br clear=all>
<li>If you want to start your restore immediately, click '''Start'''. If you want to save the restore task, click '''Save'''. </li></ol>
<li>If you want to start your restore immediately, click '''Start'''. If you want to save the restore task, click '''Save'''. </li></ol>
{{note|A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see [[Special:MyLanguage/Scheduling Restore|Scheduling Restore]].}}
{{note|A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see [[Special:MyLanguage/Scheduling_Restore|Scheduling Restore]].}}


You can view the status of your restore jobs by selecting '''Job state''' -> '''Restore''' from the ''Main selection''. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.
You can view the status of your restore jobs by selecting '''Job state''' -> '''Restore''' from the ''Main selection''. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.


== Troubleshooting ==
== Troubleshooting ==
For troubleshooting Red Hat Enterprise Linux issues, see [[Troubleshooting_Guide#Red_Hat_Enterprise_Linux|Troubleshooting Red Hat Enterprise Linux]].
For troubleshooting Red Hat Enterprise Linux issues, see [[Special:MyLanguage/Troubleshooting_Guide#Red_Hat_Enterprise_Linux|Troubleshooting Red Hat Enterprise Linux]].

Latest revision as of 10:13, 14 September 2023

Copyright © SEP AG 1999-2024. 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.

Icon archived docs.png This is not the latest version of SEP sesam documentation and, as such, does not provide information on features introduced in the latest release. For more information on SEP sesam releases, see SEP sesam Release Versions. For the latest documentation, check RHV.


Overview

SEP AG offers a solution to perform snapshot based backups of virtual machines in RHEV (Red Hat Enterprise Virtualization) environments. This backup technology is developed together with Red Hat and uses components of the libvirt API to grant a consistent backup.

Key features

Supported Systems
  • Red Hat Enterprise Linux Server 7
Backup level

For now, only COPY backup is supported for RHEV. With this backup all data defined by the backup task is backed up (provisioned space). Therefore it is recommended to use the SEP Si3 target deduplication for your RHEV backups. Note that other backup levels will be available soon.

By default the RHEV backup module creates fully memory aware snapshots of the virtual machine, if you want to disable memory snapshots you can add the additional option "-a qui=0" in the expert options.

Backup
  • SEP sesam supports backup for RHEV single server and RHEV cluster with libvirt API.
  • The backup of individual VMs is supported on RHEV single server as well as on RHEV cluster.
  • The following backup methods are available for backing up multiple VMs in a RHEV cluster/data-center or RHEV single server:
    • A config only backup which backs up only the virtual machine configuration
    • Backup of individual VMs which can be grouped together in one task group running on multiple hosts via the RHEV Manager resource
      • Backup of VMs with specific disks (disk exclude)
Restore
  • You can restore your VM to the original or different locations with the same or a different VM name using relocation.
  • You can restore your VM to the same or a different single RHEV server as well as to the same or a different RHEV cluster.
  • You can perform a simple path restore of your selected RHEV virtual machine configuration directly to a directory on any system rather than restoring and importing VM to the RHEV environment.
Limitations
  • SEP sesam supports restore of only one VM at a time.
  • Direct attached disks (via passthrought) are not supported.
  • Only one virtual machine per task can be backed up
  • Only FULL backup or configuration backup is possible currently
  • Only RHEL7 can be used as data-mover for backups and restores.
  • During restore the Virtual Disk will consume complete thick provisioned space on the target storage! In case you have backed up a 1 TB VM disk, 1 TB must be free on the target pool the VM is created on!

Prerequisites

  • RHEL Version 7
  • SEP sesam Server Version V4.4.3 or higher
  • SEP sesam Client 4.4.3.x
  • Working name resolution for RHEV nodes and the RHEV resource (RHEV Manager)
  • Check the support matrix for the list of supported RHEV versions.
  • Access to the RHEV management center (administrative user)
  • For RHEV 4.0 and sesam versions <= 4.4.3.22 an additional servicepack has to be installed on the data-mover system:
https://www.sep.de/downloadportal/servicepacks/4.4.3/<release_version_number>/linux/sbc_proxy_d795ebc_x86_64_rhel7-4.4.3.22.tgz
Information sign.png Note

We recommend our customers to update to the latest RHEV stable version available. Older RHEV versions often have problems on snapshot consolidations which can lead to broken backups. Newer RHEV versions have gained more stability in this regard and are recommended to use.

Hardware

The following are the hardware requirements for the SEP sesam Server, RDS or SEP sesam Client. They are similar for both servers, SEP sesam Server and RDS, except for the required space on the file system for the SEP sesam database, which is not necessary for RDS.

  • The hardware requirements for the SEP sesam components represent the common requirements. Additional amount of RAM/CPU may be required for bigger Si3 data stores. For details, see Si3 Deduplication Hardware Requirements.
  • (Windows only) Make sure that you are using CPUs with supported AVX versions (AVX, AVX2, or AVX-512) and FMA3 (Fused Multiply-Add 3-operand Form) or FMA4 (Fused Multiply-Add 4-operand Form) to prevent the Sesam Transfer Protocol Server (STPD) from automatically disabling the HTTPS port. This happens when the CPU instructions are missing due to unsupported AVX. Consequently, the TLS key and certificate cannot be created. For a list of supported AVX versions, see Advanced Vector Extensions.
Requirements SEP sesam Server Standard edition SEP sesam Advanced Server edition SEP sesam Premium Server edition SEP sesam Enterprise Server SEP sesam Client
Memory (without Si3 deduplication) 8 GB RAM Minimum 16 GB RAM 32 GB RAM Minimum 64 GB RAM 2 GB (recommended 4 GB)
Memory (with Si3 deduplication) Minimum 32 GB RAM Minimum 32 GB RAM 64 GB RAM Minimum 128 GB RAM Minimum 8 GB
Core (without Si3 deduplication) 1x CPU with 4 cores (≥ 2,4 GHz) 1x CPU with 8 cores (≥ 2,4 GHz) Minimum 1x CPU with 8 cores (≥ 2,4 GHz) Minimum 2x CPUs with 4 cores (≥ 2,4 GHz) -
Core (with Si3 deduplication) 1x CPU with 6 cores (≥ 2,6 GHz) 2x CPUs with 8 cores (≥ 2,6 GHz) 2x CPUs with minimum 8 cores (≥ 2,6 GHz) Minimum 2x CPUs with 8 cores (≥ 2,6 GHz) -
Minimum hard disk space for SEP sesam metadata 200 GB 300 GB 500 GB 500 GB 4 GB (for all client data)
No. of backup clients Up to 15 Recommended up to 50 Recommended up to 150 Recommended for more than 150 -


Functionality

Backup workflow

During the Backup the following workflow is happening

  • A Snapshot of the virtual machine is created.
  • Virtual machine configuration is exported from the snapshot and backed up as the first saveset stream.
  • The virtual disks represented in the snapshot are attached to the data-mover virtual machine.
  • The data of the virtual disks is backed up.
  • The snapshot of the virtual machine is removed.
Restore workflow
  • Virtual machine configuration is restored to the data-mover.
  • Target Virtual machine is created based on the configuration.
  • Target Virtual machine disks are created on the target storage domain.
  • Provisioned disks are attached to the data-mover VM.
  • Data of the disks is restored.
  • Disks are re-attached from the data-mover VM to the Target virtual machine.

The following pictures show variants on how to use the backup module for lan or lan-free backup:

LAN or LAN-Free backup

To run a SEP sesam backup and restore in a RHEV environment with the RHEV API a SEP sesam Client is necessary. This functions as a SEP sesam DataMover (central communication element) between SEP sesam Server and RHEV Data-Center. Therefore a snapshot of the virtual machine is created during the backup process and mounted to the SEP sesam DataMover. The snapshots can be transferred via LAN or SAN (Storage Area Network). If a SAN storage device is available for SEP sesam, the transfer is done directly (LAN free).

The blue arrows in the illustration are showing the direction of the connection establishment for communication and metadata transfer.

The red arrows in the illustration are showing the direction of the connection establishment for data transfer to connected storages.

LAN based backup scenario
1. Start backup process with connection to the RHEV Manager host.
2. Create consistent snapshot of virtual machine with RHEV Manager backup API.
3. Mount snapshot to Sesam DataMover VM.
4. Transfer snapshot from Sesam DataMover VM to Sesam Server via LAN.
5. Store Snapshot on connected storage devices (Sesam DataStore, Sesam Si3 DedupeStore, Autoloader).
LAN based backup
Rhev-lan-bck.jpg
LAN free backup scenario
1. Start backup process with connection to the RHEV Manager host.
2. Create consistent snapshot of virtual machine with RHEV Manager backup API.
3. Mount snapshot to Sesam DataMover VM (SEP sesam Remote Device Server) wich is direct connected to a storage device via SAN.
4. Transfer snapshot from Sesam DataMover VM (SEP sesam Remote Device Server) to connected storage via SAN.
5. Store Snapshot on connected storage devices (Sesam DataStore, Sesam Si3 DedupeStore, Autoloader).
LAN free backup
Rhev-san-bck.jpg

Installing RHEV Backup Client

In order to use the RHEV backup module a SEP sesam client with additional components must be installed on a virtual machine running RHEL 7 OS inside the RHEV environment.

Step

1. Install the downloaded SEP sesam client package on the RHEL 7 OS.

rpm -ihv sesam_cli-4.4.xxx.rhel7.x86_64.rpm

Preparation of SEP sesam Backup Server

Before you start with the configuration of the backup client the following steps have to be done to prepare the backup server.

Steps

1. Login via SSH and root rights to your backup server and source the sesam profile:

source /var/opt/sesam/var/ini/sesam2000.profile

2. Set the global variable for multi restore:

sm_glbv w gv_multi_restore 1

Configuring RHEV Backup Client as Data Mover

Now the virtual machine with installed sesam client must be added with the SEP sesam server GUI. This client acts as the data mover for backups.

Steps

1. In the Main Selection -> Components -> Topology, select the location of your choice (e.g. RHEV) and click the New client button. The New client window appears.

2. Enter the Client Name.

Information sign.png Note

The datamover must have the same name as the VM in RHEV has! Means the RHEV virtual machine name for the datamover must be the same as hostname for sesam client.

3. From the Platform drop-down list select Unix, and from the Operating system select Linux.

Rhev-data-mover.jpg


Click OK to add the new client.

Configuring RHEV Manager as Client

The RHEV Manager must be added as client.

Note:

It is not necessary to install a SEP sesam client on the RHEV Manager system.

Steps

1. In the Main Selection -> Components -> Topology, select the location of your choice (e.g. RHEV) and click the New client button. The New client window appears.

2. Enter the Client Name.

3. From the Platform drop-down list select Unix, and from the Operating system select Linux.

4. Change the Access Mode from CTRL to PROXY.

5. Change the VM Server Type to RHEV-Management-Server.

Rhev-m.jpg


6. Select the RHEV Access tab and enter Account, Password and Data Mover.

Rhev-access.jpg


Backing up RHEV Virtual Machines

Now we have to create new backup tasks for the RHEV Manager client.

Steps

1. In the Main Selection -> Tasks -> By clients, select the RHEV Manager client and then click New backup task. The New backup task window appears.

2. Specify the Source of the virtual machine you want to backup. By selecting the source, the task type and task name are set automatically.

Rhev-browse.jpg


Excluding Disks

Disks can be excluded by specifying the disks name in the exclude section of the backup task. As exclude the logical disk name as shown in the RHEV managment center has to specified in the exclude list. Multiple disks can be excluded by beeing seperated, example: "disk_name1,disk_name2"


Click OK to create the task.
Rhev-task.jpg


3. 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 schedule the task, click New schedule in the Main Selection -> Scheduling -> Schedules.

4. Check backup status in SEP sesam GUI under (Main Selection) Job State -> Backups.

Result.jpg


Tip: You can also add your backup task to an already existing schedule by double-clicking the backup task, selecting the tab Schedules and adding it to one or more schedules.

Once you configured a schedule, you need to create a new backup event for it. Go to the Main Selection -> Scheduling -> New Backup Event, click the Parameter tab and select COPY backup from the Backup Level drop-down list. Note that COPY is the only supported backup level for SEP sesam RHEV clients! For more information on Schedules and related events, see Creating a Schedule.

Adding a task to the task group

Optionally, you can add your tasks for individual node or individual VM to a task group and enable triggering all tasks at once with a single event.

1. In the Main Selection -> Tasks -> By groups, click New task group. The New task group window appears.

2. Enter the Group name. Under the Tasks for this group select the tasks (from the list of all available tasks on the left) and add them to your newly created task group list.

3. If you want to start backups for the task group immediately, right-click the name of the task group and click Immediate start. If you want to schedule the task group, click New schedule in the Main Selection -> Scheduling -> Schedules.
Tip: If you already have a configured schedule, you can link your task group to it by clicking the Schedule tab in the Task group properties window.

Once you configured a schedule, you need to create a new backup event for it. Go to the Main Selection -> Scheduling -> New Backup Event, click the Parameter tab and select COPY backup from the Backup Level drop-down list. Note that COPY is the only supported backup level for SEP sesam RHEV clients! For more information on Schedules and related events, see Creating a Schedule.

Restoring RHEV Virtual Machines

Now we have to create new restore tasks for the RHEV Manager client.

Steps

  1. Start the Restore Wizard from Main Selection and select the RHEV backup task you want to restore.
  2. Rhev restore1.jpg
  3. Select the RHEV backup saveset you want to restore.
  4. Rhev restore2.jpg
  5. Select the target virtual machine name you want to restore the virtual machine to.
  6. Rhev restore3.jpg
  7. Optionally, if the virtual machine should be restored with a different name select the option New restore Target and enter a different virtual machine name.
  8. As of v. 4.4.3 Tigon, you can use the dd utility to create a thin-provisioned (sparse) disk file, thus restoring only the actual size of the VMs: Click the Expert Options button and enter the following under the Restore Options: -a use_dd
  9. RHV restore-expert options.png
  10. If you want to start your restore immediately, click Start. If you want to save the restore task, click Save.
Information sign.png Note
A restore task can be scheduled like any other task. If you want to add a restore task to the schedule, see Scheduling Restore.

You can view the status of your restore jobs by selecting Job state -> Restore from the Main selection. Restore overview provides detailed information on the last run of restore jobs, including the task name, status (successful, error, in queue ...), start and stop time of the last backup, data size, throughput, client and message.

Troubleshooting

For troubleshooting Red Hat Enterprise Linux issues, see Troubleshooting Red Hat Enterprise Linux.