User Tools

Site Tools


public:vmware

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
public:vmware [2017/03/17 19:08]
yuk.cheng
public:vmware [2019/08/16 15:12]
ronnie.chan
Line 1: Line 1:
 +====== VMware Backup Set ======
  
 +AhsayOBM allows you to back up individual Guest virtual machines (VMs) on your VMware hosts with our VMware Backup Set. VMware Guest VM backup module of AhsayOBM provides you with a set of tools to perform hot backup of your running VMs in VMware environment. ​
 +
 +When you need to restore a VM, besides restoring the whole VM image, you can also utilize the built-in Run Direct feature to spin-up the VM in minutes without the need to restore the whole VM first. Moreover, our Granular Restore feature allows you to mount the virtual disks in a backed up VM and restore individual files within the VM without the need to spin-up the VM first.  ​
 +
 +{{public:​ahsay_wiki_vmware_backup_set.png?​640}}
 +
 +----
 +
 +===== System Architecture =====
 +Below is the system architecture diagram illustrating the major elements involved in the backup process among the VMware server, AhsayOBM and AhsayCBS. ​
 +In this user guide, we will focus on the software installation,​ as well as the end-to-end backup and restore process using the AhsayOBM as a client backup software.
 +
 +{{public:​ahsay_wiki_module_vmware_system_architecture.png?​800}}
 +
 +----
 +
 +===== Instant VM Restore with Run Direct =====
 +
 +==== What is Run Direct?====
 +Run Direct is a feature that helps reduce disruption and downtime of your production VMs.  ​
 +Unlike normal VM restore procedure where a VM is extracted from backup files and copied to the production storage, which can take hours to complete. ​ Restore with Run Direct can instantly power up a VM by running it directly from the backup files in the backup destination and the VM can be put into production. ​
 + 
 +==== How does Run Direct work? ====
 +When a Run Direct restore is performed, the backup destination is mounted as an NFS datastore from the VMware host, where the VM is run directly from the backup files. ​
 +
 +{{public:​ahsay_wiki_module_vmware_system_architecture_2b.png?​640}}
 +
 +The backup destination can either be the AhsayCBS server or a local drive that can connect with AhsayOBM. Initiating a Run Direct from the AhsayCBS (also known as agentless restore) will trigger a connection directly with the VMWare host (ESXi server and the direction shown in orange indicator below), while initiating the same action on the AhsayOBM requires the connection to route through the OBM (shown in green indication below). ​
 + 
 +The restored virtual machine, at this stage (e.g. before the restore is finalized) is in a read-only state to preserve its integrity. ​ All changes made to the virtual disks (e.g. operation within the guest virtual machine) are stored separately in transaction logs stored on the NFS datastore or the original datastore, depending on the setting selected. These changes are discarded when Run Direct is stopped, where the restored VM will be removed and all changes will be discarded, or the changes will be consolidated with the original virtual machine data when the restore is finalized.
 +
 +The restored virtual machine, at this stage (e.g. before the restore is finalized) is in a read-only state to preserve its integrity. ​ All changes made to the virtual disks (e.g. operation within the guest virtual machine) are stored separately in transaction logs stored on the NFS datastore or the original datastore, depending on the setting selected. These changes are discarded when Run Direct is stopped, where the restored VM will be removed and all changes will be discarded, or the changes will be consolidated with the original virtual machine data when the restore is finalized.
 +
 +==== Settings Differences between Run Direct and Non-Run Direct Backup Set on VMware ====
 +^      ^ Run Direct Backup Set       ^ Non-Run Direct Backup Set          ^
 +| Encryption ​   | No     | Yes        |
 +| Compression ​   | No     | Yes        |
 +| VDDK (CBT)    | Yes     | Yes        |
 +| AhsayCBS ​   | Yes     | Yes        |
 +| Local Destination ​   | Yes     | Yes        |
 +| Cloud Destination ​   | No     | Yes        |
 +
 +==== Finalizing a VM Recovery (Migrating VM to permanent location) ====
 +To finalize recovery of a VM, you will still need to migrate it to a permanent location on the VMware host.  The following steps are taken when you finalize a Run Direct restore:
 +
 +=== 1). VMware Snapshot ===
 +A VMware snapshot is created for the VM
 +
 +=== 2). Copying Files ===
 +Backup files from the NFS datastore are copied to the production datastore on the VMware host.
 +
 +=== 3). Copying Changes ===
 +Changes made to the VM after the snapshot creation are moved to the new location.
 +
 +=== 4). Data Consolidation ===
 +The VM is temporarily suspended to consolidate the changes made after the snapshot creation.
 +
 +=== 5). Resume VM ===
 +After all changes are consolidated,​ the VM is resumed.
 +
 +=== 6). Dismount NFS datastore ===
 +The NFS datastore is dismounted.
 +
 +<WRAP prewrap>
 +<​code>​
 +NOTE
 +For vCenter VM backup set, provided that the vMotion feature of the vCenter set is working properly, the VM will not be suspended during the data consolidation.
 +</​code>​
 +</​WRAP>​
 +
 +----
 +
 +===== Backup Mode =====
 +There are two backup modes available for VM backup:
 +
 +==== VDDK Backup Mode ====
 +For VM on VMware host on Enterprise Standard, Enterprise and Enterprise Plus Edition, backup is performed in VDDK mode. Backup in VDDK mode produces a backup chain that consists of a full VDDK file and a set of VDDK incremental files.
 +
 +  * During the first backup, full files (*.F.vddk) are created in the backup destination.
 +  * During subsequent backup, Changed Block Tracking (CBT) - a VMware [[https://​kb.vmware.com/​kb/​1020128|native feature]] is employed, to identify disk sectors altered since the last backup. ​ Altered blocks are saved as incremental VDDK file (*.I.vddk) in the backup chain. ​
 +
 +During a subsequent backup in VDDK mode, AhsayOBM queries CBT through VADP (vSphere APIs for Data Protection) to request for transmission of all altered blocks since the last backup.
 +As there is no need to stream the VM files to the Backup Client Computer for delta generation, backup in VDDK mode will greatly enhance the speed of subsequent backup.
 +
 +| **Pro** ​   | Faster backup speed for subsequent backups compared to non-VDDK backup, as a result of backing up only the used size of your VM instead of the entire machine to enhance backup efficiency. This also helps with minimizing the storage size requirement and saving storage cost.       |
 +| **Con** ​   | Require paid license, i.e. VMware Essentials License for usage of vSphere API.     |
 +
 +==== Non-VDDK Backup Mode ====
 +For VM on VMware host on Enterprise Standard, Enterprise and Enterprise Plus Edition, backup is performed in VDDK mode. Backup in VDDK mode produces a backup chain that consists of a full VDDK file and a set of VDDK incremental files.
 +
 +  * During the first backup, full files (e.g. virtual disk file (*.vmdk)) are created in the backup destination.
 +  * During subsequent backup, In-file delta - an AhsayOBM feature is employed, to track only data blocks that have change since the last backup. ​ All changed data blocks are saved as incremental / differential delta files in the backup chain.  ​
 +
 +During a subsequent backup in non-VDDK mode, VM files are streamed to the Backup Client Computer, for delta generation:
 +
 +| **Pro** ​   | Free version of ESXi is supported. ​      |
 +| **Con** ​   | Slower backup speed for subsequent backup compared to VDDK backup, as a result of having the entire VM backed up every time regardless of the actual used size.     |
 +
 +==== Comparison between VDDK and Non-VDDK Modes ====
 +^       ^ VDDK (CBT)      ^ Non-VDDK ​         ^
 +| **Full Backup** ​   | Used data size of guest     | Provisioned data size of guest        |
 +| **Incremental / Differential** ​    | Generated by VMware Host using CBT     | Generated by AhsayOBM on the staging machine using in-file delta        |
 +| **Storage Size** ​   | Uses less storage quota     | Uses more storage quota        |
 +| **Storage Cost** ​   | Lower storage cost     | Higher storage cost        |
 +| **Backup Speed** ​   | Faster backup speed due to smaller data size     | Slower backup speed due to larger data size        |
 +| **Run Direct Support** ​   | Yes     | No        |
 +| **Restore from VDDK to VMDK format** ​   | Yes     | No        |
 +| **Granular Restore** ​   | Yes     | Yes        |
 +| **AhsayOBM on Windows Platform** ​   | Yes     | Yes        |
 +| **AhsayOBM on Non Windows Platform** ​   | No     | Yes        |
 +
 +----
 +
 +===== Requirements =====
 +
 +==== Hardware Requirement ====
 +  * Refer to this [[public:​8000_faq:​ahsay_hardware_requirement_list_hrl_for_version_8.1_or_above|Hardware Requirement List]] for the list of hardware requirements for AhsayOBM.
 +
 +==== Software Requirement ====
 +  * Refer to this [[public:​8062_faq:​ahsay_scl_for_granular_and_opendirect_restore_v8|Software Compatibility List for Granular Restore]] in VMware backup sets.
 +
 +==== Antivirus Exclusion Requirement ====
 +  * To optimize performance of AhsayOBM on Windows, and to avoid conflict with your antivirus software, refer to [[public:​8014_faq:​suggestion_on_antivirus_exclusions|this article]] for the list of processes and directory paths that should be added to all antivirus software white-list / exclusion list.
 +
 +<WRAP prewrap>
 +<​code>​
 +NOTE
 +For AhsayOBM version 8.1 or above, the bJW.exe process is automatically added to Windows Defender exclusion list for Windows 10 and 2016, during installation / upgrade via installer or upgrade via AUA. 
 +</​code>​
 +</​WRAP>​
 +
 +==== VMware vCenter / ESXi Server Requirements ====
 +For backup of virtual machines on vCenter / ESXi servers, make sure the following requirements are met.
 +
 +=== ESXi / vCenter Patch Release ===
 +Make sure that the latest supported patch release is installed on the vCenter / ESXi hosts to prevent critical issue, such as [[https://​kb.vmware.com/​kb/​2090639|corruption to change tracking data in certain situation]].
 +
 +=== License Specification ===
 +
 +  * Paid License (VMware Essentials License or above): VMware ESXi and vCenter v5, v5.5, v6 , v6.5 and v6.7
 +  * Free License: VMware ESXi v5, v5.5, v6 , v6.5 and v6.7
 +
 +=== ESXi Shell Access ===
 +
 +  * ESXi Shell access must be enabled on the ESXi servers. ​ Refer to the following VMware KB article for instruction:​ [[https://​kb.vmware.com/​kb/​2004746]]
 +  * Consult with VMware support representatives if you are unsure on the process.
 +
 +
 +===== Documentation =====
 +
 +  * [[https://​www.ahsay.com/​download/​download_document_v8_obm-user-guide-vmware.jsp|VMware Backup and Restore Guide]]
 +
 +===== FAQs =====
 +
 +  * [[public:​5048_faq:​how_to_create_a_vmware_backup_set_to_be_used_with_the_run_direct_feature|How to create a VMware backup set to be used with the Run Direct feature?]]
 +  * [[public:​5049_faq:​how_to_instantly_startup_a_vmware_virtual_machine_with_the_run_direct_feature_with_migration|How to instantly startup a VMware virtual machine with the Run Direct feature (with migration)?​]]
 +  * [[public:​5050_faq:​how_to_instantly_startup_a_vmware_virtual_machine_with_the_run_direct_feature_without_migration|How to instantly startup a VMware virtual machine with the Run Direct feature (without migration)?​]]
 +
 +===== Issues =====
 +
 +  * [[public:​5072_issue:​incorrect_error_message_another_backup_job_is_still_running_is_displayed_vmware_vm_backup|Incorrect error message '​Another backup job is still running'​ is displayed (VMware VM backup)]]
 +  * [[public:​5083_issue:​vmware_vm_backup_job_cannot_run_to_completion_for_backup_set_with_backup_schedule_disabled|VMware VM backup job cannot run to completion (for backup set with backup schedule disabled)]]
 +  * [[public:​5205_issue:​guest_virtual_machines_are_not_shown_in_ahsayobm_backup_source_when_creating_a_vmware_workstation_backup_set|Guest virtual machines are not listed in AhsayOBM backup source when creating a VMware Workstation backup set]]
 +  * [[public:​5206_issue:​cannot_connect_ssh_please_check_the_ssh_settings_error_when_creating_a_backup_set_on_a_vmware_esxi_6.0_update_2_host|"​Cannot connect SSH, please check the SSH settings"​ error when creating a backup set on a VMware ESXi 6.0 Update 2 host]]
 +  * [[public:​5222_issue:​vmware_esxi_vcenter_vm_cannot_start_up_properly_with_operation_system_not_found_error_run_direct_restore_failing_where_the_backup_destination_is_located_on_a_network_drive|VMware VM cannot start up properly with Operation System not found error (Run Direct restore failing when the backup destination is located on a network drive)]]
 +  * [[public:​5232_nfs_service_on_this_machine_is_not_started|When perform a VMware Run Direct restore on AhsayOBM the following error is shown “The NFS Service on this machine is not started or not functioning properly. This service is required for VM Run Direct. ]]
 +  * [[public:​5234_issue:​cannot_connect_ssh_please_check_the_ssh_settings_error_when_creating_a_backup_set_on_a_vmware_esxi_host|"​Cannot connect SSH, please check the SSH settings"​ error when creating a backup set on a VMware ESXi host]]
 +  * [[public:​5240_issue:​unable_to_find_vmrun.exe_in_c:​program_files_x86_vmware_vmware_player_or_c:​program_files_x86_vmware_vmware_vix_when_creating_a_vmware_workstation_backupset|Unable to find vmrun.exe in "​‘C:​\Program Files (x86)\VMware\VMware Player’ or ‘C:​\Program Files (x86)\VMware\VMware VIX’” when creating a VMware Workstation BackupSet ]]
 +  * [[public:​5243_issue:​the_specified_virtual_machine_could_not_be_found._warning_is_shown_on_vmware_workstation_scheduled_backup_job|ISSUE:"​The specified virtual machine could not be found."​ warning is shown on VMware Workstation scheduled backup job]]
 +  * [[public:​5244_issue:​reason_uuid_conflict_on_virtual_machine._error_is_shown_on_vmware_esxi_backup_job|ISSUE:"​Reason = "UUID conflict on Virtual Machine."​ error is shown on VMware ESXi backup job]]
 +  * [[public:​5245_issue:​vmware_esxi_scheduled_backup_job_missed_with_current_license_or_esxi_version_prohibits_execution_error|VMware ESXi scheduled backup job missed with '​Current license or ESXi version prohibits execution'​ error]]
 +  * [[public:​5252_issue:​vmware_esxi_vcenter_vddk_mode_backup_job_ends_with_error_snapshot_not_taken_since_the_state_of_the_virtual_machine_has_not_changed_since_the_last_snapshot_operation|VMware ESXi/​vCenter VDDK mode backup job ends with "​Error=Snapshot not taken since the state of the virtual machine has not changed since the last snapshot operation."​]]
 +  * [[public:​5257_issue:​hostname_cannot_be_empty_error_is_shown_when_starting_vmware_esxi_vcenter_run_direct_restore_from_ahsaycbs_user_web_console|“Hostname cannot be empty” error is shown when starting VMware Run Direct restore from AhsayCBS web console]]
 +  * [[public:​5265_issue:​failed_to_restore_new_virtual_machine_._reason_fail_to_set_entity_permission._error_unknown_error_from_class_com.vmware.vim25.usernotfound_when_restoring_a_guest_vm_to_another_vmware_esxi_host|ISSUE:"​Failed to restore "New Virtual Machine"​. Reason = "Fail to set entity permission. Error=Unknown error from class "​com.vmware.vim25.UserNotFound"​ when restoring a guest VM to another VMware ESXi host]]
 +  * [[public:​5267_issue:​no_backup_set_can_start_run_direct_message_shown_when_initiating_a_vmware_esxi_vcenter_run_direct_restore_on_ahsaycbs_user_web_console|ISSUE:"​No backup set can start Run Direct"​ message shown when initiating a VMware ESXi/​vCenter Run Direct restore on AhsayCBS user web console]]
 +  * [[public:​5268_issue:​ip_address_xxx.xxx.xxx.xxx_of_the_virtualcenter_server_managing_this_host._please_either_connect_this_host_through_it_or_disconnect_this_host_from_it._error_is_shown_when_creating_a_vmware_esxi_backup_set|"​IP address "​xxx.xxx.xxx.xxx"​ of the VirtualCenter server managing this host. Please either connect this host through it or disconnect this host from it." error is shown when creating a VMware ESXi backup set]]
 +  * [[public:​5270_issue:​cloudexception.connectfailedexpt_sftpmanager.login_failed_to_access_sftp_error_when_create_vmware_esxi_backup_set|"​[CloudException.ConnectFailedExpt[SFtpManager.login] Failed to access SFTP" error when create VMware ESXi backup set]]
 +  * [[public:​5275_issue:​falied_to_list_file_the_media_is_write_protected._when_mounting_a_vmware_esxi_vcenter_window_10_guest_vm_virtual_disk_using_granular_restore|ISSUE:"​Falied to list file (the media is write protected"​ when mounting a VMware ESXi/​vCenter Window 10 guest VM virtual disk using Granular Restore]]
 +  * [[public:​5260_issue:​access_is_denied_error_when_restoring_files_folders_using_granular_restore|"​Access is denied"​ error when restoring files/​folders using Granular Restore]]
public/vmware.txt · Last modified: 2022/11/28 11:11 by kirk.lim

Page Tools