5 0 0:Nutanix AHV Backup
As of SEP sesam v. 5.0.0 Jaglion, SEP sesam provides efficient data protection for Nutanix Acropolis Hypervisor (AHV). The Nutanix AHV module is supported on SEP sesam Linux Server and on SEP sesam Windows Server, using a Linux Client as a data mover.
You can easily back up and restore Nutanix AHV VMs in the SEP sesam GUI. SEP sesam uses changed block tracking (CBT) mechanism to provide support for all backup levels (FULL, INCR, DIFF and COPY) and better backup performance. It also provides disk exclusions for backups. Currently, only one VM can be backed up with the same task.
Note that you can simplify the backup of multiple Nutanix VMs by automatically creating tasks for VMs that are connected to the same host; you can also automatically create clients for VMs to which the created tasks and ACLs can be assigned. It is recommended to use these features when a new hypervisor is added and many new VMs need to be backed up. For details, see Automating Backup Process.
Nutanix snapshot types
SEP sesam for Nutanix AHV supports both types of Nutanix snapshots: crash-consistent and application-consistent snapshots, which differ in consistency of the captured data. Which backup is performed depends on the Nutanix configuration.
- Crash-consistent snapshots
- If the source VM does not meet the Nutanix criteria for application-consistent snapshots, SEP sesam creates a crash-consistent backup that runs with a warning: A crash-consistent backup is performed because there are no guest tools installed on the virtual machine. For more details, see the Special arguments section below.
- Application-consistent snapshot
- If the source VM meets the Nutanix requirements for an application-consistent snapshot, such as an installed Nutanix Guest Tool, SEP sesam creates an application-consistent backup. For details on the requirements for application-consistent snapshots, see the official Nutanix documentation Conditions for Application-consistent Snapshots in the Prism Web Console Guide.
- Check SEP sesam OS and Database Support Matrix for the list of supported Nutanix AHV versions.
- Nutanix AHV license, see Licensing.
- SEP sesam Linux Server v. 5.0.0 Jaglion or higher. Check Hardware requirements for SEP sesam Server and SEP sesam Client.
- Installed SEP sesam Linux Client v. 220.127.116.11 for data mover.
- Depending on the transport mode used, you may need to install the open-iscsi administration utility (iscsiadm) on the SEP sesam Linux Client for data mover. This utility is only required for the iSCSI client connection (and not for HotAdd transport mode).
For example, to install the utility on Debian, use the following command:
apt-get install open-iscsi
To install iscsi on RHEL, use:
yum install iscsi-initiator-utilsThe iSCSI initiator on SLES 12 is installed by default (packages
yast2-iscsi-client). If you have to install it manually, see How To Configure iSCSI Initiator on SLES.
SEP sesam data mover for Nutanix AHV
A SEP sesam data mover is required to perform a SEP sesam backup and restore in a Nutanix AHV environment. A data mover role for Nutanix AHV can be combined either with a SEP sesam Linux Server or Linux Client (for SEP sesam Windows Server), or in the case of using HotAdd transport mode, the data mover must be a SEP sesam Client installed on Nutanix. Each of them can serve as SEP sesam data mover to transfer (send or receive) data between SEP sesam Server and Nutanix AHV.
Note that your data mover must match the version of your SEP sesam Server. This means that you need to update the data mover to the same version as your SEP sesam Server every time you update the server.
To ensure efficient data protection and restorability of your data, configure your Nutanix data mover with a fully qualified domain name (FQDN). This step should be performed before adding your Nutanix AHV as a client to the SEP sesam environment.
To verify that your data mover is configured correctly, follow these steps:
- From the Main selection -> Components -> Clients, double-click your data mover for Nutanix.
- Check the Interfaces field: make sure that a fully qualified domain name (FQDN) is specified for your client. If the FQDN is not yet specified, enter it on a new line, e.g, dm_ntx_comp.de, and click OK to apply the changes.
- Ensure that the FQDN is resolvable by using sm_setup tool from the command line. For syntax details, see Using sm_setup check_resolution. The returned addresses and hostnames must match. If the reverse resolve returns a different name than the name specified on the command line, there will be problems with backing up the client.
- A regular path backup has to work. For details on typical backup configuration, see Standard Backup Procedure.
SEP sesam supports the following transport modes for backing up and restoring Nutanix AHV data:
- By default, an iSCSI session is established to back up Nutanix virtual disks. For each virtual disk of a VM that is backed up, an iSCSI client connection is established from SEP sesam data mover to the Nutanix volume group.
SEP sesam data mover reads disk data over the iSCSI connection during backup. During restore, data mover writes data to virtual disks over the iSCSI connection. When the backup/restore operation is complete, the iSCSI connection is closed.
- HotAdd transport mode: If SAN is not available, HotAdd mode can achieve performance close to that of SAN mode. To use HotAdd mode, specify it in the Backup options/Restore options field ("-a trans=hotadd") as shown in the backup task procedure (step 4). There are special requirements for using the HotAdd mode:
- A Linux VM (hotadd proxy VM) must be installed on the Nutanix cluster, and the hotadd proxy VM on Nutanix AHV that will serve as the data mover must have the SEP sesam Client installed.
- The VM name of this proxy VM (data mover) must be a fully qualified domain name (FQDN). For more information, see the section above SEP sesam data mover for Nutanix AHV.
Adding Nutanix AHV as a client to SEP sesam environment
To protect your virtual machines, you must configure your Nutanix AHV as a SEP sesam Client.
- From Main Selection -> Components -> Topology, select the relevant location and click the New Client button. The New Client window opens.
- From the Platform drop-down list, select Linux. When you select the platform, the Linux operating system is automatically set.
- Select the Virtualization server check box, and then select Nutanix-AHV from the Virtualization server type drop-down list. Note that the access mode is automatically set to PROXY.
- Switch to the tab Nutanix-AHV Access and enter the root/admin credentials for Nutanix. From the Data Mover drop-down list, select the data mover. The VM name of the proxy VM (data mover: SEP sesam Linux Server or Linux client (for SEP sesam Windows Server) must be a fully qualified domain name (FQDN). For more information, see the above section SEP sesam data mover for Nutanix AHV.
- Click OK to add the new client.
Backing up Nutanix AHV VMs
Create a new backup task for the Nutanix AHV client that contains the virtual machines. Note that you can configure only one VM per backup task. For details on general backup configuration, see Standard Backup Procedure.
- From Main Selection -> Tasks -> By Clients, select the Nutanix AHV client and click New Backup Task. The New Backup Task window opens.
- Specify the Source. Click the Browse button (large arrow) and select the VM you want to back up. Note that you can only select one VM per backup task. Selecting the source automatically sets the Nutanix-AHV task type and task name.
- Optionally, in the Exclude list, select one or more virtual disks that you do not want to back up by using the large Browse button (next to the Source and Exclude fields) and selecting the source(s) to exclude. The excluded disks will be displayed in the Exclude field, e.g., -x scsi.1,sata.1,sata.2.
- Perform this step only if you want to change the transport mode to HotAdd: Switch to the Options tab and enter the following in the Backup options field to change the transport mode to HotAdd:
- If you want to specify other options, such as the pre/post backup and restore commands, encryption or compress data, etc., click the corresponding tabs in the New Backup Task window.
- Click OK to create the task.
- If you want to start the newly created task immediately, right-click the task name and click Immediate Start. If you want to schedule the task, click New schedule at Main Selection -> Scheduling -> Schedules. For more details, see Creating a Schedule.
- After you configure a schedule, you must create a new backup event for it. Go to Main Selection -> Scheduling -> New Backup Event, click the Parameter tab and select the appropriate backup level from the Backup level drop-down list (FULL, INCR, DIFF, or COPY). For a detailed procedure, see Creating a Backup Event.
|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.|
If there is no Nutanix Guest Tool installed on the VM (see above section Nutanix snapshot types), the backup will run with a warning: A crash-consistent backup is performed because there are no guest tools installed on the virtual machine.
This is the default setting used in accordance with the Nutanix certification process, which requires that a backup of a VM with no guest tools installed (NGT) finishes with a warning, if the -a qui value is not set by the user (default: -a qui=1). You can set the following values:
|-a qui=0||Switches off the warning (see next line) about a crash consistent backup if a VM has no guest tools installed.|
|-a qui=1||Default; a backup of a VM with no guest tools installed will end with a warning: A crash-consistent backup is performed because there are no guest tools installed on the virtual machine.|
|-a qui=2||If the VM has no guest tools installed, the backup fails with the error: There are no guest tools installed on the virtual machine and -a qui=2 is set. For VMs with this setting, only application-consistent backups are allowed.|
You can view the status of your backup jobs in the GUI (Monitoring -> Last Backup State or Job State -> Backups) or SEP sesam Web UI. The backup status overview provides detailed information about 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.