第6步。指定恢复验证选项和测试
You must specify verification options for every VM from the jobs linked to the SureBackup job:
- Select a role that a VM performs
- Configure VM startup settings
- Select tests that must be performed for the VM
- Specify credentials for running the verification script
If all VMs in the linked job perform the same role, you can specify startup options and test settings for the whole job in bulk. If VMs have different roles, you can granularly specify startup options and test settings for each VM in the job.
- To specify startup options and select tests for the whole job, select the job in the list and click Edit on the right.
- To specify startup options and select tests for every VM in the job separately, select the job in the list and click Advanced on the right. Click Add and select the necessary VM in the Add Objects window. Select the added VM in the list, click Edit and specify settings as described below.
Important |
If you specify startup options and tests individually for a VM, Veeam Backup & Replication will apply these options and tests only. Options and tests specified at the level of the SureBackup job will be ignored for this VM. |
- DNS Server
- Domain Controller (Authoritative Restore). In the Authoritative Restore mode, Veeam Backup & Replication starts a domain controller in the virtual lab and marks it as being authoritative to its replication partners. When other domain controllers (replication partners) are started in the virtual lab, they replicate data from the domain controller started in the Authoritative Restore mode.
- Domain Controller (Non-Authoritative Restore). In the Non-Authoritative Restore mode, Veeam Backup & Replication restores a domain controller in the virtual lab and marks it as being non-authoritative to its replication partners. Non-authoritative domain controllers then replicate data from a domain controller started in the Authoritative Restore mode.
- Global Catalog
- Mail Server
- SQL Server
- Veeam Backup for Microsoft Office 365 (machine on which Veeam Backup for Microsoft Office 365 is installed)
- Web Server
VM roles are described in XML files stored in the %ProgramFiles%\Veeam\Backup and Replication\Backup\SbRoles folder on the backup server. You can add your own roles. To do this, you need to create a new XML file and specify role and test scripts settings in it. For more information, see Creating XML files with VM Roles Description.
After you select the necessary role, Veeam Backup & Replication will automatically configure startup options and provide predefined test scripts applicable for the chosen role. You can use these settings or specify custom ones on the Startup Options and Test Scripts tabs.
To verify VMs that perform roles other than those specified in the list, you will have to manually configure startup options and specify test scripts to be run against these VMs.
To specify VM startup settings:
- Click the Startup Options tab.
- In the Memory section, specify the amount of memory that you want to pre-allocate to the VM on the system boot. The amount of pre-allocated memory is defined in percent. The percentage rate is calculated based on the system memory level available for the production VM. For example, if 1024 MB of RAM is allocated to the VM in the production and you specify 80% as a memory rate, 820 MB of RAM will be allocated to the verified VM on startup.
- VM heartbeat is present. If you select this option, Veeam Backup & Replication will perform a heartbeat test for the verified VM.
- VM responds to ping on any network interface. If you select this option, Veeam Backup & Replication will perform a ping test for the verified VM.
Note |
Veeam Backup & Replication performs a heartbeat test for VMs that have Hyper-V Integration Services installed. If Hyper-V Integration Services are not installed, the VM will be started but tests will not be performed. |
- Click the Test Scripts tab.
- Click Add.
- In the Test Scripts window, select Use the following test script.
- In the Name field, specify a name for the script.
- In the Path field, define a path to an executable script file that should be run to verify the VM.
- If you have your own custom script, define a path to it in the Path field.
- If you do not have a custom script, you can use Veeam’s standard utility, Veeam.Backup.ConnectionTester.exe, that probes application communication ports. The utility is located in the installation folder of Veeam Backup & Replication: %ProgramFiles%\Veeam\Backup and Replication\Backup\Veeam.Backup.ConnectionTester.exe. Specify this path in the Path field.
For Microsoft SQL Server, you can also specify a path to the log file in the %log_path% argument. For more information, see Backup Recovery Verification Tests.
- Click OK to add the configured test.
To edit test settings, select the test in the list and click Edit. To delete a test, select it in the list and click Remove.
Note |
If a VM performs several roles and runs a number of applications, you can verify their work by adding several verification scripts. It is recommended that you specify the maximum startup timeout value and allocate the greatest amount of memory for such VMs. |
- Click the Credentials tab.
- From the Credentials list, select credentials for the account under which you want to run the script.
If you have not set up credentials beforehand, click the Manage accounts link or click Add on the right to add the credentials. For more information, see Managing Credentials.